kin: auto-commit after pipeline
This commit is contained in:
parent
fe344c2a4f
commit
d53c4096fd
9 changed files with 343 additions and 22 deletions
|
|
@ -650,6 +650,11 @@ def run_task(ctx, task_id, dry_run, allow_write):
|
|||
raise SystemExit(1)
|
||||
|
||||
pipeline_steps = output["pipeline"]
|
||||
if not isinstance(pipeline_steps, list) or not pipeline_steps:
|
||||
click.echo(
|
||||
f"PM returned empty or invalid pipeline: {pipeline_steps!r}", err=True
|
||||
)
|
||||
raise SystemExit(1)
|
||||
analysis = output.get("analysis", "")
|
||||
|
||||
# Save completion_mode from PM output to task (only if neither task nor project has explicit mode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue