Repository navigation
Studio CI: long-chat gate Glass ceilings back to 10x (areas) and 18x (Settings scroll) - #17003
Conversation
Small, cheap areas (API monitor, source cards, account menu) read up to 7.8x under blurred Glass across 7 runs on main, so the 7x ceiling failed unrelated PRs on a normal reading (source cards 7.0x on a staging run). 10x is about 1.3x the highest reading. A new appearance mode still has no allowance and is held to 4x.
|
@codex review |
Codex Review Summary: ✅ CompletedThis 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. |
|
@codex review |
|
Codex Review: Didn't find any major issues. Another round soon, please! Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@codex review |
|
Codex Review: Didn't find any major issues. More of your lovely PRs please. Reviewed commit: ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
…se (#17012) ## Summary After #16978 lowered the long-chat gate's Glass ceilings to 7x for most areas and 12-15x for scrolling Settings, the "Browser gate for long-chat typing cost" step started failing on PRs that do not change what it measures. For example, on #16998 (one TS file): ``` FAIL: appearance mode blurred makes area api_monitor cost 539 ms CPU against 75 in the default appearance at 40 turns = 7.2x (limit 7.0x ...) FAIL: appearance mode liquid-3d makes area reasoning_toggle cost 576 ms CPU against 74 in the default appearance at 40 turns = 7.8x (limit 7.0x ...) ``` The same commit passed on rerun. #17003 has since put the ceilings back to 10x and 18x, which fixes the red runs. This PR adds the guard, so the ceilings cannot be tightened back into runner noise, or loosened until they stop catching anything, without a test saying so. The numbers come from the gate's own ratio table, which I parsed from 25 runs today on GitHub runners (ubuntu-24.04 and ubuntu-26.04): | | spread on identical code (same PR, repeated runs) | highest reading | |---|---|---| | Glass modes, other areas | 6.2x to 8.3x | 8.3x | | Glass modes, Settings scrolling | 9.3x to 13.8x | 14.0x | ## Change `tests/studio/test_area_matrix.py`: `test_shipped_ceilings_clear_runner_noise_but_not_a_real_regression` takes the highest runner reading for blurred thread scrolling (8.3x), liquid-3d reasoning toggle (7.8x), blurred Settings scrolling (14.0x) and frosted Settings scrolling (13.5x). It feeds each one through `judge()` with the shipped `KNOWN_DEFAULT`. Each reading must pass, and 1.5x each reading must fail. No product or gate code changes. ## Testing | `_area_matrix.py` ceilings | new test | |---|---| | main (10x / 18x, from #17003) | 4 passed | | #16978's (7x / 12-15x) | 3 failed: 8.3x, 7.8x and frosted 13.5x read as regressions | | pre-#16978 Settings value, 28x | 2 failed: 1.5x the worst Settings reading, about 21x, passes | `test_area_matrix.py` in full: 32 passed.
Follow-up to #16978. Its Glass ceiling of 7x per area was set from too few readings and fails unrelated PRs.
Problem
Staging for #16876 (which does not touch source cards) failed the long-chat gate:
appearance mode frosted makes area source_card cost 1,111 ms CPU against 159 in the default appearance at 40 turns = 7.0x (limit 7.0x). Across 7 local runs of the gate on main, several small, cheap areas read close to or over 7x under Glass on main itself:Fix
The per-area Glass ceiling goes from 7x back to 10x, about 1.3x the highest reading. The Settings scroll ceilings go from 12-15x to 18x: staging for #16865 (which does not touch Settings or Glass) read
frosted makes area settings_scroll cost 1,903 ms CPU against 141 ... = 13.5x (limit 12.0x)on a GitHub runner, above the 9.7-12.2x seen locally. A new appearance mode still has no allowance and is held to the plain 4x limit, so a new slow material is still caught.Testing
test_area_matrix.py: 28 passed.