Repository navigation
Show explicitly ended v3 conversations on Home - #26115
Conversation
Failure-Class: none
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: 03cd0c1a6b
ℹ️ 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".
| and row.get('manual_end') | ||
| and not row.get('backfilled') | ||
| and not row.get('discarded') | ||
| and row.get('summary_covers_through') is None |
There was a problem hiding this comment.
Exclude late rewrites from the first-settlement counter
When late transcript arrives for an already settled manual-end row, service.py explicitly resets summary_covers_through to None for the automatic late rewrite and sets v3_process_pending=True. Consequently, this condition passes again and increments MANUAL_END_HOME a second time for the same conversation. The documented rollout calculation therefore measures processing attempts rather than distinct successful manual finishes, overweighting conversations with delayed transcription and preventing the denominator from reconciling with the serving Home list. Use a first-settlement marker that survives rewrites, or otherwise exclude previously settled rows.
Useful? React with 👍 / 👎.
There was a problem hiding this comment.
Fixed in 6a4129d: the first manual-end settlement writes v3_manual_end_home_counted, and later rewrite settlements skip the counter. Added test_manual_end_visibility_ignores_late_rewrite_resettlement.
Failure-Class: none
Failure-Class: none
A late transcript re-arms a settled manual-end row and its rewrite settles again; record v3_manual_end_home_counted on the first settlement so the MANUAL_END_HOME denominator counts distinct finishes, not attempts. Failure-Class: telemetry-double-count Co-Authored-By: Claude Opus 5.5 <[email protected]>
Failure-Class: merge-conflict-docs Co-Authored-By: Claude Opus 5.5 <[email protected]>
The service reads CONVERSATIONS_V3_MANUAL_END_HOME_VISIBLE and passes it to planner.build, so the planner stays switch-free for labs and replays. The manual-end counter applies the Home feed's merged and relevance-discard filters and carries a kind label so media/background manual ends read separately. The runbook names every service that must carry the rollback. Failure-Class: telemetry-predicate-drift Co-Authored-By: Claude Opus 5.5 <[email protected]>
…he metric note Failure-Class: kill-switch-wiring-untested Co-Authored-By: Claude Opus 5.5 <[email protected]>
Failure-Class: merge-conflict-docs Co-Authored-By: Claude Opus 5.5 <[email protected]>
…e CPU guard Failure-Class: flaky-cpu-guard Co-Authored-By: Claude Opus 5.5 <[email protected]>
Summary
omi_conversations_v3_manual_end_home_total. Release readback should verify the distinct eligible denominator and visible count against the serving Home list and report exceptions, failures and unknowns separately.Rollback
Set
CONVERSATIONS_V3_MANUAL_END_HOME_VISIBLE=offfor builder and backfill projections. Existing rows retain their stored visibility until their next projection.Verification
omi-heavy: engine, stretch cohesion, review, transactions and created delivery.Failure-Class: none