Skip to content

ci: install WebKitWebDriver from webkitgtk-webdriver on Ubuntu 26.04 - #118

Merged
addisdev merged 1 commit into
mainfrom
claude/determined-bohr-32nsy5
Oct 27, 2026
Merged

addisdev merged 1 commit into
mainfrom
claude/determined-bohr-32nsy5

Conversation

@addisdev

Copy link
Copy Markdown
Owner

What and why

This is a cherry-pick of 68c0a5e, which reached develop in #117. ubuntu-latest has started giving out ubuntu-26.04 images, and there desktop / launch smoke fails at apt-get: Package 'webkit2gtk-driver' has no installation candidate. In 26.04 the package is webkitgtk-webdriver, which still ships /usr/bin/WebKitWebDriver. Until this lands, any main PR that runs the desktop suite on a 26.04 runner fails the same way.

The Linux dependencies step now installs webkitgtk-webdriver when apt has a candidate for it and webkit2gtk-driver otherwise, so it works on both images while runners move over. apt-cache show is not the test: 24.04 knows the new name but has nothing to install under it. launch-smoke.sh's hint names both packages.

Both files are byte-identical to develop's after #117, so the next develop → main release merges without a conflict.

Verified

  • On Merge main into develop: line endings, dependency bumps, Node 24 actions #117, the same commit took desktop / launch smoke from failing to passing. Run 40332872839 ran on ubuntu-26.04, installed webkitgtk-webdriver 2.52.6-0ubuntu0.26.04.1 and logged desktop launch smoke: ok. Before the commit it failed at apt-get (job 121604523947).
  • Driver choice against real package indexes, with pipefail on. Ubuntu 24.04 → webkit2gtk-driver 2.52.6 (apt-get install -s resolves). Ubuntu 26.04 → webkitgtk-webdriver.
  • desktop.yml parses; launch-smoke.sh passes bash -n.
  • CI on this PR.
  • CHANGELOG.md: CI only, not user-visible.

What is still not true

  • Not yet seen on a 24.04 runner end to end. The fallback is checked only against the 24.04 package index; CI here may land on either image.
  • On the 26.04 run the apt-get step took 28 minutes, against about 90 seconds on 24.04. The job passed, but if that holds, caching the packages would be worth doing.

Generated by Claude Code

ubuntu-latest has started handing out ubuntu-26.04 images, where
webkit2gtk-driver is gone ("no installation candidate"; replaced by
webkitgtk-webdriver, which still ships /usr/bin/WebKitWebDriver). The
desktop launch smoke failed at apt-get on PR #117's first run; #114's
green run the day before was on ubuntu-24.04.

Pick the package by whether apt has a candidate for the new name:
`apt-cache show` succeeds on 24.04 too, which knows the name and has
nothing to install under it. Checked against both releases' indexes:
24.04 picks webkit2gtk-driver 2.52.6, 26.04 picks webkitgtk-webdriver
2.52.0, and every other package in the step has a 26.04 candidate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019jHjgRysB6GajV3oDppruf
(cherry picked from commit 68c0a5e)
@addisdev
addisdev merged commit 686e837 into main Oct 27, 2026
13 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