Repository navigation
ci: remove the Google Chrome apt source in setup - #25990
Conversation
The runner image installs Chrome from a direct .deb, then deletes the apt source that the package creates. It only removes the legacy /etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write google-chrome.sources in deb822 format instead, pointing at https://dl.google.com/linux/chrome-stable/deb/, so the source survives on ubuntu-latest. Every apt-get update then queries that repository. On 2026-09-09 Google regenerated its Release file at 17:16:59 UTC and the CDN served a stale Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum mismatch" and exit code 100, which broke every job that uses this action with system or python dependencies, on every branch.
There was a problem hiding this comment.
🟢 Approval recommended
The change is narrowly scoped, YAML syntax/indentation is correct, and it directly prevents the documented CI failure mode without introducing risky behavior.
Pull request overview
This PR hardens the repo’s CI setup composite action by removing the Google Chrome APT source files that Chrome’s .deb package creates, preventing apt-get update from querying Google’s repo (and failing) on ubuntu-latest.
Changes:
- Delete
/etc/apt/sources.list.d/google-chrome.*before running any subsequent apt-based dependency installation. - Keep the existing
man-dbpurge as part of the same “Cleanup apt” step.
File summaries
| File | Description |
|---|---|
.github/actions/setup/action.yml |
Removes the lingering Chrome APT source files before later steps run apt-get update, avoiding CI failures from intermittent Google repo metadata mismatches. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25990 +/- ##
=======================================
Coverage ? 91.82%
=======================================
Files ? 1169
Lines ? 75419
Branches ? 4054
=======================================
Hits ? 69253
Misses ? 6124
Partials ? 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-2ecc95612d69c5ef7964d450d91990dff13228c1
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-2ecc95612d69c5ef7964d450d91990dff13228c1Afterwards, run the upgrade commands from the latest release notes. |
|
🍒 Cherry-pick to |
|
🍒 Cherry-pick to |
|
🍒 Cherry-pick to |
…to version-2026.8) (#26013) ci: remove the Google Chrome apt source in setup (#25990) * ci: remove the Google Chrome apt source in setup The runner image installs Chrome from a direct .deb, then deletes the apt source that the package creates. It only removes the legacy /etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write google-chrome.sources in deb822 format instead, pointing at https://dl.google.com/linux/chrome-stable/deb/, so the source survives on ubuntu-latest. Every apt-get update then queries that repository. On 2026-09-09 Google regenerated its Release file at 17:16:59 UTC and the CDN served a stale Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum mismatch" and exit code 100, which broke every job that uses this action with system or python dependencies, on every branch. Co-authored-by: Emil Burzo <[email protected]>
…to version-2026.5) (#26011) ci: remove the Google Chrome apt source in setup (#25990) * ci: remove the Google Chrome apt source in setup The runner image installs Chrome from a direct .deb, then deletes the apt source that the package creates. It only removes the legacy /etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write google-chrome.sources in deb822 format instead, pointing at https://dl.google.com/linux/chrome-stable/deb/, so the source survives on ubuntu-latest. Every apt-get update then queries that repository. On 2026-09-09 Google regenerated its Release file at 17:16:59 UTC and the CDN served a stale Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum mismatch" and exit code 100, which broke every job that uses this action with system or python dependencies, on every branch. Co-authored-by: Emil Burzo <[email protected]>
…to version-2026.2) (#26012) ci: remove the Google Chrome apt source in setup (#25990) * ci: remove the Google Chrome apt source in setup The runner image installs Chrome from a direct .deb, then deletes the apt source that the package creates. It only removes the legacy /etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write google-chrome.sources in deb822 format instead, pointing at https://dl.google.com/linux/chrome-stable/deb/, so the source survives on ubuntu-latest. Every apt-get update then queries that repository. On 2026-09-09 Google regenerated its Release file at 17:16:59 UTC and the CDN served a stale Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum mismatch" and exit code 100, which broke every job that uses this action with system or python dependencies, on every branch. Co-authored-by: Emil Burzo <[email protected]>
The runner image installs Chrome from a direct .deb, then deletes the apt source that the package creates. It only removes the legacy /etc/apt/sources.list.d/google-chrome.list. Current Chrome packages write google-chrome.sources in deb822 format instead, pointing at https://dl.google.com/linux/chrome-stable/deb/, so the source survives on ubuntu-latest.
Every apt-get update then queries that repository. On 2026-09-09 Google regenerated its Release file at 17:16:59 UTC and the CDN served a stale Packages.gz for about 40 minutes. apt-get update failed with "Hash Sum mismatch" and exit code 100, which broke every job that uses this action with system or python dependencies, on every branch.