Repository navigation
Studio CI: long-chat gate measures the dialog lock again before failing - #16985
Merged
Merged
Conversation
One reading on a shared runner can catch the page mid-settle: a Windows leg read 125 ms of style recalc per lock toggle where the same build read 14 ms on every other leg, and failed the gate. When the reading is over budget, measure the 200-turn page once more on a fresh page and keep the lower value; a real regression reads high twice.
Codex Review Summary: ❌ FailedThis 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. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
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.
Follow-up to #16931. The long-chat gate fails a PR on one reading of the dialog/menu lock cost. On a shared runner that reading can catch the page mid-settle.
Problem
Staging for #16983 failed on
Inline images (windows-latest): the lock check read 125 ms of style recalc per toggle at 200 turns, against a 30 ms budget. The same commit read 14.3 ms inComposer (windows-latest)and 15-16 ms on Ubuntu and macOS. That page also read 0.2 ms/key of typing style recalc (normally 8) and about 400 extra DOM nodes, so it was not in its usual state. #16983 does not touch CSS.Fix
When the lock reading is over budget, measure the 200-turn page once more on a fresh page and keep the lower value. A real regression reads high twice, so it still fails. Runs under budget are unchanged and do no extra work.
Testing
LONG_THREAD_MAX_LOCK_MS=1the gate remeasures, printsdialog/menu lock 11 ms is over budget; measured again on a fresh page: 11 ms, and fails as before.