Repository navigation
fix(deploy): declare finish backoff off for prod integration and sync (SCA-2283) - #25320
Merged
Merged
Conversation
Production turned BATCH_PROJECTION_FINISH_BACKOFF_ENABLED off at 19:41Z on 2026-11-14 and the ruling is that it stays off (SCA-2283). Main still said true since #25307, so the next rendered deploy would have turned it back on. Co-Authored-By: Claude Fable 5.2 <[email protected]>
The flag record still said terminal on with a ramp to 100 percent, which contradicted the production overlay now that the flag is kept off by ruling (SCA-2283). Review finding on #25320. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…kfill Both services still serve a hand-set true from 2026-11-13. Deploy merges env, so leaving the key undeclared would keep it. Listing it in forbidden_env makes the next deploy remove it (release owner's finding on SCA-2283). Co-Authored-By: Claude Fable 5.2 <[email protected]>
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.
Why
BATCH_PROJECTION_FINISH_BACKOFF_ENABLEDwas turned off in production at 19:41Z on 2026-11-14 (revisionbackend-integration-provfix-off1114) by the SCA-2175 owner on its 5xx-doubling trigger, and the push captain ruled that it stays off (SCA-2173, SCA-2222, SCA-2283). Main still declares it'true'for prod backend-integration and backend-sync since #25307, so the next deploy rendered from the repo would turn it back on. This PR makes the repo say what production runs.The flag saved nothing while it was on (17:11Z to 19:41Z): every finish row on backend-integration is an async-policy row, and those are never deferred. Finish rows read stayed at 63k to 69k per five minutes and completions stayed at 0. The real fix is #25314 (SCA-2280).
What changed
backend/deploy/runtime_env/prod.overlay.yaml: the binding is'false'(category rollout) forbackend-integrationandbackend-sync. It stays declared, not removed, so an operator value cannot silently differ from the repo.backend/deploy/runtime_env.yaml,backend/docs/feature-flag-registry.md: regenerated.config/feature-flags.yaml: the flag's record says terminaloff, with a dated note. Its ramp stays in the record because the registry check requires one on a pending rollout row; the note says it is suspended. Whether to remove the flag is decided after the SCA-2280: skip async receipts in the projection finish sweep #25314 readout.backend/tests/unit/test_render_backend_runtime_env.py: the pin moves from'true'to'false'on those two services; absent everywhere else, as before.prod.overlay.yamlforbidden_envforbackendandbackend-sync-backfill: the flag is on the removal list. Both services still serve a hand-settruefrom 2026-11-13 (read from the traffic-receiving revisions at 20:26Z). Deploy merges env, so leaving the key undeclared would keep it. Neither service runs the finish sweep, so the value is inert there; this makes the repo and production agree. The test pins the removal.What did not change
No code path. The code default was already off. No other environment. On backend and backend-sync-backfill the only change is removing an inert leftover.
Tests
tests/unit/test_render_backend_runtime_env.pyandtests/unit/test_backend_runtime_env_validator.pypass; both generator--checkcommands pass.Rollout
Rides Train 2 (cut-off 01:00Z on 2026-11-15). After it serves, the cost owner reads the value back from the revisions receiving traffic on both services. To turn it on again: set it
'true'here; nothing else is needed.Product invariants affected
Named because
backend/deploy/runtime_env.yamlchanges. This PR changes one batch-projection binding and touches no memory intake, consolidation, promotion or privacy TTL setting; INV-MEM-4 behaviour is unchanged.Failure-Class: FC-deploy-literal-reverts-operator-value
🤖 Generated with Claude Code