diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8f6cada2..640bbb80 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -26,7 +26,24 @@ updates: cooldown: {default-days: 14} - package-ecosystem: docker - # The emulator images, and the two runner images. - directories: ["/", "/src/runners/emulator", "/src/runners/upstream"] + # The emulator images. + directory: / + schedule: {interval: weekly} + cooldown: {default-days: 14} + + - package-ecosystem: docker + # The two runner images stand in for GitHub's hosted Ubuntu workers, + # which run LTS releases only, so the base must never move to an + # interim release (24.10, 25.10, ...). Dependabot's ignore rules match + # update types and version ranges, not LTS vs interim, so this blocks + # every new Ubuntu release. LTS moves are made by hand: the libicu + # package name changes with the release, and both images have to be + # built and run on the new base. + directories: ["/src/runners/emulator", "/src/runners/upstream"] schedule: {interval: weekly} cooldown: {default-days: 14} + ignore: + - dependency-name: ubuntu + update-types: + - version-update:semver-major + - version-update:semver-minor diff --git a/PLAN.md b/PLAN.md index df2879e5..fc9f3830 100644 --- a/PLAN.md +++ b/PLAN.md @@ -189,6 +189,7 @@ Actions visibility and runner evaluation. - `docs/bugs/fixed/make-smoke-api-steps-cannot-fail.md` - `docs/bugs/fixed/graphql-job-token-viewer-is-the-run-actor.md` - `docs/bugs/fixed/runner-drops-a-job-handed-out-while-its-worker-exits.md` +- `docs/bugs/fixed/dependabot-proposes-interim-ubuntu-for-runner-images.md` ## Decisions diff --git a/docs/bugs/fixed/dependabot-proposes-interim-ubuntu-for-runner-images.md b/docs/bugs/fixed/dependabot-proposes-interim-ubuntu-for-runner-images.md new file mode 100644 index 00000000..a1bd6de2 --- /dev/null +++ b/docs/bugs/fixed/dependabot-proposes-interim-ubuntu-for-runner-images.md @@ -0,0 +1,39 @@ +# Bug: Dependabot proposes interim Ubuntu releases for the runner images + +Status: fixed 2026-11-21 (issue #102). + +## Summary + +- `src/runners/emulator/Dockerfile` and `src/runners/upstream/Dockerfile` + stand in for GitHub's hosted Ubuntu workers. GitHub hosts LTS releases + only (`ubuntu-24.04` and `ubuntu-26.04`). +- The one docker entry in `.github/dependabot.yml` covered the root + directory and both runner directories, so Dependabot proposed + `ubuntu:25.10` for both runners (PRs #55 and #56, closed). +- 25.10 is an interim release, so the runners would no longer match any + hosted worker. Dependabot also changes only the `FROM` line, and the + upstream image installs `libicu74`, the 24.04 package name. That build + fails on any other release, and CI builds neither runner image. + +## Fix + +- The docker updates are split into two entries: `/` for the emulator + images, and the two runner directories with their own `ignore` rule. + The `ignore` rule is in a separate entry so it cannot affect the root + images. +- The runner entry ignores `semver-major` and `semver-minor` updates of + `ubuntu`. Dependabot reads `24.04` -> `24.10` as minor and `25.10` / + `26.04` as major, so it proposes no new base release for either runner. +- Dependabot's `ignore` rules match update types and version ranges. They + cannot tell an LTS release from an interim one, so the rule blocks the + next LTS as well. LTS moves are manual: update the `libicu` package, then + build and run both images on the new base. The config comment says this. + Issue #105 tracks 26.04. + +## Evidence + +- `.github/dependabot.yml` passes `check-yaml` and + `check-jsonschema --builtin-schema vendor.dependabot` (the Dependabot v2 + schema): `ok -- validation done`. +- Whether Dependabot really stops proposing new base releases will show in + its next weekly docker run.