Commit f136781
authored
Add wait and interval params (#235)
* add a --wait flag
* use release branch
* update script to accept add-wait-param as rc name
* use add-wait-param package
* use linux/amd64
* Update release.py
* Fix run ID extraction when using --wait flag
- Add debug output to troubleshoot command execution
- Handle different output formats from dagster-cloud CLI when --wait is used
- Extract run ID from status messages like 'Run <id> is in progress'
- Fix GITHUB_OUTPUT format issue
* work with multiple lines in stdout
* Add comprehensive tests for wait parameter functionality
- Test run script without wait flag (default behavior)
- Test run script with wait flag enabled (multi-line output)
- Test various truthy values for wait parameter
- Test backwards compatibility when INPUT_WAIT is not set
- Maintain original test for backwards compatibility
- Handle extraction of run ID from both single line and multi-line outputs
* Fix regex patterns for run ID extraction to handle test data
- Make run ID regex more flexible to handle both UUIDs and test strings
- Change from strict 36-char UUID pattern to more permissive alphanumeric pattern
- Allows tests to pass with mock data like 'some-run' while still working with real UUIDs
* clean up debugging and remove tests
* add interval flag to github action if wait is enabled
* add pex
* use dev not rc add-wait-param in actions
* add default interval wait time1 parent b44111d commit f136781
File tree
6 files changed
+360
-4
lines changed- actions
- launch_job
- utils/run
- generated/gha
- scripts
- src
- tests
6 files changed
+360
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
26 | 33 | | |
27 | 34 | | |
28 | 35 | | |
| |||
53 | 60 | | |
54 | 61 | | |
55 | 62 | | |
| 63 | + | |
| 64 | + | |
56 | 65 | | |
57 | 66 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
30 | 37 | | |
31 | 38 | | |
32 | 39 | | |
| |||
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
13 | 34 | | |
14 | 35 | | |
15 | 36 | | |
| |||
18 | 39 | | |
19 | 40 | | |
20 | 41 | | |
21 | | - | |
| 42 | + | |
| 43 | + | |
22 | 44 | | |
23 | 45 | | |
24 | | - | |
25 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
26 | 62 | | |
27 | 63 | | |
28 | 64 | | |
| |||
0 commit comments