Skip to content

SCA-2280: retain async finish clocks through ready transitions - #25458

Merged
Git-on-my-level merged 2 commits into
mainfrom
agent/m1-studio-codex-sol/62b20460334c
Nov 16, 2026
Merged

Git-on-my-level merged 2 commits into
mainfrom
agent/m1-studio-codex-sol/62b20460334c

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

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

  • Four affected suites: 493 passed, exercising real transaction code with StrictFirestore.
  • Tests cover async/sync clock stamping, mixed-policy siblings, privacy replay, ghost-settle read counts and no-double-charge completion replay.
  • make preflight: 38 checks passed; typecheck: zero errors; normal bounded pre-push gate passed.
  • Loopback Firestore ghost-hold/follow-up suite: 37 passed, one skipped.
  • Full CI-size local run stopped after typechecking; broader selection belongs to CI. Independent read-only Luna delta review: SHIP, no substantive defects. Reviewed pinned sibling policies, all four writer paths, follow-up clocks and read-before-write transaction ordering; test execution belongs to the author.

UI-Evidence: none -- backend discovery hints only

Failure-Class: none

Lifecycle note amendment

Documentation-only successor 829e2a55458241f796a3fe42346056615b7366a4 adds backend/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 reviewed fcc51c54fb. 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.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 16, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-16T06:45:31.923716Z 829e2a5 New commits
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment on lines +60 to +62
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.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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 👍 / 👎.

@Git-on-my-level Git-on-my-level changed the title fix(batch): retain async finish clocks through ready transitions SCA-2280: retain async finish clocks through ready transitions Nov 16, 2026
@Git-on-my-level
Git-on-my-level merged commit 15e3fee into main Nov 16, 2026
66 checks passed
@Git-on-my-level
Git-on-my-level deleted the agent/m1-studio-codex-sol/62b20460334c branch November 16, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant