Repository navigation
ci: install WebKitWebDriver from webkitgtk-webdriver on Ubuntu 26.04 - #118
Merged
Merged
Conversation
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)
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 and why
This is a cherry-pick of
68c0a5e, which reacheddevelopin #117.ubuntu-latesthas started giving outubuntu-26.04images, and theredesktop / launch smokefails atapt-get:Package 'webkit2gtk-driver' has no installation candidate. In 26.04 the package iswebkitgtk-webdriver, which still ships/usr/bin/WebKitWebDriver. Until this lands, anymainPR that runs the desktop suite on a 26.04 runner fails the same way.The
Linux dependenciesstep now installswebkitgtk-webdriverwhen apt has a candidate for it andwebkit2gtk-driverotherwise, so it works on both images while runners move over.apt-cache showis 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 nextdevelop→mainrelease merges without a conflict.Verified
desktop / launch smokefrom failing to passing. Run 40332872839 ran onubuntu-26.04, installedwebkitgtk-webdriver2.52.6-0ubuntu0.26.04.1 and loggeddesktop launch smoke: ok. Before the commit it failed atapt-get(job 121604523947).pipefailon. Ubuntu 24.04 →webkit2gtk-driver2.52.6 (apt-get install -sresolves). Ubuntu 26.04 →webkitgtk-webdriver.desktop.ymlparses;launch-smoke.shpassesbash -n.CHANGELOG.md: CI only, not user-visible.What is still not true
apt-getstep 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