Skip to content

Studio CI: long-chat gate Glass ceilings back to 10x (areas) and 18x (Settings scroll) - #17003

Merged
danielhanchen merged 4 commits into
mainfrom
studio-gate-small-areas
Nov 7, 2026
Merged

danielhanchen merged 4 commits into
mainfrom
studio-gate-small-areas

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 7, 2026 •

Copy link
Copy Markdown
Member

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:

Mode Area Highest reading on main
blurred api_monitor 7.8x
blurred source_card 7.0x
blurred account_menu 6.8x
liquid-3d run_settings 6.2x
blurred reasoning_toggle 6.1x
liquid tool_toggle 6.1x

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.

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.
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 7, 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-07T09:24:47.331717Z b4324f7 Manual request
ℹ️ 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.

@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Another round soon, please!

Reviewed commit: 105bac1ba5

ℹ️ 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".

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".

@danielhanchen danielhanchen changed the title Studio CI: long-chat gate Glass ceiling back to 10x so small areas stop failing unrelated PRs Studio CI: long-chat gate Glass ceilings back to 10x (areas) and 18x (Settings scroll) Nov 7, 2026
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: b4324f70ed

ℹ️ 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".

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".

@danielhanchen
danielhanchen merged commit 8e8c910 into main Nov 7, 2026
@danielhanchen
danielhanchen deleted the studio-gate-small-areas branch November 7, 2026 11:49
danielhanchen added a commit that referenced this pull request Nov 7, 2026
…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.
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