Commit 6afd975
authored
chore(release): v0.6.17 — detached run_workflow dispatch fix (#283)
* fix(workflow): carry subject in reattach execute request so detached run_workflow dispatches
The detached 'workflow run' / run_workflow path bootstraps a Running record
then re-attaches a workflow_runner via 'workflow run --sync --workflow-id <id>'.
workflow_execute_request_for_existing() built that request with all subject
fields None (workflow_id only), so the runner plugin could not resolve subject
context and workflow/execute failed (exit 1) — every detached dispatch sat
Running then got zombie-cancelled. Only this reattach path was affected: the
queue/trigger path carries the subject via build_runner_command, and the
--sync --task-id path passes task_id directly (both work).
Populate task_id/requirement_id from the persisted record's subject, mirroring
the proven fresh-dispatch request. Adds a regression test.
* chore(release): v0.6.17
Includes: detached run_workflow / 'animus workflow run' now dispatches —
the reattach execute request carries the subject so the runner plugin can
resolve subject context (was workflow_id-only → workflow/execute failed).1 parent 3bbff02 commit 6afd975
3 files changed
Lines changed: 41 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
Lines changed: 39 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
74 | 80 | | |
75 | 81 | | |
76 | 82 | | |
77 | 83 | | |
78 | 84 | | |
79 | 85 | | |
80 | 86 | | |
81 | | - | |
82 | | - | |
| 87 | + | |
| 88 | + | |
83 | 89 | | |
84 | 90 | | |
85 | 91 | | |
| |||
1150 | 1156 | | |
1151 | 1157 | | |
1152 | 1158 | | |
| 1159 | + | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
| 1163 | + | |
| 1164 | + | |
| 1165 | + | |
| 1166 | + | |
| 1167 | + | |
| 1168 | + | |
| 1169 | + | |
| 1170 | + | |
| 1171 | + | |
| 1172 | + | |
| 1173 | + | |
| 1174 | + | |
| 1175 | + | |
| 1176 | + | |
| 1177 | + | |
| 1178 | + | |
| 1179 | + | |
| 1180 | + | |
| 1181 | + | |
| 1182 | + | |
| 1183 | + | |
| 1184 | + | |
| 1185 | + | |
| 1186 | + | |
| 1187 | + | |
1153 | 1188 | | |
1154 | 1189 | | |
1155 | 1190 | | |
| |||
0 commit comments