Skip to content

fix(flags): count validated manifest/chart pairs as one source, retire the duplicate-declaration allowlist - #24959

Merged
Git-on-my-level merged 3 commits into
mainfrom
lane/dup-decl
Nov 9, 2026
Merged

Git-on-my-level merged 3 commits into
mainfrom
lane/dup-decl

Conversation

@Git-on-my-level

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

Copy link
Copy Markdown
Member

Requested by David

Summary

Count logical declaration sources per flag, platform, workload and environment instead of counting raw files. Base plus overlays compose one manifest source. A GKE section and the chart named by its effective values_file are one validated source: _validate_gke enforces the expected/actual contract through _validate_env_entries. Pairing is derived from the manifest, including environment-specific overrides, with no hard-coded service or flag list.

Keep the GKE manifest entries because _validate_gke enforces them against the charts and the lake-admission guard reads OBJECT_LAKE_WRITE_PERCENT / OBJECT_LAKE_WRITE_ENABLED from them. The Parakeet admission contract, test_backend_runtime_env_validator.py and test_render_backend_runtime_env.py remain exactly as on main.

No runtime_env value changed except collapsing identical doubled lines. The 16 duplicate scalar mapping lines have identical values (two are under AUDIO_ARCHIVE_REGIONAL_CACHE_PERCENT; the others are under AUDIO_ARCHIVE_STOP_PCM_PERCENT). No declaration entries are removed. The redundant DEMAND_PROCESSING prod zeros stay. Regenerating runtime_env.yaml yields output byte-identical to main, including every GKE, Cloud Run, desktop and jobs section. Charts and all guard implementations are unchanged.

Delete DUPLICATE_DECLARATION_ALLOWLIST, its expiry, and its warning/expiry/stale branches without a replacement allowlist. Independent declarations still fail for the same key/platform/workload/environment. Platforms are distinct: Cloud Run services, Cloud Run jobs, GKE, desktop and generic actions. A gcloud run action uses its Cloud Run target platform and remains a separate file source; matching a GKE chart name never changes its platform. Two GKE charts for one workload/environment still fail. Add --as-of to main(), retaining unrelated review-date/backlog policy. YAML node discovery covers quoted/compact mappings and aliases using the existing CI PyYAML dependency.

Product invariants affected

  • INV-MEM-4 — preserved. The generated runtime manifest matches current main byte-for-byte; canonical intake, consolidation, promotion authority and every guard value are unchanged. The older branch base makes the upstream manifest restoration part of the diff, so this invariant is cited explicitly.

Failure class (fixes)

Failure-Class: none

Preventive checker maintenance removes an expiring CI exception while recognizing an already enforced expected/actual contract. No runtime failure class or guard relaxation is introduced. The reusable protections are the platform-aware logical-source checker fixtures and the composer's duplicate-mapping-key rejection.

Per-key table

Every existing declaration stays. Charts serve the GKE values; the manifest declares expected values and supplies guard inputs. Cloud Run, desktop and jobs retain their own declarations.

