Skip to content

flags: apply David's 11-09 rulings (graduate, registry updates) - #24998

Merged
Git-on-my-level merged 19 commits into
mainfrom
lane/flagrulings
Nov 10, 2026
Merged

Git-on-my-level merged 19 commits into
mainfrom
lane/flagrulings

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

Requested by David

What changed and why

This applies David's 2026-11-09 flag rulings, all 7 accepted, for the flags that need no code retirement. A separate retire PR from the audit-fix lane covers the 42 deleted keys.

  • 8 flags graduated. Each one keeps its current production behavior (snapshot 2026-11-09 03:20Z) and loses its control, and its registry row moves to retired. Graduated: AUDIO_ARCHIVE_COALESCE_ENABLED, CONVERSATION_NOTES_AGENT_PERCENT, CONVERSATION_REPROCESS_RESULT_CONTRACT_ENABLED, EPISODES_PERCENT, FIRST_SUMMARY_DEADLINE_ENABLED, FIRST_SUMMARY_DEADLINE_PERCENT, SERVER_BATCH_ONLY_VISIBLE_RESTORE_PERCENT (stays 0) and SPEAKER_MATCH_SCORES_ENABLED. The redundant EPISODES_UID_ALLOWLIST is also removed. None of these is in the pipeline flag ledger, so flag_budget.json is unchanged.
  • 9 graduations deferred because of service scope. In production these values are set only on some services. Graduating them would extend the behavior to other services that read the same code, such as the Cloud Run copies with OMI_ROLE unset (which mount every router, including /v4/listen), backend-integration or the listener. Each one keeps main's code, gating and manifests, and only its registry notes change: SERVER_BATCH_ONLY_MOBILE_PERCENT, SERVER_BATCH_ONLY_AUTO_LANGUAGE_PERCENT, STT_ROUTING_MODE, STT_ROUTING_ON_PERCENT, REVIEW_SURFACE_MODE, SYNC_ASSIGNMENT_CONTENTION_RETRY_ENABLED, EPISODES_CLIENT_CHANNELS, SYNC_LEGACY_COMPLETION_CONVERGENCE and SYNC_DURABLE_STATUS_RECONCILIATION. The STT router is unchanged from main.
  • 5 graduations deferred because readers disagree. The services that read these disagree on the live value, so they keep their code, and their decision and terminal values stay as on main: LIVE_CAPTURE_WINDOW_MERGE_UNION, LIVE_CAPTURE_WINDOW_TRANSLATOR_SENDS, SONIOX_WIRE_LEDGER, SONIOX_CAPTURE_AXIS_DIAGNOSTICS and FIRST_SUMMARY_PRESERVE_ADMITTED_ENABLED. Their review date is 2026-11-22, the end of each row's bounded extension. Reader traces and the 9 scope deferrals are in backend/docs/listen_pusher_pipeline/changes/2026-11-09-flag-graduation.md.
  • 103 registry-only updates. These are new due dates and notes: readout by 11-16 or retire for 38 shadow experiments, holds for storefront, ladder and on-device overflow, with_legacy for the backfill order trio, and the steps David ruled on. Every touched row's notes start with "David 2026-11-09 (flag rulings):". This branch merges main's checker v2. Main's owners win, renewed dates use bounded extension entries (at most 14 days, so up to 11-23), and the 48 rows that already had a v2 extension keep it unchanged. v2 refuses a second extension, so those rows will need a ramp or a retire when they come due.
  • No production flag changes. The approved ramps go to the rollout coordinator separately.

Product invariants affected

This preserves INV-MEM-4 and INV-TASK-2. Existing recorded production paths become permanent, and there are no new paths.

How it was verified

  • python scripts/check_feature_flag_registry.py at head a5b008c: OK. It still prints relabel warnings for rows decided keep, but no errors.
  • pytest scripts/test_check_feature_flag_registry.py: 109 passed.
  • Backend unit tests for every touched module, one file at a time through bin/omi-heavy: 2,158 passed across 51 files. The file list and results are in the change note.
  • The pre-push preflight passed at head b38d5b2, including the registry fixtures, runtime env validation, backend typecheck and backend unit tests. Earlier pushes caught 4 unused imports and 2 review-surface test stubs; both are fixed.
  • Two independent reviews found graduations that widened service scope (9 keys) and registry rows that claimed graduation or a review date past their due date. All are fixed at this head.
  • I couldn't verify live behavior, because no production reads or writes were allowed.

Tests

Tests that only covered the removed off branches are deleted. Tests for the kept behavior stay. The admission deadline test now uses 1s and 5s waits, so its executor setup stops racing on shared hosts.

UI evidence

UI-Evidence: none -- backend and registry only

Failure class (fixes)

Failure-Class: none

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

Pre-push hook for 19b9c50 ran on m1-mac-studio (lead2 21c414).

Git-on-my-level and others added 12 commits November 9, 2026 13:06
…rop run receipts from tree

Co-Authored-By: Claude Opus 5.5 <[email protected]>
David's 2026-11-09 flag rulings docket, registry-only part (103 keys).
The 22 graduate keys and 42 retire keys are handled by separate lanes and
are untouched here; no code or env changes ride along.

- extend (32): review_by from the worker evidence (fallback 2026-12-07);
  owner moved off dazheng to the lane named in the row notes or ramp
  expander (fallback lead2); ramp done_by aligned to the new review_by
- readout_or_retire (38): review_by 2026-11-16, owner lead2
- hold (15): review_by as ruled; owner stays dazheng on the product holds
- with_legacy (4): decision with_legacy / terminal off, review_by 2026-12-01
- qualify (1): SUMMARY_DEBT_REPAIR_ENABLED review_by 2026-11-16
- ramp_ruled (13): rows stay pending; review_by 2026-11-23 with ramp
  done_by aligned; flips belong to the rollout coordinator, not this PR

