Repository navigation
test: run the scrolling-draft Send placement cases with scrollbars shown - #5218
Merged
Merged
Conversation
test_send_grows_thread_around_the_words's two long-draft cases ran on the shared browser, launched with Playwright's --hide-scrollbars. There the comment box's `overflow: auto` bar takes no room, while the card's transcript, which holds `scrollbar-gutter: stable` once it overflows (#4841), still reserves the gutter: 10px on Linux Chromium. Linux absorbed that inside the card's slack, but on macOS the card wrapped narrower than the box, and both cases have failed every nightly test-macos run since #4841 landed. With scrollbars shown, the box and the card give up the same bar, as in a user's browser, so the cases now run on scrollbar_browser. The behavior they protect, a sent draft's words standing where they were typed, is unchanged. Refs #5174
This was referenced Nov 3, 2026
max-sixty
added a commit
that referenced
this pull request
Nov 4, 2026
`running-tend` told a session fixing a failure only `test-macos` shows to dispatch `ci` on the fix's branch and read that run's `test-macos` job. A triage session takes that as evidence it must collect before it finishes, so it polls the run for its whole length, four to five hours, while it holds the only triage lane. Two Claude triage sessions did so in their first day: #5174's waited 4 h 10 min and #5184's 4 h 46 min. In both, the PR (#5218, #5267) merged within 20 minutes of the wait starting, so the result changed nothing, and #5184's dispatched run ended red after its PR had merged. Leaf already chose not to have Tend sessions wait on CI (`await_ci: false`, #2455), and Tend tells every triage session so. This instruction, added in #3939, asked for a wait the setting doesn't govern, since the dispatched run is outside the PR's checks. It also supplied the "passes after" evidence the merge rule in **Fixing a CI failure's cause** asks for. Now the merge rule says that for a failure only `test-macos` shows, the checks the Linux runner can run suffice, and the macOS paragraph names the next scheduled run on main, after the merge, as the evidence after the fix. The landing sessions already worked that way: both PRs merged before their dispatched runs ended. If the scheduled run still fails, its CI report brings the failure back to triage. Supersedes #5315, which makes the same merge-rule change but still dispatches the macOS run and leaves the cause issue open until a later session reads it. That costs a macOS run and another triage session per fix to learn what the next scheduled run reports anyway. > _This was written by Claude Code on behalf of max-sixty_
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.
The two long-draft cases of
test_send_grows_thread_around_the_words(size3,size4) have failed in every nightlytest-macosrun since #4841 (passing 10-31 atd995f3e6d, failing 11-01, 11-02 and on the 11-03 dispatch). The cause is the test's browser, not the product: the sharedbrowserfixture launches with Playwright's--hide-scrollbars. With that flag, the comment box'soverflow: autobar takes no room, while the card's transcript still reserves itsscrollbar-gutter: stablegutter, which #4841 adds once the transcript overflows. So only the card gives up the bar's width. On Linux that is 10px and fits within the card's slack. On macOS the card wraps narrower than the box, so lines rewrap and the words move (in the 11-02 run, a line-end word at x=918.98 drops to the next line and the transcript shifts 273px).Measured on Linux Chromium at the
size3geometry, comparing the box's text column with the card's:browser)scrollbar_browser)With scrollbars shown, the box and the card give up the same bar and keep the card's usual 13px offset, as they do with no bar at all. Hiding scrollbars removes the box's bar but not the card's gutter, a pairing no user's browser makes. So the two cases now run on
scrollbar_browser. On macOS that fixture may still draw overlay bars, and an overlay bar reserves no gutter on either side. The assertion is unchanged: a sent draft's words stay where they were typed.Verification: both cases pass locally on Linux with shown bars. The macOS evidence comes from a
cidispatch on this branch, whosetest-macosjob runs them.This leaves one part of #5174 open. On 11-02 at 05:46 the same two cases failed once on the Linux
testjob (run 41395985405) with a smaller rewrap: one line moved, and the card was again narrower. They have passed in every Linux run since. That run used hidden bars with Linux's 10px gutter, so this change does not account for it.Refs #5174 — automated triage