Skip to content

test(dream): keep report read budgets at the 0.5 s ratchet floor (main red since #26284) - #26687

Merged
Git-on-my-level merged 1 commit into
mainfrom
lane/dream-budget-ratchet
Nov 29, 2026
Merged

Git-on-my-level merged 1 commit into
mainfrom
lane/dream-budget-ratchet

Conversation

@Git-on-my-level

@Git-on-my-level Git-on-my-level commented Nov 29, 2026 •

Copy link
Copy Markdown
Member

Main has been red since #26284 merged at 2026-11-29 04:01Z. Backend Unit Tests fails at test_real_clock_budget_ratchet.py::test_no_new_tiny_real_clock_budgets.

#26284 gave 8 tests in test_dream_report.py a real-clock OMI_LIST_READ_BUDGET_SECONDS of 0.25 or 0.3. The ratchet rejects any budget under 0.5 s, because a loaded CI runner can stall longer than that (#22758, #22767).

The fix follows the ratchet's option 3:

  • Those 8 budgets go to 0.5 s.
  • The matching timeout <= budget assertions go to 0.5.
  • The three stub stalls go from 0.3 s to 0.7 s, so they still outlast the budget.

Every test keeps the same truncation and 404 behaviour. It is test-only, with no production change.

Verification: bash test.sh tests/unit/test_dream_report.py tests/unit/test_real_clock_budget_ratchet.py gives 29 passed, and the ratchet file alone gives 11 passed.

Product invariants affected

none

🤖 Generated with Claude Code

View guided diff Turn on auto-fix

#26284 gave eight test_dream_report tests 0.25-0.3 s real-clock list read
budgets; test_real_clock_budget_ratchet rejects anything under 0.5 s, so
Backend Unit Tests is red on main. Raise them to 0.5 s and lengthen the
stub stalls to 0.7 s so every test keeps its truncation behaviour.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

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

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-29T04:24:33.567824Z f8e4b0c 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 0c267d5 into main Nov 29, 2026
73 checks passed
@Git-on-my-level
Git-on-my-level deleted the lane/dream-budget-ratchet branch November 29, 2026 04:39
Git-on-my-level added a commit that referenced this pull request Nov 29, 2026
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