-
Notifications
You must be signed in to change notification settings - Fork 0
feat: workflow composition — workflow/run connector (#54) #120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 6 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
5a492a1
feat(db): add migration and config for workflow composition (#54)
michaelmcnees f706760
feat(engine): workflow/run connector for workflow composition (#54)
michaelmcnees 591a99d
feat(cli): recursive cancellation cascade for workflow composition (#54)
michaelmcnees 1761279
feat(cli): show child workflow details in logs and status (#54)
michaelmcnees 7d5ad80
docs: document workflow/run connector for workflow composition (#54)
michaelmcnees 712c8f7
test: integration tests for workflow composition (#54)
michaelmcnees 50623c8
fix: lint, transactional cancel, execution tree, cancellation check (…
michaelmcnees 594c72f
merge: resolve conflicts with main (v0.4.0 + env-map)
michaelmcnees 04bded2
fix: preorder tree display, audit before commit, deeper cancellation …
michaelmcnees 8655bcd
fix: safe assertions, tx-consistent reads, atomic status update, team…
michaelmcnees 165acd5
fix: cancel.go CTE dedup, ErrNoRows distinction, step audit events; t…
github-actions[bot] 1c08927
fix: propagate DB errors in cancellation checks, remove unimplemented…
github-actions[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
packages/engine/internal/db/migrations/016_workflow_composition.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| -- +goose Up | ||
| ALTER TABLE workflow_executions ADD COLUMN parent_execution_id UUID REFERENCES workflow_executions(id); | ||
| ALTER TABLE workflow_executions ADD COLUMN parent_step_name TEXT; | ||
| ALTER TABLE workflow_executions ADD COLUMN depth INTEGER NOT NULL DEFAULT 0; | ||
| CREATE INDEX idx_workflow_executions_parent ON workflow_executions(parent_execution_id) WHERE parent_execution_id IS NOT NULL; | ||
|
|
||
| -- +goose Down | ||
| DROP INDEX IF EXISTS idx_workflow_executions_parent; | ||
| ALTER TABLE workflow_executions DROP COLUMN IF EXISTS depth; | ||
| ALTER TABLE workflow_executions DROP COLUMN IF EXISTS parent_step_name; | ||
| ALTER TABLE workflow_executions DROP COLUMN IF EXISTS parent_execution_id; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.