Repository navigation
backend/deploy: cap Dream at 6 passes/day until the reservation switch - #22066
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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. |
Git-on-my-level
added a commit
that referenced
this pull request
Oct 18, 2026
…ed levers (#22071) FIRESTORE_READ_LEVERS: singleton_loops 100 -> 0, backfill_task_reads/ historical_scan_memo/ledger_purge_coalesce/people_scan_dedupe 5 -> 0; the seven graduated levers stay 100 (missing keys default OFF, so the literal must stay complete). Generated with avo/firestore-reads/set_levers.py. - singleton_loops: verify UNSAFE at 2026-10-17T20:00Z (five reconcile loops acquired=0, lease starvation); starvation window coincides with sync-owner revision rolls #22061/#22063 (18:20Z/20:26Z) and leases recovered by 21Z, off stands pending lease rework (decision-2026-10-18T00Z-flagoff-five.md). - The four 5% levers: shared guard service backend-sync-backfill exempt only until 2026-10-18T01:00Z with 5xx at 7-8%/h and rising (630->2737/h 15Z-22Z) through sync-owner sequencer rework; evidence ambiguous -> off per loop judgment rules; re-enable at 5% after recovery exonerates. Reviewed by zcode glm-5.3: r1 exec-erupt-ordinary-quote-scrap-observe-reject (singleton-only, SAFE); r2 exec-print-tortoise-fire-panda-sustain-enforce caught replace-mode literal dropping the seven graduated levers (FIX-REQUIRED, fixed by restoring the complete 12-key literal + rebase onto #22066). Contract tests 79/79 green.
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
Lower the allowlisted Dream owner's daily pass cap from 48 to 6 on
backendandbackend-sync(prod) while we wait for the GCP reservation switchover.On 2026-10-17 Dream ran hourly at
$0.70/pass ($17/day), applying ~3 edits per pass, and two passes spent ~$0.70–0.83 applying nothing. Reliability and per-pass cost are now known, so hourly passes mostly cost money. Six passes/day keeps the full path exercised daily for ~$4–5/day.Note: the cap is a daily count, not a spacing rule, so the six passes run in the first dirty hours after 00:00 UTC. Restore to
'48'in the same config change as the reservation switchover.Product invariants affected
Verification
tests/unit/test_backend_runtime_env_validator.py: 169 passed (viatest.shwithBACKEND_UNIT_TEST_FILE_LIST).Rollback: set
DREAM_AGENT_PASSES_PER_DAYback to'48'.Failure-Class: none
🤖 Generated with Claude Code