You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
e2e: side-by-side action bar close button covered by the scrollbar on macOS (chunk output test) #19576
The e2e test "keeps the sides level with the action bar open by a chunk's output" (git_diff_gutter.test.ts:4367) fails consistently on macOS Desktop when run locally. It has not run on macOS in CI yet.
CI status
In the scheduled run 42985691338 it passed on Ubuntu 22, Ubuntu 26 and Fedora 44. On macOS 15 it was skipped on both attempts: the file is a test.describe.serial suite, and an earlier test in it ("keeps the change in view as the peek and the side-by-side padding move around it") failed, so the rest of the suite was skipped. A fix for that earlier failure is in progress; once it lands, this test will start running on macOS CI and is expected to fail there.
Local failure (macOS, test:desktop-dev)
The test opens side by side on an R Markdown file, runs a chunk so its output sits below the closing fence, opens the action bar at a deleted line, then clicks the bar's close button (line 4425). The click times out because the live editor's vertical scrollbar covers the button:
The trace's screencast shows the action bar's × at the far right edge of the "After" pane, where the scrollbar is. The failure is the same with and without the in-progress fix mentioned above.
Possible product bug (not yet confirmed by hand)
The action bar is an Ace line widget with fixedWidth: true, for which Ace sets the widget's right edge to renderer.scrollBar.getWidth() so that it stays clear of the scrollbar. Here it evidently doesn't. The local machine has macOS's "Show scroll bars" setting at its default (Automatic), which shows full-width scrollbars when a mouse is connected; the Linux CI runners likely have scrollbars that take no space, which would explain why it passes there.
If so, a macOS (or Windows) user with visible scrollbars can't click the action bar's close button in that situation; Escape still closes it. This hasn't been reproduced by hand yet.
Activity
measure the git peek again when the editor's width changes
leave the unreleased action bar out of the #19576 news entry
keep the git peek's close button clear of the editor scrollbar (#19587)