Repository navigation
deploy(jobstore): stage the #25630 roll with retirement off on backend-integration - #25744
Merged
Merged
Conversation
…d-integration Sets JOBSTORE_RETIREMENT_ENABLED=off on backend-integration only, so the roll carries no copy-retirement ticks before migration 0010 is read back (lead2 a392ec). Target, mode, mirror and erasure unchanged. Re-enable by deleting the overlay line in a separate config step. Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
…s_kill Staging composes the prod overlay first, so pin JOBSTORE_RETIREMENT_ENABLED 'on' in staging env_all to keep its current default. Use category ops_kill to match the flag lifecycle (panel review-20261119t021451-a721 F2, F4). Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
Panel review-20261119t021451-a721 F1 (resolver accept): fail if the staged off is dropped or spread before the 0010 readback. Remove with the line. Failure-Class: none Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level
added a commit
that referenced
this pull request
Nov 19, 2026
… so trains from main are clean (#25778) ## What Reverts two merged, not-yet-serving changes: - #25744 `deploy(jobstore): stage the #25630 roll with retirement off on backend-integration` - #25630 jobstore retained-copy retirement, migration `0010_retirement_cursor.sql`, and the Postgres target env on all four Cloud Run services and the listen and worker charts Both are plain `git revert -m 1` of the merge commits (`d5329c70597d`, `f159cceccac0`). They applied with no conflicts, and no reference to the removed modules, env keys or migration remains on the branch. One deliberate deviation from a pure revert (commit `214a8955`): the `prod-jobs` private address `172.25.29.2/32` stays in the staging isolation fence (`PROD_NETWORKS`) with its regression cases. The instance still exists and staging still configures the job-store shadow path, so staging must keep refusing that address. Found by the panel review. ## Why David paused the Postgres job-store port on 2026-11-19 (Multica SCA-1959). With #25630 on main, every Cloud Run train from main adds the `JOBSTORE_*` target env. That makes account and conversation erasure connect to the idle `prod-jobs` instance before `finish_privacy_purge`, so a Postgres outage would make purges raise and retry, for no benefit while the port is paused. lead2 holds all trains for that reason (b592a8), which also blocks the conversations v3 Cloud Run trains. After this revert, the files these two PRs touched carry no jobstore target env, and a train from main no longer changes erasure. ## Risk and rollback - Nothing here is serving, so no running behaviour changes. Serving is still the `a6824b8` revisions. - Migration 0010 was never applied in prod (ledger is 1..8) and the copy tables were empty at the last count (2026-11-19 01:15:53Z), so no data depends on the removed code. - Rollback: revert this PR. ## Product invariants affected - INV-MEM-4: the change set touches a path under this invariant's globs only because it restores that file to its pre-#25630 content. No memory-promotion behaviour changes. ## Verification - CI green on `214a8955` (64 checks, 0 failed). - Panel reviews `review-20261119t104759-a779` (one major, fixed) and `review-20261119t112157-f094` (minor and nit findings, triaged). - Pre-push preflight on this branch. - `git grep` for `retirement_cursor`, `jobstore.retirement`, `JOBSTORE_RETIREMENT`, `0010_retirement`, `JOBSTORE_PG_HOST` in prod overlays and charts: no matches. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Git-on-my-level
added a commit
to Git-on-my-level/omi
that referenced
this pull request
Nov 19, 2026
…irement off on backend-integration (BasedHardware#25744)" This reverts commit d5329c7, reversing changes made to 1bdf17c.
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
Stage the #25630 roll with jobstore copy retirement off. This sets
JOBSTORE_RETIREMENT_ENABLED=offon the backend-integration Cloud Run service only. That is the one prod service where retirement ticks run (BATCH_PIPELINE_SERVING_ENABLED=true).Why: #25630 (merged f159cce) adds the jobstore PG target env to all four Cloud Run services. With the target set, retirement defaults on, so a roll before migration 0010 would tick
schema_missingon backend-integration. lead2 holds the roll (b592a8) and ruled this staging delta (a392ec). It lets the roll carry no retirement work. Release applies and reads back 0010 inside the canary. A separate later config step removes this line.Unchanged: the PG target, mode
firestore, mirroroff, and erasure.purge_jobstore_ownerstill reaches the target, because erasure does not read this switch.Rendered role-env diff (prod,
render_backend_runtime_env.py --env prod, origin/main 7c7b491 vs this head)No other service, secret, flag or identity output changes. The entry uses
category: ops_kill, matching the flag's lifecycle.Staging composes the prod overlay before its own, so the staging overlay pins
JOBSTORE_RETIREMENT_ENABLED: 'on'inenv_all. Staging keeps its current default behavior (panel review-20261119t021451-a721 F2).Rollback
Revert this PR, or delete the one overlay line. Retirement then returns to default on.
Product invariants affected
runtime_env.yaml). The change adds one jobstore retirement switch on backend-integration and touches no memory intake, promotion or projection behavior.Checks
compose_runtime_env.py --check: up to date.check_runtime_env_compose.sh: OK.check_feature_flag_registry.py: OK (registry re-rendered).test_prod_retirement_stays_off_on_the_serving_leader_until_0010_readbackpins the staged value (delete it with the overlay line).Not a roll GO. Release on SCA-2283 admits the runtime.
🤖 Generated with Claude Code