Repository navigation
SCA-3499: Retire the shared-live GPU pull - #26425
Open
Git-on-my-level wants to merge 2 commits into
Open
Git-on-my-level wants to merge 2 commits into
Git-on-my-level wants to merge 2 commits into
Conversation
David's 2026-11-21 ruling (survey item 19) retires the shared-live GPU pull: it was off in the overlay and live everywhere, and the M3 readout that would have justified a canary never arrived by 11-20. Removing it changes no production behaviour. Removed: - BATCH_PIPELINE_SHARED_LIVE_ENABLED from the flag registry (moved to the retired ledger), runtime_env base/overlay, both backend-listen charts, the worker chart, the deployment-setting classification and the cross-service coupled-flag list. - SchedulerPolicy.shared_live, config.batch_pipeline.shared_live_enabled, the policy snapshot getter and env key. - Scheduler(pool=...) and the live pool: the GPU reservation table writes, the gpu-idle acknowledgement, the shared-GPU exclusivity checks, the shared-live park reasons and the live-pool pull gate. - PoolCapacity.shared_with_live/live_queue_age_seconds/gpu_utilization/ memory_headroom_bytes/gpu_id and the shared-live branch of limits(). - The /v2/batch-pipeline/gpu-idle route, its request model and its route-policy manifest row; PullRequest.pool. - ProviderConfig's shared_live pool kind and its 120 s unit/padded caps; the worker now rejects any pool kind other than dedicated_batch. - Serving.queue(pool)/pull(pool), the shadow runner's shared-live gate, the dual-store GPU-reservation reconcile and the pipeline-sim trace field. - Tests that exercised the removed path, and the docs that described it. The gpus table stays registered in the jobstore schema: it is inert with no writers, and dropping it is a separate migration. Co-authored-by: Omi Control OpenCode (DeepSeek V4.1 Flash) <[email protected]> Co-authored-by: multica-agent <[email protected]>
Co-authored-by: multica-agent <[email protected]>
This branch has not been deployed
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
Supersedes #26336 (same removal re-cut on current
main; the earlier cut conflicts at6d4416c5a6).Retires the default-off shared-live GPU pull:
BATCH_PIPELINE_SHARED_LIVE_ENABLED, its runtime path (/gpu-idle,IdleRequest,PullRequest.pool, shared-live capacity/admission and GPU reservation code, theshared_livepool kind), the flag-registry row, tests and docs. SCA-3499; David's 2026-11-21 ruling (survey item 19: retire — off in overlay and live today, no M3 readout by 11-20). The jobstore GPU table is retained.Re-applied onto
61bbf844d1403cc7f7c5a4875af98c16b55598a5, preserving interveningmainchanges in the worker deployment template (shadowLanguageOnly, private-bindingBATCH_PIPELINE_UID_ALLOWLIST),/commit-wake, the follow-up sibling-skip flags, theWORKER_ENABLEDlifecycle relabel, and the 2026-11-21/22 flag retirements.Product invariants affected
dual_storediff only drops reconciliation of the retired shared-GPU reservation rows; owner reconciliation of queues/jobs/results is unchanged.How it was verified
Bounded
omi-heavyruns on M1 (workdir/omi,agent/m1-studio-devin-swe-2-1/e184c66e49fa):python3 scripts/check_feature_flag_registry.py→feature-flag registry: OK(only pre-existing grace-period warnings).backend/test.shover the 12 affected unit files (842 tests, all passed):test_batch_pipeline_chart,test_batch_pipeline_runtime,test_batch_pipeline_worker,test_batch_pipeline_scheduler,test_batch_pipeline_shadow_runtime,test_batch_pipeline_protected_share,test_batch_pipeline_cohort_config,test_batch_pull_busy_borrow,test_backend_runtime_env_validator,test_jobstore_production_copy,test_mobile_standard_batch,test_flag_budget.feature-flag-registry.mdregenerated viascripts/render_feature_flag_registry.py.Firestore/Postgres emulator integration tests (
tests/integration/*) were updated in the diff but not run here — they need live services; CI covers the hermetic selection.Tests
Removals are covered by the updated unit files above: the chart test renders the worker template without the flag env, registry/budget guards verify the row moved to the retired ledger, and the worker/runtime/scheduler suites exercise the dedicated-pool pull path that remains.
UI evidence
UI-Evidence: none -- backend-only removal, no client-visible surface.
Failure class (fixes)
Failure-Class: none