Repository navigation
Keep scrolling to the end of the reasoning transcript in the thread settings driver - #11575
Conversation
…ettings driver Chat UI Tests (extra) fails check_reasoning_transcript on every PR since #11522, whose own Chat UI legs were cancelled before they ran. The driver sent one 100000 px wheel and waited for Step 0399. One wheel stops at the bottom of the height estimated for passages not yet mounted, and measuring those it mounts grows the transcript under it: locally the first wheel stopped at scrollTop 8468 of 15637 and the second reached the end, with the window still bounded. CI's retries then waited on a window nothing was going to move. Wheel until the last passage mounts, bounded at 12. The bounded-mount assertion after it is unchanged.
|
@codex review |
|
You have reached your Codex usage limits for security reviews. Please try again later. |
Codex Review SummaryThis 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: Didn't find any major issues. Chef's kiss. 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". |
…ettings driver (unslothai#11575) * Keep scrolling to the end of the reasoning transcript in the thread settings driver Chat UI Tests (extra) fails check_reasoning_transcript on every PR since unslothai#11522, whose own Chat UI legs were cancelled before they ran. The driver sent one 100000 px wheel and waited for Step 0399. One wheel stops at the bottom of the height estimated for passages not yet mounted, and measuring those it mounts grows the transcript under it: locally the first wheel stopped at scrollTop 8468 of 15637 and the second reached the end, with the window still bounded. CI's retries then waited on a window nothing was going to move. Wheel until the last passage mounts, bounded at 12. The bounded-mount assertion after it is unchanged. * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Summary
Chat UI Tests (extra)fails inplaywright_thread_scoped_settings.py, step 19, on every PR that has reported since #11522 merged (#11566, #11560, #11559, #11555, #11549, #11528):#11522 replaced reasoning pagination with a virtualized continuous transcript and rewrote this check. Its own Chat UI legs were cancelled, so the check had never run green.
The product is fine; the driver's single scroll is not enough. It sends one 100000 px wheel, then waits. With a virtualized list, that wheel stops at the bottom of the height estimated for passages not yet mounted. Measuring the passages it does mount grows the transcript underneath it. Reproduced locally against Studio built from main:
On CI the 5 s of
expectretries were waiting on a window that nothing was going to move. A reader keeps scrolling, and now the driver does too: it wheels until the last passage mounts, bounded at 12. The "scrolling mounted the entire trace" assertion after it is unchanged, so the bounded-window claim is still checked at the end.Verification
check_reasoning_transcriptpasses 3 of 3 against the same server.Not changed: the estimate for a prose passage (
max(1, lines - 2) * lineHeightinreasoning-transcript.tsx) undershoots a rendered paragraph by about half, which is why the first scroll lands mid-transcript. Readers see the scrollbar grow as they go; that is a UX call for the transcript, not something this test should paper over or pin.