-
Notifications
You must be signed in to change notification settings - Fork 94
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
Flow trigger CLI and defaults #4739
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
4a0399a
Implement trigger command --flow arg.
hjoliver 3f7e946
Upgrade old reflow tests.
hjoliver 40d52e6
Add flow-trigger func tests.
hjoliver 0ee756d
Fix integration test.
hjoliver 83b9b71
Add doctest unit tests.
hjoliver 1001b91
Remove func test replace by unit test.
hjoliver db64747
Improve trigger command help.
hjoliver 4e105ee
Update change log.
hjoliver 9e4c510
Small fix.
hjoliver dab7b9a
Fix a func test.
hjoliver b9b2d4a
Implement trigger command --flow arg.
hjoliver 626d71b
Implement trigger command --flow arg.
hjoliver 5ddb696
Basic --wait triggers.
hjoliver 14cbe7e
Add --wait func tests
hjoliver fd271f9
Spawn on completed outputs only after trigger wait.
hjoliver 1c16f14
Fix two func tests.
hjoliver aecf16a
Restore a nosec comment.
hjoliver e4e2343
Add new flow-trigger func tests.
hjoliver a49ca44
Don't share flow nums ref with parent task.
hjoliver 5e9172d
Add new flow-trigger func test.
hjoliver f16334c
Convert new doctests to separate unit tests.
hjoliver 1961249
Tweak change log.
hjoliver 37904a9
Tweak new func test.
hjoliver a4b3a45
Tweak trigger help wording.
hjoliver c8384e9
graphql: add metadata for the trigger mutation
oliver-sanders be68c3c
Address review comments.
hjoliver 8006bb6
Fix docstring.
hjoliver a847222
Use new Flow type from schema.
hjoliver 73430d3
tests/f: test trigger --flow=all join behaviour
oliver-sanders 061bd34
trigger: fixes & tests
oliver-sanders 7b05a10
Merge pull request #22 from oliver-sanders/flow-triggers-wait
hjoliver 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
There are no files selected for viewing
This file contains 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 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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 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 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 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 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 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 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 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 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 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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to leave those variables unexpanded?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't expand them, or the docstring ceases to be a docstring (see my comment on that).
I think it's fine to leave like that. Docstrings describe code, so it's not unreasonable for them to refer to variable (or constant) names. I should perhaps have removed the braces, but I added to comment to note that it shouldn't be turned back into an f-string.