Key Deleted sites Serving source / retained guard declaration
AUDIO_ARCHIVE_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
AUDIO_ARCHIVE_REGIONAL_CACHE_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
AUDIO_ARCHIVE_STOP_PCM_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
AUDIO_ARCHIVE_UID_ALLOWLIST None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
BATCH_LIVE_STT_RETIRE_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
BATCH_PIPELINE_RECOVERY_UID_ALLOWLIST None backend-listen charts (dev/prod); GKE manifest expected values retained
BATCH_PIPELINE_SHADOW_PERCENT None Cloud Run base + overlays retained
BATCH_PIPELINE_UID_ALLOWLIST None backend-listen charts (dev); GKE manifest expected values retained
CONVERSATION_RELEVANCE_JEV_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
DEMAND_PROCESSING_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
DEMAND_PROCESSING_UID_ALLOWLIST None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
DREAM_AGENT_UID_ALLOWLIST None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
FIRST_SUMMARY_DEADLINE_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
MOBILE_STANDARD_BATCH_PERCENT None backend-listen charts (prod); GKE manifest expected values retained
OBJECT_LAKE_WRITE_PERCENT None backend-listen charts (dev/prod); pusher charts (dev/prod); GKE manifest expected values retained
PARAKEET_STREAM_ALLOCATION_PERCENT None parakeet charts (dev/prod); GKE manifest expected values retained
PARAKEET_WINDOW_ALLOCATION_PERCENT None backend-listen charts (dev/prod); GKE manifest expected values retained
SPEAKER_GROUPING_SHADOW_PERCENT None backend-listen charts (prod); pusher charts (prod); GKE manifest expected values retained
SPEAKER_GROUPING_SHADOW_UID_ALLOWLIST None backend-listen charts (prod); pusher charts (prod); GKE manifest expected values retained
STT_LIVE_DEMAND_PERCENT None backend-listen charts (dev/prod); GKE manifest expected values retained
STT_LIVE_DEMAND_UID_ALLOWLIST None backend-listen charts (dev/prod); GKE manifest expected values retained
STT_NON_EN_MULTI_PREFER_HINTABLE_PERCENT None backend-listen charts (dev/prod); GKE manifest expected values retained
STT_ROUTING_ON_PERCENT None backend-listen charts (dev/prod); GKE manifest expected values retained
SYNC_LINEAGE_RESOLVE_UID_ALLOWLIST None backend-listen charts (prod); GKE manifest expected values retained
TRANSCRIPTION_FINAL_PASS_PERCENT None pusher charts (prod); GKE manifest expected values retained
TRANSCRIPTION_FINAL_PASS_UID_ALLOWLIST None pusher charts (prod); GKE manifest expected values retained
TRANSCRIPTION_SHADOW_PERCENT None backend-listen charts (dev); pusher charts (dev/prod); GKE manifest expected values retained
TRANSCRIPTION_SHADOW_UID_ALLOWLIST None backend-listen charts (dev); pusher charts (dev/prod); GKE manifest expected values retained

Value preservation and compose proof

out-dupes-compose-diff.txt in /Users/dazheng/workspace/omi/data/run-2026-11-08-audit-fixes/ records the measured UTC time, main SHA, commands and equality proof. The three source documents parse to exactly the same mappings as main; only the 16 identical repeated fields are collapsed. Generated backend/deploy/runtime_env.yaml is byte-identical to main. The PR does not edit charts, the Parakeet contract, backend runtime validator tests, _validate_gke, _validate_env_entries, and lake-admission guard code are unchanged.

The review correction restores every runtime-env source file, its pending patch, the matching rendered registry row, test_render_backend_runtime_env.py and its served-defaults fixture from current main before reapplying only hygiene. This preserves #24934's current FIRESTORE_READ_LEVERS, including privacy_checks_shadow, privacy_negative_lookup_cache:100 and batch_timeliness_leader:0.

Measured 2026-11-09T01:12:55.181983+00:00 against main 6a03440964b9ecf21330cc87a8b2c30dcce712da:

git diff origin/main -- backend/deploy/runtime_env/
git show origin/main:backend/deploy/runtime_env.yaml | cmp - backend/deploy/runtime_env.yaml

The first command shows only 16 deleted identical scalar lines across the three source YAML files. The second exits 0: the entire generated manifest is byte-identical to main. python3 backend/deploy/compose_runtime_env.py --check also exits 0. The proof file includes the complete source diff and generated SHA256 8345aa3d7f1025eaaf147847223128a822f0e59ebd5c635d9df4ce82e0325bb9.

The composer now rejects repeated mapping keys, including identical duplicates, rather than applying YAML's last-value-wins behavior. Fixtures cover repeated value/category keys and compact mappings.

Verification

