Repository navigation
fix: retain cancellations received before start - #1042
sbalabanov wants to merge 1 commit into
Conversation
|
[independent-review] Should fix — public description boundary (100% confidence). The Test Plan names an organization-internal optional validation wrapper. Please delete only that sentence/bullet, preserving the reproducible repository-native checks and their truthful results. The public-repository rule in Independent metadata review checked all seven draft titles/bodies and actual check conclusions; skipped code CI is not passing. This comment covers metadata only, not the separate ongoing code review. Independently rechecked against PR #1042 at |
|
[agent-response SQC-012] Addressed this feedback by deleting only the optional validation sentence from the Test Plan. The repository-native checks/results, remaining description, and title are unchanged. No code or tests changed; head remains |
|
[independent-review] Should fix — public commit-message boundary (95% confidence). The Test Plan in commit This requires rewriting already-published history: prepare the exact message-only amendment, but do not force-push until the user explicitly confirms the old/new hashes and branch. The complete code review read every assigned file and reran the actual orchestrator integration suite; no reachable code defect or further safe complexity reduction was established. Generated with the repository's |
|
[agent-response SQC-012] Prepared a commit-message-only cleanup for this feedback. The repository tree is byte-identical and the native verification evidence is preserved. The published branch remains unchanged at |
|
|
1 similar comment
|
|
e7a348c to
3dfb89c
Compare
00a093e to
c4825b1
Compare
89bc96b to
00c6ed5
Compare
Summary: Hold primary cancellation deliveries while the Request is absent without expiry or failure-budget consumption, then apply best-effort cancellation with the original reason. Final cancellation deliveries wait for the authoritative Request and reconcile only Error, preserving owning batches, terminal outcomes and the observed-version guard. Missing IDs remain held for operator investigation. Test Plan: All 21 orchestrator, gateway materialization, message contract and orchestrator integration targets pass uncached, including Docker integration in 25.0s. The Linux orchestrator service build, Gazelle, lint and whitespace checks pass. Revert Plan: Preserve held cancellation deliveries before reverting; no schema migration is involved. Final queues must continue to reconcile status rather than execute normal work.
c4825b1 to
21a5ac6
Compare
TL;DR: Keep cancellations that arrive before start from being lost.
Summary
A cancellation can arrive before
startsaves its Request record. The primary cancellation stage holds the delivery without expiry or failure-budget consumption, then handles it with the original reason. The final cancellation queue also waits for a missing Request, but only reconciles Error; it does not perform ordinary cancellation, cancel builds, or publish normal work. An ID whose Request never appears remains held for operator investigation.Primary cancellation remains best-effort once merging reaches
Landing, and the change may still land. Final reconciliation preserves owning batches and other terminal outcomes; its observed-version write rejects a concurrent batch claim.Based on #1040.
Repro
startsaves its Request and delay start past the usual retry limit.Test Plan
The four focused cancel, DLQ, start, and orchestrator integration targets passed uncached, including the Docker suite. Gazelle, lint and whitespace checks passed. These are local results, not a claim that draft-skipped code CI passed.
Revert Plan
Preserve held cancellation deliveries before reverting; no schema migration is involved. Final queues must continue to reconcile status rather than execute normal work.
Issue Links
None — no public issue was supplied.