Skip to content

Conversation

Tansito
Copy link
Member

@Tansito Tansito commented Sep 8, 2025

Summary

This PR implements the main required changes in the DB to support the new functionality around Workflows.

The main changes are:

  • A new ProgramStep model where will live the definition of the different steps of the Function
  • A new Workflow model where we will instantiate the Function and the generated Jobs to execute the Workflow
  • Job table is modified to support the reference to Workflow and other jobs as dependencies

The relationships between these new entities would be:

  • A Program can contain a set of ProgramSteps
  • Steps can depends on another steps as a way to draw a dependency graph
  • A Program will generate multiple Workflows and a Workflow can only be owned by one function
  • A Workflow it's a way to groups jobs but Job doesn't need to be managed by a Workflow specifically
Screenshot 2025-09-08 at 3 53 32 PM

@Tansito Tansito marked this pull request as ready for review September 9, 2025 14:25
@Tansito Tansito requested a review from a team as a code owner September 9, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants