Skip to content

ci: Remove D-Bus installation - #5828

Merged
backspace merged 7 commits into
mainfrom
ci-drop-dbus-helpers
Aug 20, 2026
Merged

ci: Remove D-Bus installation#5828
backspace merged 7 commits into
mainfrom
ci-drop-dbus-helpers

Conversation

@backspace

@backspace backspace commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

This was an attempt at Percy stability that didn’t really help and just wastes setup time.

An apt install of dbus-x11 and upower was added in October 2025 to reduce Percy
instability, bundled in one commit with a Monaco test waiter and a Percy config
change. Every Percy cause diagnosed since has been somewhere else — a
module-level panel-width singleton, the discovery browser's font cache — so
whether these packages still earn their place has never been tested.

They are not free. This is the last apt call left in the workflow, and so the
only remaining reason Ubuntu's mirrors sit on its critical path. upower alone
brings six dependencies, four of them iOS device libraries, so that a headless
runner can report the battery level of a phone that is not attached.

The tests still run under `dbus-run-session`. If the image does not provide it
the step fails immediately with a command-not-found rather than hanging, so
this is inexpensive to be wrong about; the probe that replaces the install
records what the image actually ships either way.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@backspace
backspace marked this pull request as ready for review August 20, 2026 00:25
@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Preview deployments

Host Test Results

    1 files  ± 0      1 suites  ±0   1h 49m 28s ⏱️ - 18m 10s
4 327 tests +18  4 313 ✅ +18  14 💤 ±0  0 ❌ ±0 
4 346 runs  +18  4 332 ✅ +18  14 💤 ±0  0 ❌ ±0 

Results for commit eaf82b3. ± Comparison against earlier commit 91556d6.

Realm Server Test Results

    1 files  ±0      1 suites  ±0   14m 10s ⏱️ -2s
2 190 tests ±0  2 190 ✅ ±0  0 💤 ±0  0 ❌ ±0 
2 273 runs  ±0  2 273 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 91556d6. ± Comparison against earlier commit 9f8e66e.

backspace and others added 4 commits August 19, 2026 20:53
Percy only runs when a pull request touches packages/host, boxel-ui,
boxel-icons, base or runtime-common. This branch changes a workflow file alone,
so Percy was skipped — and since the D-Bus helpers were installed specifically
to reduce Percy instability, the first green run validated everything except
the thing the experiment exists to test.

A comment in the host README flips that gate without altering behaviour, and
without matching the narrower render-path list that would also force a
from-scratch index. Remove before merge.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
The previous run's Percy result was inconclusive, so this takes another sample
of the same tree. No content change.
The previous two builds reported differing counts of visual changes on an
identical tree. Those snapshots have since been accepted, so this samples the
same tree once more: a clean build means the earlier counts were baseline drift
rather than run-to-run variance. No content change.
The previous build was clean against the accepted baseline. This repeats it on
the same tree to confirm that was stable rather than a single friendly
comparison. No content change.
backspace and others added 2 commits August 20, 2026 08:11
It existed only to bring Percy into this branch's runs, by making the pull
request touch a path Percy gates on. Percy has now been sampled four times
against an identical tree and reported three changes, then four, then none,
then one — so it cannot attribute anything to this change in either direction,
and further samples would characterise Percy rather than the removal.

What the runs did establish stands on its own: dbus-run-session is already on
the runner image via dbus-bin, upower is unnecessary, and the host suite is
green across every sample.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@backspace
backspace merged commit 5fd1a48 into main Aug 20, 2026
55 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants