Repository navigation
SCA-2280: retain async finish clocks through ready transitions - #25458
Conversation
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fcc51c54fb
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| Held-ready settlement, durable sibling completion, privacy resume and ghost | ||
| settlement previously stamped positive finish clocks even for pinned async jobs. | ||
| These paths now pass the pinned policy to the existing clock primitive. |
There was a problem hiding this comment.
Add the required pipeline lifecycle change note
This changes batch conversation-lifecycle discovery across completion, privacy resume, and held-result settlement, but the commit adds no pipeline change note. backend/AGENTS.md explicitly requires these changes to “add a note under docs/listen_pusher_pipeline/changes/ in the same PR.” I checked the commit’s changed-file list and searched the repository’s pipeline notes for this async-finish correction; the runbook update is not accompanied by the required note. Add a dated note linking to the runbook so the lifecycle change, rollout state, and verification evidence appear in the designated pipeline history.
AGENTS.md reference: backend/AGENTS.md:L164-L164
Useful? React with 👍 / 👎.
Async results re-entered the positive finish-clock population after held-ready settlement, sibling completion, privacy resume, or ghost settlement, keeping the finish sweep expensive after #25314. Pass the immutable projection policy through those writers so async results retain finish_due=-1 while independent follow-up discovery stays due now. Each sibling uses its own pinned job policy; missing/synchronous policies remain classifiable.
Follow-up to SCA-2280 and #25314. No additional document reads, write operations, indexes or rollout settings. Existing classification cap8, rollback and privacy/custody/usage fences remain. Expected behavior: remove replenishment from these writers and let bounded classification drain existing positive-clock stock. The corrected production baseline is 502,606 finish rows/hour; ~14,400/hour remains an empty-page estimate, not a measured saving. Production caller counters, follow-up completion and matched transcript p50/p90 still require the existing owners.
Product invariants affected
none
Verification
make preflight: 38 checks passed; typecheck: zero errors; normal bounded pre-push gate passed.UI-Evidence: none -- backend discovery hints only
Failure-Class: none
Lifecycle note amendment
Documentation-only successor
829e2a55458241f796a3fe42346056615b7366a4addsbackend/docs/listen_pusher_pipeline/changes/2026-11-16-async-finish-ready-writers.md, addressing connector finding discussion_r4582401778. Runtime code and tests are identical to reviewedfcc51c54fb. Normal pre-push gates passed for the amendment. The prior runtime SHIP is not relabeled to the successor: an exact-head Multica review of record must explicitly disposition this finding before Release admission.