Skip to content

ci: lift the ubuntu-24.04 hold - #90

Merged
owine merged 1 commit into
mainfrom
ci/lift-ubuntu-24-04-hold
Sep 19, 2026
Merged

owine merged 1 commit into
mainfrom
ci/lift-ubuntu-24-04-hold

Conversation

@owine

@owine owine commented Sep 19, 2026 •

Copy link
Copy Markdown
Owner

The exit condition was already met

#87 said to remove the rule "only once the SELF-HOSTED runners have been upgraded to a Compose 5.x image". They already were:

$ ssh piwine 'docker compose version'
Docker Compose version v5.5.1

I wrote that exit condition two hours earlier against a premise that was no longer true.

The hold was preserving the split, not preventing it

Side Runner Compose
Lint (docker compose config) hosted, ${{ inputs.runner }} = ubuntu-24.04 2.38.2
Deploy / health-check / rollback [self-hosted, …] 5.5.1

Every Compose-touching job in deploy.yml is self-hosted (:67, :258, :647, :742, :760). The mismatch the hold existed to prevent is the current state; moving the hosted side to 26.04 takes lint from 2.38.2 to 5.x and closes it.

There's a detail that shows how invisible this was. Of the 5 runner labels, the 2 literals Renovate could already see are deploy.yml:1035 (the notify: Discord job) and workflow-lint.yml:17 (yamllint over workflow files) — neither runs Compose. The 3 it couldn't see are exactly the ones feeding docker compose config. Renovate had visibility into only the Compose-irrelevant labels.

Compose 5.x compatibility was measured, not assumed

Against v5.5.1:

  • config --images — still one fully-resolved ref per line on stdout, warnings on stderr, exit 0.
  • ps -a --format json — still NDJSON, so deploy.yml:694's jq -s '.' still yields array→object and the health-gate selectors resolve. I had predicted this would break if 5.x switched to a top-level array; it didn't, and it has been running in production on 5.5.1 regardless.
  • docker compose config — verdicts are exit-code driven in both validate-stack.sh and lint-summary.sh, unaffected by output rewording.

The parsers that were genuinely fragile — the config --images fail-open, the set -e abort that swallowed the failure report, and the warning filters that didn't match 5.x's level=warning spelling — are fixed in #89, which merged first.

What happens next

With #88 in place Renovate now sees all 5 labels, so the next run raises one PR moving them together — the whole-migration PR, not the partial one #87 was guarding against. Review that PR normally; CI will lint the stacks on 26.04 with the same engine that deploys them.

Validation

renovate-config-validator passes, as does scripts/linting/validate-renovate.sh in repo-config --strict mode. The diff removes only the hold rule; the github-runners customManager from #88 is retained, which is what makes lifting safe.

Summary by Sourcery

Enhancements:

  • Remove the Ubuntu 24.04 Renovate hold now that hosted and self-hosted runners can be migrated together to the compatible Compose 5.x environment.

The hold's exit condition was already met when it was written. It said to
remove the rule "once the SELF-HOSTED runners have been upgraded to a
Compose 5.x image" - they run v5.5.1, verified on piwine, and have for
some time.

So the premise was inverted. The hold was written to stop lint and deploy
validating with different Compose engines, but that split is the CURRENT
state: every Compose-touching job in deploy.yml is self-hosted on 5.5.1
(:67, :258, :647, :742, :760), while lint runs hosted on ubuntu-24.04
with 2.38.2. Keeping the hold perpetuates the mismatch; moving the hosted
runners to 26.04 closes it.

A detail that shows how invisible this was: the 2 literal `runs-on:`
values Renovate could already see are deploy.yml's notify job and
workflow-lint.yml - neither runs Compose at all. The 3 labels that do
feed `docker compose config` were the ones it could not see, until #88.

Compose 5.x compatibility was checked directly rather than assumed:
`config --images` still emits one resolved ref per line on stdout;
`ps -a --format json` is still NDJSON, so deploy.yml's `jq -s` health
gate parses correctly; verdicts remain exit-code driven. The parsers that
were genuinely fragile are fixed in #89.

With #88 in place Renovate sees all 5 labels, so this produces one PR
that moves them together rather than the partial migration #87 was
guarding against.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry @owine, you've used your own review budget of 250,000 diff characters for the last 7 days.

You can request another review in 21 hours and 11 minutes by commenting @sourcery-ai review. Upgrade to get a review now.

@sourcery-ai

sourcery-ai Bot commented Sep 19, 2026

Copy link
Copy Markdown
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Lifts the Ubuntu 24.04 hold now that self-hosted runners use Compose 5.5.1 and the retained Renovate custom manager can detect all runner labels, enabling a coordinated migration rather than a partial upgrade.

File-Level Changes

Change Details Files
Removes the temporary Renovate hold that prevented Ubuntu runner image upgrades.
  • Deletes the 10-line hold rule from Renovate configuration.
  • Retains the custom runner-label manager so all five relevant labels remain discoverable and can be upgraded together.
  • Allows the next Renovate update to migrate hosted lint runners alongside self-hosted deployment runners.
.github/renovate.json

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@owine
owine merged commit d449aad into main Sep 19, 2026
3 checks passed
@owine
owine deleted the ci/lift-ubuntu-24-04-hold branch September 19, 2026 18:37
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.

1 participant