Repository navigation
revert(dream): DREAM_AGENT_PAID_PERCENT back to 25 (revert #23208) - #23295
Merged
Merged
Conversation
The 12:00Z sweep at 100% crashed in dream_scheduler.discover with Firestore DeadlineExceeded; prod was rolled back to 25 by env apply at 13:02Z. This keeps the manifest in sync so trains do not re-apply 100. 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. |
…e check ca8422b moved the reconcile switch into the wal_job_reconciliation.dart part file, so the single-file source assertion failed on main. Read the library plus its declared parts; behaviour is unchanged. Co-Authored-By: Claude Opus 5.5 <[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.
Summary
Reverts #23208:
DREAM_AGENT_PAID_PERCENTgoes from'100'back to'25'in the runtime env manifest, the prod overlay and the flag registry.Prod was rolled back to 25 by an env-only apply at 13:02Z (2026-10-22). This PR keeps main's manifest in sync, so later Cloud Run trains don't re-apply 100. Train W is blocked on it.
Why: the 12:00Z Dream sweep at 100% crashed.
POST /v2/dream-agent/sweepreturned 500 after 10.4 s, withgoogle.api_core.exceptions.DeadlineExceeded: 504indream_scheduler.discover→initialize(a transactionalget_allwith a 3 s timeout). At 100% eligibility, each discovery page's transaction also writes onedream_duerow per newly eligible owner. One discovery failure fails the whole sweep, so zero Dream passes ran that hour. That is a Dream ERROR, which is the agreed rollback trigger.A follow-up PR makes discovery failures non-fatal to the sweep and bounds each discovery transaction. The re-ramp to 100% waits for that fix to serve, plus two clean sweeps.
Also: main-red test fix (separate commit)
tests/unit/test_sync_silent_failure.py::test_app_keeps_wals_retryable_on_failed_reconcilefails on main as of 800f812. ca8422b moved theSyncJobFetchOutcome.notFoundreconcile switch into thewal_job_reconciliation.dartpart file, but the test reads onlylocal_wal_sync.dart. The test now reads the library plus its declaredpartfiles. App behaviour is unchanged, and the file passes locally (46 passed). It's bundled here so the revert can go green in one CI cycle; train W is blocked on it.Verification
This is a pure
git revertof the squash commit 79b1dcd: 4 files, values only. Prod already serves 25 on all four Dream services (backend-02100-9zw, backend-sync-01453-797, backend-sync-backfill-00708-wjd, backend-integration-01278-xpr), as read back from the serving revisions' env.Product invariants affected
Failure class
Failure-Class: none
🤖 Generated with Claude Code