Repository navigation
chore: retire dormant flags and register experiment decisions - #18968
Merged
Merged
Conversation
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
The K3 removal deleted the only model_dump in _emit_derived_effects; the trust-boundary pin must shrink with it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
summersmile1984
added a commit
to summersmile1984/omi
that referenced
this pull request
Sep 26, 2026
…axonomy Upstream's new feature-flag registry check (synced 2026-09-26, PR BasedHardware#18968 era) flags every literal backend getenv matching FLAG_SUFFIX (_ENABLED|_MODE|_KILL_SWITCH|_COHORT|_PERCENT|_PAUSED|_STOP|_SHADOW) as an unregistered feature flag. SENSEVOICE_SPEAKER_MODE is a deployment capability knob the fork's self-host bootstrap binds (always single_speaker), not a product behavior flag, and it cannot be registered: the key does not exist in upstream's tree, so an upstream registry entry would reference a name their scanner never sees. Refactor instead of editing the upstream registry: rename the fork-owned wire name to SENSEVOICE_SPEAKER_STRATEGY (the values select a speaker resolution strategy: auto/single_speaker/window_clustering). All six references are fork-owned (sensevoice/speaker.py, bootstrap bind, three fork tests); no compose, template, or doc mentions the old name. Evidence: scripts/check_feature_flag_registry.py -> "feature-flag registry: OK" exit 0; fork tests test_speech_contract (8), test_hosted_speech, test_startup_contract pass through test.sh; repo-wide grep shows zero SENSEVOICE_SPEAKER_MODE references. Failure-Class: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
create_speakers=trueand preserve mid-onboarding progress.config/feature-flags.yaml. Enforce preregistration and review dates for live experiments and render the running-experiments table; no automated flag flips or PostHog mutations.Per-item status
subscription.py. Full deletion of legacy on-state branches and tests exceeds ~600 lines; grandfather and trial metadata tests kept green. #15513'ssubscription.pydiff is at ~1745, disjoint from paywall lines ~199/393/429/1272.ScreenActivitySyncService.swift; cursor migration and FC-high-water-cursor-skips-unready-row coverage must land separately. No sync cursor or flag changed here.create_speakers=true, including installs that had persisted false.CONVERSATION_NOTES_V2_ENABLEDuntil the shadow path is moved safely.rollout_cli.pystill imports its benchmark/parity helpers; deletion is unsafe without confirming migration CLI consumers are one-shot and finished.ops_kill,decision: keepfor the prod pusher's true setting.ignore:with tracked decisions, not misclassified as remote switches.review_by; three missing/invalid cases tested. Kill-decision entries are temporarily exempt while K4/K5 code removal remains capped. No lifecycle automation.Production behavior
create_speakers=true.Product invariants
Verification
python3 scripts/test_check_feature_flag_registry.py(21 passed),python3 scripts/render_feature_flag_registry.py --as-of 2026-09-26,python3 scripts/check_feature_flag_registry.py(OK).BACKEND_UNIT_TEST_FILE_LIST=/tmp/k3-test-list.txt bash backend/test.sh(215 passed);/tmp/k4-test-list.txt(62 passed);/tmp/k6-test-list.txt(156 passed). No production backend request or remote service touched.backend/test.sh. Post-mergeBACKEND_UNIT_TEST_FILE_LIST=/tmp/postmerge-backend-tests.txt bash backend/test.shpassed 67 tests, including the upstream speaker-resolution integration. CI's backend E2E and emulator gauntlets are pending, not claimed as locally run.python3 scripts/l10n.py check(49 locales; 3388 keys after upstream merge); focusedflutter testK5/G2 (22 passed including actual websocket URL with persisted false); earlier K5 feedback/analytics suite (55 passed);python3 -m unittest test_provision.py(10 passed). Focused Flutter analyze found only two pre-existinginfodiagnostics on untouchedtranscription_service.dartlines.xcrun swift build --build-tests --package-path desktop/macos/Desktopbuilt all targets;xcrun swift test --package-path desktop/macos/Desktop --filter SBPostOnboardingGuidanceWiringTestspassed 19 tests, including resume/complete.Tests/signature search found no dangling calls to removed Swift types.origin/mainwith a non-rewriting merge.OMI_PR_BODY_FILE=/tmp/flag-cleanup-wave2-pr-body.md make preflightpassed 62/62 checks; the registry and deployment-env validators passed.Failure-Class: none
Generated with Devin