Skip to content

config(dream): open Dream to all paid owners - #23208

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/dream-ramp-100pct
Oct 22, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/dream-ramp-100pct

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Oct 22, 2026 •

Copy link
Copy Markdown
Member

Summary

This opens Dream to all paid owners. It changes config only, on the four Cloud Run services (backend, backend-sync, backend-sync-backfill, backend-integration): DREAM_AGENT_PAID_PERCENT goes '25' → '100'. Concurrency stays at 8.

The value is set to an explicit '100' rather than removed, because a Cloud Run env merge never removes a key; dropping it from the manifest would leave 25 live. A cleanup PR deletes the knob after the soak.

Evidence at 25%, which this must not merge without:

  • 03:00Z sweep: complete=9 failed=0, 17.1M dedicated 3.8 tokens, 0 spillover.
  • 04:00Z sweep: complete=10 failed=0, 16.5M dedicated, 0 spillover, no Dream ERROR lines.
  • Probe fix: Dream: probe reserved capacity through the LLM gateway; add kill switch #23180 (gateway probe, kill switch DREAM_GATEWAY_PROBE_ENABLED) live on f93c9f8 since 04:09Z.
  • Gate: the 05:00Z and 06:00Z sweeps on f93c9f8 must each show complete ≥ 8, zero probe_failed waits, failed < 2/h, no Dream ERRORs and dedicated-only 3.8.

Rollback: set DREAM_AGENT_PAID_PERCENT back to '25'.

Ramp plan

  • Cohort: all paid owners, soaked 6h.
  • Clean metric:
    • <2 failed Dream passes/h;
    • no FirestoreContentionExhausted;
    • no new Dream ERROR signatures;
    • zero shared or on-demand 3.8 Dream spend.
  • Expander and deadline: dazheng (Dream lane), applied env-only by the rollout lead. Target 2026-10-22 12:00Z.

Verification

  • scripts/check_feature_flag_registry.py: OK.
  • The composed manifest matches the overlay.

These cover config only. The live check is the per-revision env readback and the next sweeps.

Product invariants affected

  • INV-MEM-4

Failure class

Failure-Class: none

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review 🔄 Running since 2026-10-22T04:31:37.667230Z 7bdff51 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

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
Git-on-my-level merged commit 79b1dcd into main Oct 22, 2026
62 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/dream-ramp-100pct branch October 22, 2026 11:30
Git-on-my-level added a commit that referenced this pull request Oct 22, 2026
…23295)

* revert(dream): DREAM_AGENT_PAID_PERCENT back to 25 (revert #23208)

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]>

* test(sync): read local_wal_sync part files in the WAL reconcile source 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]>

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant