Repository navigation
test(replay): replay with a service's deployed runtime config - #24654
Merged
Merged
Conversation
RUNTIME_ENV=<service>[:<env>] renders the service's runtime config with the repository's own composer (Helm render for GKE services) and applies only allowlisted, non-secret keys inside the hermetic replay environment. Gate sides render from their own archived trees, so config-only changes show up. Fixes that ship as config (e.g. FSR_SUBSCRIPTION_TTL_SECONDS=55) can now be replayed directly. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Git-on-my-level
marked this pull request as ready for review
November 5, 2026 01:25
Codex Review SummaryThis 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. |
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
Lets the replay harness run with a service's deployed runtime config, so fixes that ship as config can be replayed directly.
The replay environment clears every env var except
PATH,TMPDIRandSYSTEMROOT, for hermeticity, so deploy config never reached product code. #24639 shippedFSR_SUBSCRIPTION_TTL_SECONDS=55as runtime config, yet replaying main still ran the code default (60s) and reported 37 privacy mismatches.--runtime-env <service>[:<env>]onrun, andRUNTIME_ENV=...onmake replay-harness,make replay-privacy-fullandmake replay-gate. The default env is prod.*_PERCENT,*_TTL_SECONDS,*_ENABLED). Secret or indirect entries are dropped. Credentials, project IDs, endpoints and emulator settings stay as the hermetic environment sets them, and a conflicting value is refused.Result
Full privacy replay of main with
RUNTIME_ENV=backendand no TTL override: 1,400 transitions, 1,049 verified, 0 mismatches, 0 errors, 5s margin. With code defaults, the same replay reproduces the +60s mismatches. This covers the checked-in config at the tested source, not the live traffic-serving revision.Product invariants affected
none (test tooling only; no product code, no
.githubchanges)Verification
fixed;make preflight36 checks.Rollback
Revert the PR.
Failure-Class: none
🤖 Generated with Claude Code