fix(tasks): persist work-order waits without restarting runs
Generic Container CI/CD / test-build-publish (push) Successful in 4m20s
Server CI/CD v2 / build-test-publish-and-deploy (push) Successful in 4m20s

Dispatch receipts previously requeued active investigations and the final-only completion gate then failed waiting generations. Preserve the run, accept current interim wait reports, and wake only on actionable feedback or recovery evidence. Regression tests cover dispatch, same-generation reports, receipt revisions, cancellation and replacement ordering.
This commit is contained in:
2026-11-12 13:45:27 +08:00
parent 1892b1d1f0
commit 471ad92a47
7 changed files with 345 additions and 24 deletions
+1
View File
@@ -232,6 +232,7 @@ async def test_sample_sync_rejects_cross_project_data_before_writing():
[
("waiting_human", 2, True),
("queued", 2, True),
("failed", 2, True),
("completed", 2, True),
("cancelled", 1, False),
],