Measured UTC on 2026-11-09:

  • python3 scripts/test_check_feature_flag_registry.py: 77 passed, 00:56:07–00:58:51.
  • python3 scripts/test_posthog_flag_sync.py: 11 passed, 00:58:51–00:58:51.
  • python3 -m pytest backend/tests/unit/test_runtime_env_sources.py -q: 3 passed, 00:58:51–00:58:55.
  • python3 backend/deploy/compose_runtime_env.py --check: passed, 00:58:55–00:58:56.
  • python3 backend/scripts/validate-backend-runtime-env.py --env dev --check-workflows: passed, 00:58:56–00:58:58.
  • The same validator for prod: passed, 00:58:58–00:59:00.
  • Full backend/scripts/pre-deploy-check.sh: 511 passed plus source/admission checks, 01:00:30–01:01:27, through omi-heavy with the 900-second local budget.
  • python3 -m pytest backend/tests/unit/test_qualify_usage_month.py -q: 107 passed, 01:01:05–01:01:11.
  • backend/scripts/cross_service_contract.py: 0 new violations, 34 known gaps, 0 stale gaps, 00:59:55–01:00:46.
  • Full make preflight through omi-heavy: 44 selected checks passed, 01:06:31–01:12:32, with the 900-second local budget, UTC and serial checks.
  • Normal guarded push through omi-heavy run --wait 3600 -- git push -u origin lane/dup-decl: passed, 01:13:04–01:20:11, with credential variables unset, the 900-second budget, UTC and serial checks. No pre-push gate was bypassed.
  • scripts/pr-preflight --suggest and scripts/pr-preflight --metadata-only --pr-body-file ...: passed (00:54:39–00:54:42 and 00:58:14–00:58:23).

The documented local setting is BACKEND_UNIT_FILE_BUDGET_SECONDS=900 TZ=UTC; heavy suites and the normal guarded push run through omi-heavy without bypassing gates.

The Nov 21 checker has zero duplicate errors and exactly the same 204 unrelated review-date errors as measured main 6a03440964b9ecf21330cc87a8b2c30dcce712da (2026-11-09 00:54:55–00:55:06 UTC, exit 1). The original main checker/declarations were read from that immutable ref; its 28 retired duplicate-exception errors are removed. No review exceptions are extended. The full list is saved to out-dupes-unrelated-errors.txt in the run directory.