Every touched row's notes carry a "David 2026-11-09 (flag rulings):"
record. Remove the three renewed rows (SONIOX_ORDERED_FINALIZE,
screen_activity_lossless_sync, screen_activity_lossless_sync_kill) from
REVIEW_OVERDUE: entries for rows no longer past review_by are stale.
Regenerate backend/docs/feature-flag-registry.md (as-of 2026-11-05).
…ove renewed dates into bounded extensions

Co-Authored-By: Claude Opus 5.5 <[email protected]>
EPISODES_CLIENT_CHANNELS (beta,store only on run:backend),
SYNC_LEGACY_COMPLETION_CONVERGENCE (only on backend-sync and
backend-sync-backfill) and SYNC_DURABLE_STATUS_RECONCILIATION (only on
run:backend) would apply on every copy that mounts their routes if
graduated. Restore main's readers, manifests, tests, registry rows and
flag budget for all three; the registry notes record the deferral.

Correct six registry notes that named a 2026-11-23 review although the
rows' bounded extensions end on 2026-11-22.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
COALESCE is unconditional after the 2026-11-09 graduation; the default
test still listed it among staged default-off phases. Mark the retired
control in the sync ingest runbook.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tion

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…RFACE_MODE

REVIEW_SURFACE_MODE stays a flag, so these writer tests again stub
require_enabled as on main.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@Git-on-my-level Git-on-my-level self-assigned this Nov 9, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 9, 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-10T01:55:11.168892Z fae9f61 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.

Git-on-my-level and others added 7 commits November 9, 2026 22:01
# Conflicts:
#	backend/deploy/runtime_env/prod.overlay.yaml
#	backend/docs/feature-flag-registry.md
#	config/feature-flags.yaml
…dline

FIRST_SUMMARY_DEADLINE graduated to every owner, so:
- drop patches of the removed summary_guarantee.enabled hook;
- give processor/notes fixtures a real overview (an empty first summary
  is refused or not reused while the deadline applies);
- expect the 120s deadline to cap the ordinary settle wake;
- stamp server_minimum provenance for every known owner;
- regenerate the policy_window golden, which no longer has obligations
  outside the first-summary cohort.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Resolve overlaps with the November 9 retirement: keys retired on main
(FIRST_SUMMARY_UID_ALLOWLIST, CONVERSATION_NOTES_AGENT_UID_ALLOWLIST,
SPEAKER_GROUPING_MODE, REPEAT_WORK_REVISION_ENABLED,
SYNC_EMPTY_MULTILINGUAL_RECOVERY_ENABLED, CAPTURE_SHARED_SPEECH_*) and keys
graduated here both leave code, charts and manifests. Registry merged per
key (no key changed on both sides); registry doc re-rendered.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…rulings

Registry merged per key; OMI_FLAGS_SOURCE takes main's newer freeze ruling
(lead2 95e1f1) over this branch's 11-09 extension note. The new runtime
percent export reports first-summary at 100, since the deadline graduated
to every owner and FIRST_SUMMARY_DEADLINE_PERCENT is retired.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
summary-generation-v2 no longer pairs with the retired reprocess result
contract: failed template reprocesses return the generic processing
failure. FIRST_SUMMARY_PRESERVE_ADMITTED_ENABLED no longer refers to a
deadline master; first-summary admission is preserved or any owner.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
SYNC_BACKFILL_WORKER_API_URL and SYNC_BACKFILL_WORKER_AUDIENCE reached
review_by 2026-11-09, which fails test_flag_budget on every branch from
2026-11-10. Renew both to 2026-11-23 with a reason; the owner confirms
keep or delete.

Failure-Class: none

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level added a commit that referenced this pull request Nov 10, 2026
…y (main red) (#25015)

_Requested by **David**_ (P0 main-red, lead2 ruling 287b9c)

## What changed and why


`tests/unit/test_flag_budget.py::test_pipeline_env_surface_holds_its_budget`
fails on every backend unit shard: `SYNC_BACKFILL_WORKER_API_URL` and
`SYNC_BACKFILL_WORKER_AUDIENCE` passed `review_by` 2026-11-09 in
`backend/config/flag_budget.json`. This extends both once, to
2026-11-23, with a reason under the bounded-extension rule (#24954),
owner unchanged (infracost / syncsplit), who confirms keep or delete
before then. Branch pushed from m1 with the full hook by flagrulings
(a005354); same content as the renewal staged on #24998, so
whichever merges second sees no conflict. The test is unchanged; this is
not a skip.

## Product invariants affected

none

## How it was verified

`tests/unit/test_flag_budget.py` passes on this head. The pre-push hook
passed in full.

## UI evidence

UI-Evidence: none -- config only

## Failure class (fixes)

Failure-Class: none

Rollback: revert (CI goes red again until the owner decides).

🤖 Generated with [Claude Code](https://claude.com/claude-code)


<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/BasedHardware/omi/pull/25015?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="View guided diff"
src="https://www.cubic.dev/buttons/review-in-cubic-light.svg"></picture></a>
<a
href="https://www.cubic.dev/action/auto-fix/pr/BasedHardware/omi/25015?returnTo=https%3A%2F%2Fgithub.com%2FBasedHardware%2Fomi%2Fpull%2F25015&source=description"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"><img
alt="Turn on auto-fix"
src="https://www.cubic.dev/buttons/turn-on-auto-fix-light.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
@Git-on-my-level
Git-on-my-level merged commit fe183e4 into main Nov 10, 2026
63 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/flagrulings branch November 10, 2026 02:17
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