Repository navigation
Run 33 browser tests no CI job ran, in the WebKit job split into three shards - #2780
Merged
Merged
Conversation
davidmckayv
requested review from
MikeRyanDev,
dustywusty,
guidovizoso,
mxmzb,
samjulien and
tylerslaton
as code owners
December 2, 2026 09:42
davidmckayv
enabled auto-merge
December 2, 2026 09:42
davidmckayv
force-pushed
the
ci/browser-tests-batch-1
branch
2 times, most recently
from
December 2, 2026 10:42
5d21fbf to
19a9925
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Dec 2, 2026
davidmckayv
force-pushed
the
ci/browser-tests-batch-1
branch
from
December 2, 2026 11:43
19a9925 to
5bc35b8
Compare
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Dec 2, 2026
…e app's Desktop calls to the real shell
Their first CI run found them stale against changes that landed on main today: - routine-run-now-layout: a running run now reads "Running now" (#2704). - plan-notices-layout: the trial-used-up dialog says it in one sentence, "All 500 Bot runs in your free trial are used." (#2692), as the suite's plan-free-trial.test.tsx reads it. - artifacts-screens: Back's focus reaches the tile that opened the artifact a moment after the address changes, once the list is drawn again; the case read it at once, while it was still on Back. It waits for it now, up to 5 s, and fails when the list's focus call is taken out.
…t unopened #2782 draws what a folded line holds only once it is opened (`useDrawnOnceOpened`), so a long turn's steps are not all on the page at once. Three browser tests no job ran read inside closed folds, and the merge queue's run of this pull request on top of it failed them: - run-ended-unheard-layout: openTo opens the closed lines on screen a level at a time until the step is drawn, and leaves the step's own line for the test to open. - browse-steps-layout and work-folded-layout: the rows drawn on opening are styled too (each test builds the app's stylesheet for the classes on the page). - work-folded-layout: folded, no command's card is out of a fold, and nothing of the work is on screen; it no longer waits for the cards to be drawn while folded, which is what #2782 stopped. Opened, the three commands are listed and each opens to its terminal inside the column, as before.
…page The merge queue's run failed two things: - sidebar-current-row: #2644 moved Invitations into the account menu's organization switcher. The test opens the menu, styles it, then opens the switcher and chooses Invitations, and waits for both menus to close. - no-fixed-settle-waits: run-ended-unheard's openTo waited a fixed 250 ms while the finished turn was still being drawn. It waits for a closed line, or for what it is after, instead.
davidmckayv
force-pushed
the
ci/browser-tests-batch-1
branch
from
December 2, 2026 12:29
5bc35b8 to
f82b48a
Compare
davidmckayv
enabled auto-merge
December 2, 2026 12:29
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.
What this changes
33 of the 34 browser tests that no CI job ran now run in CI, in the WebKit job (Chromium and WebKit), which is split into three shards to fit. #2764 brought in the rule that every real-browser test file is named in a job, with the 34 never-named files on a list that only shrinks; this takes that list down to one.
Each of the 34 ran in Chromium and WebKit on a throwaway Linux box (Playwright's image, as CI uses). 28 passed as they are. Five had gone stale against the app, and one needs a build step:
foldTurnWork, chat-transcript.tsx). It opens that line, as a person would, before reading the rows.commandStepWords, Release v1.2.5 #2626), not "Didn't run a command", which is what the command says drawn alone; it still has to read as not run and never as blocked. Main's version: 16 pass, 16 fail; this one: 32 pass, with A turn the server gave up carrying on reads as stopped, with Carry on #2773 and A finished run never says the Bot stopped while its stored copy catches up #2776 in.[data-slot="strip"] .agent-orb), so the positions it pins are the strip's: orb at 23,23, heading at 80,20. 26 pass.aria-current; after Invitations nothing is current and nothing is filled but not open; hovering Routines fills it at desktop width. 8 pass; witharia-currentput back on the pressed button it fails, naming Bots.app/dist/artifact-print.html, so it waits for a later change that adds the build to a browser job.Desktop's calls, held to the real shell
app/tests/desktop-page-commands.test.ts(new, in the ordinary suite, no browser) reads every call the app makes into OpenBot Desktop (invokeDesktop, the AI connection'sdesktop(), and literalplugin:…|…names) and fails when one isn't a command the shell registers (generate_handler!in desktop_page.rs), isn't in itsPERMISSIONS, or isn't allowed to the app page (allow_app_page,APP_PAGE_NOTIFICATIONSin main.rs). The app's browser tests stand in for Desktop with a fake (fakeNative), so a call renamed on one side passed them while Desktop refused it.plugin:event|listenandunlistenare the one exception, by name: the page isn't granted them, by design, and window-attention.ts falls back to the DOM. Taking a command out of the shell, or misspelling one in the app, fails it, naming the call.The WebKit job in three shards
At 65 files it took 16 to 17.5 minutes; 98 in one job would not fit its 30. It now runs as
app (real browser, WebKit) (shard N of 3),fail-fast: false, withbun test --shard, the same workers and timeouts as before, and the one-press clipboard check on the first shard only.scripts/ci-changes.tsnames the three shards as the job's checks, and the budget is 15 minutes a shard.Where it runs
Only tests and CI change.
Boundary and audit
API and database
api/, no app's requests, no database change and norelease-policy.json.Changelog
none: only tests and CI change, so a deployment behaves no differently.
Proof
Wall times, before (main) and after (this pull request's run):
The longest shard is the one with
artifacts-screens.test.tsx: about 13 minutes of tests in that one file, and a file runs in one worker, so no split of the list makes its shard shorter. The other 98 files come to about the same on each shard already (by this run's per-test times, a split by duration would move well under a minute). If it grows past the 15-minute budget, the cut is that file, one file per window width.The first full run also found three more of the never-run files stale against changes that landed today, now brought up to date:
The three: 252 pass, 0 fail, Chromium and WebKit, locally.