Unrelated 2026-11-21 baseline errors (204)
review overdue beyond the 7-day grace: ACCOUNT_CUTOVER_COHORT (review_by 2026-11-08)
review overdue beyond the 7-day grace: ACCOUNT_CUTOVER_ENFORCEMENT (review_by 2026-11-08)
review overdue beyond the 7-day grace: ACTION_ITEMS_V2_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEMS_V2_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEMS_V2_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEM_IDENTITY_PRESERVE_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: ACTION_ITEM_VALIDITY_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: BATCH_PIPELINE_ASR_LEFT_CONTEXT_SECONDS (review_by 2026-11-07)
review overdue beyond the 7-day grace: BATCH_PIPELINE_FLIGHT_BATCHING_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: CALLS_RECAP_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: CALLS_RECAP_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CALLS_RECAP_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: CAPTURE_COVERAGE_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CLIENTS_FROM_SEGMENTS_CHUNKS_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: CLIENTS_FROM_SEGMENTS_CHUNKS_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CLIENTS_FROM_SEGMENTS_CHUNKS_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: CONVERSATION_NOTES_AGENT_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: CONVERSATION_NOTES_AGENT_UID_ALLOWLIST (review_by 2026-11-07)
review overdue beyond the 7-day grace: DAY3_REENGAGEMENT_EMAIL_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_HUNT_BACKOFF_MODE (review_by 2026-11-08)
review overdue beyond the 7-day grace: DREAM_HUNT_BACKOFF_MODE_SERVE_PERCENT (review_by 2026-11-08)
review overdue beyond the 7-day grace: DREAM_PRESCAN_MODE (review_by 2026-11-10)
review overdue beyond the 7-day grace: DREAM_PRESCAN_MODE_SERVE_PERCENT (review_by 2026-11-10)
review overdue beyond the 7-day grace: DREAM_REQUIRED_INTAKE_BACKLOG_COHORT (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_REQUIRED_INTAKE_BACKLOG_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_VERIFY_HOLD_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: DREAM_VERIFY_HOLD_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: ENRICHMENT_ROUTE (review_by 2026-11-09)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: EPISODE_BOUNDARIES_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: HELD_CONTENT_COHORT (review_by 2026-11-12)
review overdue beyond the 7-day grace: HELD_CONTENT_ENABLED (review_by 2026-11-12)
review overdue beyond the 7-day grace: LADDER_V1_BUDGET_ENFORCEMENT_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_LANE_METERING_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_MCP_DAILY_CAPS_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_PRO_GATES_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_RETIRE_PRO_ALIAS_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LADDER_V1_WIRE_IDENTITY_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: LIFECYCLE_V2_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: LIFECYCLE_V2_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: LIFECYCLE_V2_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: LOCKED_CONTENT_RESET_RECOVERY_ENABLED (review_by 2026-11-12)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEDIA_NOISE_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: MEMORY_L1_OWNER_NEUTRAL_PREFIX_ENABLED (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_PACKET_V2_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_PACKET_V2_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_PACKET_V2_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: NOTES_TIER_ESCALATION_ENABLED (review_by 2026-11-08)
review overdue beyond the 7-day grace: OMI_EXTERNAL_LIST_POLLING_CACHE_ENABLED (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_EXTERNAL_LIST_POLLING_CACHE_PERCENT (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_FLAGS_SOURCE (review_by 2026-11-12)
review overdue beyond the 7-day grace: OMI_IMESSAGE_CONTACT_CARD (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_IMESSAGE_ENABLED (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_LIST_VERSION_EPOCH (review_by 2026-11-07)
review overdue beyond the 7-day grace: OMI_MESSAGING_CHANNELS (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_MESSAGING_CHANNELS_UIDS (review_by 2026-11-09)
review overdue beyond the 7-day grace: OMI_TELEGRAM_ENABLED (review_by 2026-11-09)
review overdue beyond the 7-day grace: OWNER_IDENTITY_RETRY_COALESCE_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: PARAKEET_WINDOW_DEADLINE_CUT_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: REVIEW_SURFACE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: SERVER_BATCH_ONLY_AUTO_LANGUAGE_PERCENT (review_by 2026-11-10)
review overdue beyond the 7-day grace: SERVER_BATCH_ONLY_MOBILE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_EVIDENCE_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SPEAKER_GROUPING_MODE (review_by 2026-11-08)
review overdue beyond the 7-day grace: STOREFRONT_LADDER_V1_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_CAP_DISPATCH_COHORT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_CAP_DISPATCH_ENFORCEMENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_CAP_DISPATCH_LANES (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LANGUAGE_HINTS_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LANGUAGE_HINTS_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LANGUAGE_HINTS_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_ENABLED (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_MIN_DWELL_SECONDS (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_PERCENT (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_LIVE_DEMAND_UID_ALLOWLIST (review_by 2026-11-13)
review overdue beyond the 7-day grace: STT_PRERECORDED_LANGUAGE_GATE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE_SERVE_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE_SERVE_UID_SHA256S (review_by 2026-11-07)
review overdue beyond the 7-day grace: STT_VOCAB_MODE_SHADOW_PERCENT (review_by 2026-11-07)
review overdue beyond the 7-day grace: SYNC_BACKFILL_WORKER_PERCENT (review_by 2026-11-09)
review overdue beyond the 7-day grace: SYNC_SAFETY_WAL_DEDUPE_ENABLED (review_by 2026-11-12)
review overdue beyond the 7-day grace: X-Omi-Memory-Canonical-Lifecycle-Exposed (review_by 2026-11-08)
review overdue beyond the 7-day grace: client_telemetry_transport_shadow (review_by 2026-11-12)
review overdue beyond the 7-day grace: clients_boundary_evidence (review_by 2026-11-07)
review overdue beyond the 7-day grace: clients_from_segments_chunks (review_by 2026-11-07)
review overdue beyond the 7-day grace: clients_refactor (review_by 2026-11-07)
review overdue beyond the 7-day grace: custody_capture_committed_release (review_by 2026-11-07)
review overdue beyond the 7-day grace: desktop-contextual-upsells (review_by 2026-11-13)
review overdue beyond the 7-day grace: desktop-plan-storefront (review_by 2026-11-13)
review overdue beyond the 7-day grace: mobile-chat-apps (review_by 2026-11-09)
review overdue beyond the 7-day grace: mobile-contextual-upsells (review_by 2026-11-12)
review overdue beyond the 7-day grace: mobile-on-device-overflow (review_by 2026-11-13)
review overdue beyond the 7-day grace: mobile-plan-storefront (review_by 2026-11-12)
review overdue beyond the 7-day grace: onboarding-variant (review_by 2026-11-13)
review overdue beyond the 7-day grace: paywall-variant (review_by 2026-11-12)
review overdue beyond the 7-day grace: web-contextual-upsells (review_by 2026-11-13)
review overdue beyond the 7-day grace: web-plan-storefront (review_by 2026-11-13)
review_overdue exception expired 2026-11-15: ACTION_ITEM_REFRESH_PRESERVE_ENABLED (review_by 2026-11-01)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_ASYNC_PROJECTION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_AUTHORITATIVE_LABELS_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_CORRECTNESS_METRICS_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_EMPTY_ASR_DISPOSITION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_EMPTY_ASR_RECOVERY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_HEAD_PRIORITY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_LIVE_ADMISSION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_PROJECTION_CONTENTION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_PROJECTION_TIMING_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_READ_ONLY_METRICS_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_RECOVERY_ALL_ADMITTED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_RECOVERY_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_RECOVERY_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_REQUIRE_LIVE_TARGET_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SERVING_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SHADOW_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SHARED_LIVE_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_SPEECH_EMPTY_MULTILINGUAL_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_TERMINAL_EMPTY_DISPOSITION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: BATCH_PIPELINE_WORKER_SILENCE_DISPOSITION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: CAPTURE_GROUP_CONTAINMENT_MODE (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: CONVERSATION_REPROCESS_RESULT_CONTRACT_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_AGENT_PAID_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_HISTORY_COMPACT_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_HISTORY_COMPACT_MODE_SERVE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_IDLE_SKIP_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_IDLE_SKIP_MODE_SERVE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_MATERIAL_BUDGET_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_MATERIAL_BUDGET_MODE_SERVE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: DREAM_PAYOFF_ORDER_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: EPISODES_CLIENT_CHANNELS (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: EPISODES_PERCENT (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_DEADLINE_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_DEADLINE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_PRESERVE_ADMITTED_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: FIRST_SUMMARY_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_MERGE_PRESERVATION (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_MERGE_UNION (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_RETENTION (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_STRICT_PROJECTION (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: LIVE_CAPTURE_WINDOW_TRANSLATOR_SENDS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_C6_TIMEOUT_SECONDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_CLAIMS_ENABLED (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_TIERED_ENABLED (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_TIER_MIN_SOURCE_KINDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_TIER_MIN_WORDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: MEETING_NOTES_EPISODE_WRITER_TIMEOUT_SECONDS (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: OMI_SHAPED_AGENT_MODE (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: PARAKEET_EXPLICIT_CUDA_GRAPHS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: PARAKEET_PACKING_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: PARAKEET_WINDOW_DIARIZATION (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SERVER_BATCH_ONLY_VISIBLE_RESTORE_PERCENT (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: SONIOX_CAPTURE_AXIS_DIAGNOSTICS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SONIOX_ELAPSED_AXIS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SONIOX_ORDERED_FINALIZE (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: SONIOX_WIRE_LEDGER (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SPEAKER_MATCH_SCORES_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_CAP_RECOVERY_COHORT (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: STT_FAILOVER_RECOVERY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_LEARNED_LANGUAGE_PROFILE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_MULTI_LANGUAGE_HINTS (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_NON_EN_MULTI_PREFER_HINTABLE_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_PAID_SPILLOVER_BUDGET_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_RESILIENT_RECONNECT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_ROUTING_MODE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: STT_ROUTING_ON_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SUMMARY_DEBT_REPAIR_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_ASSIGNMENT_CONTENTION_RETRY_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_ORDER (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_ORDER_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_ORDER_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_BACKFILL_RETIRE_EXPIRED_AT_CLAIM (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_DURABLE_REDRIVE_GUARD (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_LEGACY_COMPLETION_CONVERGENCE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: SYNC_LINEAGE_LIVE_DEDUPE_ENABLED (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: SYNC_LINEAGE_RESOLVE_ENABLED (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: SYNC_LINEAGE_RESOLVE_UID_ALLOWLIST (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: SYNC_POLL_BACKOFF_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_AUTHORITATIVE (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_SYNC_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_FINAL_PASS_VAD_COMPACTION_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_SHADOW_ENABLED (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_SHADOW_PERCENT (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: TRANSCRIPTION_SHADOW_UID_ALLOWLIST (review_by 2026-11-04)
review_overdue exception expired 2026-11-15: onboarding-setup-rating-prompt (review_by 2026-11-05)
review_overdue exception expired 2026-11-15: proactivity_v2 (review_by 2026-11-03)
review_overdue exception expired 2026-11-15: screen_activity_lossless_sync (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: screen_activity_lossless_sync_kill (review_by 2026-11-06)
review_overdue exception expired 2026-11-15: summary-generation-v2 (review_by 2026-11-04)

Landing and rollback

Merge after #24954; no serving value changes; rollback = revert this PR.

Rebase after #24954 merges, keeping both its registry v2 changes and this PR's duplicate logic/main() changes. No GCP tier was used; there were no production reads/writes, flag flips, deploys or merges.

View guided diff Turn on auto-fix

🤖 Generated with Claude Code

Retire the duplicate-declaration allowlist and reject repeated runtime env mapping keys while preserving serving values and admission guards.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 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-09T07:49:07.154939Z 6b76fa0 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 Git-on-my-level self-assigned this Nov 8, 2026
Git-on-my-level and others added 2 commits November 9, 2026 08:01
#24954 (registry checker v2) landed on main. Both sides deleted a module-level
exception table in scripts/check_feature_flag_registry.py: this branch removed
DUPLICATE_DECLARATION_ALLOWLIST and main removed REVIEW_OVERDUE, so neither
survives. Both sides added --as-of; main's form (with the stdout flush) is
kept. The rendered registry doc is regenerated and equals main's.

Failure-Class: none
Co-Authored-By: Claude Opus 5.5 <[email protected]>

@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: 6b76fa0840

ℹ️ 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 +563 to +566
if len(parents) == 4 and parents[0] == "cloud_run" and parents[1] in {"services", "jobs"} and parents[-1] == "env":
platform = "cloud_run_service" if parents[1] == "services" else "cloud_run_job"
return platform, "/".join(parents[:3])
return None

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve discovery of gateway manifest declarations

The new workload filter does not recognize llm_gateway.env, so declarations in that existing manifest section are silently skipped. For example, DREAM_ON_DEMAND_ENABLED in _base.yaml and LLM_GATEWAY_ACCOUNTING_ENABLED in prod.overlay.yaml no longer appear as gateway manifest declarations. Previously these entries were scanned, so an unregistered or retired flag introduced in this section produced an error; now the registry check accepts it unless it also appears in another scanned source. Add a gateway workload identity so the new source-grouping logic preserves validation of this deployment surface.

Useful? React with 👍 / 👎.

@Git-on-my-level
Git-on-my-level merged commit c06b9bc into main Nov 9, 2026
67 of 70 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/dup-decl branch November 9, 2026 08:09
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