Repository navigation
feat(batch-worker): bind the Omi flag store on the GPU worker chart - #26466
Merged
Merged
Conversation
The reliability experiment commit_wake is decided per owner on the worker that commits a result and on the serving backend that receives the wake. The serving roles read the Omi flag store; the worker chart had no binding, so the worker's check read off for every owner. The chart now renders OMI_FLAGS_FIRESTORE_PROJECT and OMI_FLAGS_FIRESTORE_DATABASE from worker.flagStoreProject and worker.flagStoreDatabase. Production sets them to the store the serving roles read; dev and staging leave them empty, which renders nothing. No rule admits an owner on the worker until a rule exists, so behaviour is unchanged until then. Failure-Class: none 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.
What changed and why
The batch GPU worker chart can now bind the Omi flag store (
OMI_FLAGS_FIRESTORE_PROJECT,OMI_FLAGS_FIRESTORE_DATABASE), and the production values set it to the store the serving roles already read.The reliability experiment
commit_wake(#26348) is decided per owner in two places: the worker that commits a result and the serving backend that receives the wake. The serving roles read the flag store; the worker chart had no binding, so the worker's check read off for every owner and a rule could not admit anyone there. The registry row forcommit_wakealready names this as its precondition.Nothing changes in behaviour with this PR alone:
Roll note for the release owner: the preserve-live image-only worker release keeps the live environment, so this binding arrives only with a chart roll of the worker. The worker's service account needs read access to the flag database; please confirm it at roll time. A chart roll also applies every other value of the production values file, so compare the live worker with the rendered chart first (pump depth in particular).
Product invariants affected
none
How it was verified
helm templatethrough the chart test helper with the production values: the three GPU pump deployments (primary, T4 fallback, borrower) carry both names with the values ofdeploy/runtime_env/prod.overlay.yaml; the record-seal worker, a different program, carries neither. With default values no deployment carries them.bash test.shovertests/unit/test_batch_pipeline_chart.py,tests/unit/test_batch_pipeline_cohort_config.pyandtests/unit/test_cross_service_deploy_contract.py: all pass, including the two new tests. On this Mac thetest_rollout_wait_*/test_rollout_verify_*cases need GNUtimeout, which macOS lacks; they were run with a local stand-in for it.tests/unit/test_monitoring_notification_contract.py, which needs Go (not installed here) and reads nothing this PR touches; left to CI.helm lintof the chart with the production values: no failures.Tests
backend/tests/unit/test_batch_pipeline_chart.py:test_production_workers_read_the_flag_store_the_serving_roles_read: every GPU pump deployment rendered from the production values names the same project and database as the serving integration role in the runtime manifest.test_worker_without_a_flag_store_renders_no_flag_store_binding: the default chart renders noOMI_FLAGS_*name.UI evidence
UI-Evidence: none -- chart values and a chart test only
Failure class (fixes)
Failure-Class: none
🤖 Generated with Claude Code