Automate Linux ephemeral runner image reconciliation#180
Merged
Conversation
Verify published image versions, drain active runners, and force pull/recreate for Synology and Linux Docker pools. Persist serialized reconciliation state and cover duplicate signals and dry-run behavior.
athena-omt
approved these changes
Jul 14, 2026
athena-omt
left a comment
Contributor
There was a problem hiding this comment.
Reviewed the Linux pool reconciliation command. The command verifies the configured image tag against GHCR before any mutation, serializes each run with a live-PID-aware lock, drains runner pools before reinstalling with forced image pulls, and writes the reconcile ledger only after successful apply.
Validation run on the refreshed PR head:
- pnpm vitest run test/reconcile.test.ts test/cli.test.ts
- pnpm lint
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.
Summary
reconcile-linux-poolfor Synology and dedicated Linux Docker poolsGoverning Issue
Refs #149
Issue #149 already captured disabled-update runner freshness; this PR adds the requested automated Linux/Synology pool rollout path without duplicating the issue.
Validation
pnpm exec vitest run test/reconcile.test.ts test/cli.test.ts(37 tests passed)pnpm test(49 files, 276 tests passed)pnpm lintpnpm buildgit diff --checkBootstrap Governance
.github/pull_request_template.mdworktree edit was intentionally left unstaged and is not part of this PR.Risk and rollout
workflow_job: completedreceiver should enqueue this command; job completion must not mutate a live runner directly.Merge Automation
Notes
The running ephemeral runner remains on
--disableupdate, finishes its job, and deregisters normally. New containers receive the updated image after reconciliation.