You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
validate-task.yml Lint Steps Fail a Release on a Transient Docker Hub Error #1727
validate-task.yml pulls its lint images from Docker Hub with --pull=always on every run, so a transient registry error fails a release that has nothing wrong with it.
It happened on ptr727/ESPHome-Config release run 35561318931. The Check EditorConfig step failed before linting anything:
docker run --rm --pull=always -v "$PWD":/check --workdir /check mstruebing/editorconfig-checker:latest
docker: Error response from daemon: Head "https://registry-1.docker.io/v2/mstruebing/editorconfig-checker/manifests/latest": Get "https://auth.docker.io/token?...": read: connection reset by peer
Process completed with exit code 125.
Exit 125 is the daemon, not a finding. The same check passed on every pull request in that promotion, on the same content. No release was published.
Four steps on main share the pattern, lines 72, 140, 141 and 154: editorconfig-checker:latest, shellcheck:stable, shfmt:latest, and powershell:latest. The tags are also unpinned, so the tool can change under a pinned workflow ref.
A likely fix is to pin each image by digest and drop --pull=always, or to wrap the pull in a bounded retry. Either stops a registry blip from failing a release.
New evidence, read at hub main50b6bc3 (2.0.972). The line numbers in this issue have moved, and the pattern is unchanged and a little wider.
.github/workflows/validate-task.yml:161: ghcr.io/editorconfig-checker/editorconfig-checker:latest with --pull=always.
:229: mirror.gcr.io/koalaman/shellcheck:stable (a moving tag).
:230: mirror.gcr.io/mvdan/shfmt:latest.
:243: mcr.microsoft.com/powershell:latest.
.github/actions/repo-gate/repo_gate.py:415 also uses mirror.gcr.io/koalaman/shellcheck:stable.
None is digest-pinned, so a tool release can change a pinned workflow ref's behavior and fail a downstream CI run. This is the reproducibility half of the issue, separate from the transient registry error. Pinning by digest also needs a Dependabot docker-ecosystem entry or a hub-side refresh step, otherwise the digests go stale like the composite-action pins.
Found while: adopting validate-task.yml in ptr727/homeassistant-purpleair
Question: How should the Docker lint images (editorconfig-checker, shellcheck, shfmt, powershell in validate-task.yml, plus repo_gate.py SHELLCHECK_IMAGE and scripts/docker_lint.py) be pinned: digests under a Dependabot-tracked manifest, or moving tags with a bounded retry around the pull?
Bounded retry only, keep tags: Smallest change, matches current GOVERNANCE text, but tool releases can still change behavior under a pinned hub ref, which the maintainer's 2026-10-11 comment raised. No work in flight.
Digest pins only, drop --pull=always: Fixes reproducibility, but a fresh runner still pulls, so a transient registry error still fails a release. No work in flight.
Evidence: validate-task.yml:170, :238, :239, :252 (--pull=always on :latest/:stable). repo_gate.py:422 and docker_lint.py:46, :72, :79, :85 hold the same tags, so one manifest should feed all three. a762b07 (#2689) moved pulls off Docker Hub (rate limits, not resets or drift). c653b2f (#3640) is the precedent. GOVERNANCE.md:296: "Pinning anything Dependabot does not maintain goes stale by construction". .github/dependabot.yml has no docker entry. validate-task.yml:246 already works around a powershell image drift.
Maintainer answer (decision triage, 2026-11-01): Option 1: pin the Docker lint images by digest through a docker-ecosystem manifest Dependabot bumps (one manifest feeding validate-task.yml, repo_gate.py, and docker_lint.py), add a bounded retry around the pull, and update GOVERNANCE.md's 'Docker :latest' sentence. This is now work for the next burndown round.
Backlog burndown claim (away run 2026-11-24, round 2, group 1; resumed in away run 2026-11-25, round 1, refill group I): branch burndown/docker-lint-digest-pins, issue #1727.
Resumed (2026-11-25):#4397 is closed with the maintainer's answer recorded (option 1: docker_lint.py fails loudly when the manifest is not beside it and names the hub_fetch_run.py resync). The group resumes on the design #4397 states, so the park is lifted and the claim below is re-predicted to that design. The branch still has no commits and no pull request, and its worktree is standing and clean.
Predicted files:
.github/actions/docker-lint-pins/Dockerfile (new): the never-built manifest, one FROM <image>:<version-tag>@sha256:<digest> AS <linter> stage per image (editorconfig-checker, shellcheck, shfmt, powershell, actionlint, markdownlint-cli2, cspell).
.github/actions/docker-lint-pins/action.yml (new): reads the manifest from $GITHUB_ACTION_PATH and outputs one image reference per stage, like python-tool-pins.
.github/workflows/validate-task.yml: the editorconfig-checker, shellcheck, shfmt, and PSScriptAnalyzer steps reach the action through $/.github/actions/docker-lint-pins, drop --pull=always, and wrap each pull in a bounded retry.
.github/actions/repo-gate/repo_gate.py: SHELLCHECK_IMAGE read from the sibling manifest, with a bounded pull retry.
scripts/docker_lint.py: the seven images read from the manifest at its hub-relative path, a bounded docker pull retry, and the fail-loudly missing-manifest branch.
catalog/snippets/hub_fetch_run.py: COMPANIONS["scripts/docker_lint.py"] gains the manifest path.
.github/dependabot.yml: the docker ecosystem pair, main and develop, on /.github/actions/docker-lint-pins.
GOVERNANCE.md: the "Docker :latest" sentence in the CI tooling paragraph.
OPERATIONS.md: "The Docker linters pull :latest deliberately".
scripts/README.md: the docker_lint.py section.
catalog/snippets/husky/README.md and catalog/snippets/pre-commit/README.md: the "Docker at :latest" phrases.
host-setup/linux/README.md: the sentence naming the shellcheck:stable and shfmt:latest containers.
tests/test_docker_lint.py, tests/test_repo_gate.py, and tests/test_hub_fetch_run.py: the retry bound, the digest-resolution path, the missing-manifest exit, and the companion path, every network and Docker call stubbed.
tests/test_release_guards.py, only where the new action's step test sits beside the existing python-tool-pins one.
The two passed files are re-verified free on 2026-11-25: no open pull request, live claim, or branch holds OPERATIONS.md or scripts/README.md, and the groups they were passed to have merged.
Any other group needing one of these files waits for this branch to merge.
Extended (2026-11-25, orchestrator):tests/test_skills_install.py, the docstring near line 581 that this change makes false (docker_lint.py is no longer fetched alone). No other group holds it.
Parked (away-mode backlog burndown, 2026-11-24, round 2, group 1). It waits on #4397.
Done: nothing is committed. I read the recorded answer (option 1, 2026-11-01) and the code, then designed the change. #4397 records the full design.
Branch and PR:burndown/docker-lint-digest-pins exists only as a local worktree, based on origin/develop at b324fd8b, with no commits. It was never pushed, and no pull request is open. The worktree was left standing and clean, at the fleet worktree path ProjectTemplate-docker-lint-digest-pins.
Why it parked: the answer settles the reusable workflow and the repo gate, which reach the manifest at the hub pin the way python-tool-pins does. It does not settle a carrier's docker_lint.py, which its carried hub_fetch_run.py fetches alone. How that script behaves until each carrier resyncs is the maintainer's call. The design also reaches carried content outside this issue's claim.
Add the Dependabot docker pair, main and develop. Update the GOVERNANCE.md "Docker :latest" sentence, OPERATIONS.md's "pull :latest deliberately", and the scripts/README.mddocker_lint.py section.
Add tests for the retry bound and the digest-resolution path, with every network call stubbed.
Activity
ptr727 commentedon Oct 11, 2026
New evidence, read at hub
main50b6bc3(2.0.972). The line numbers in this issue have moved, and the pattern is unchanged and a little wider..github/workflows/validate-task.yml:161:ghcr.io/editorconfig-checker/editorconfig-checker:latestwith--pull=always.:229:mirror.gcr.io/koalaman/shellcheck:stable(a moving tag).:230:mirror.gcr.io/mvdan/shfmt:latest.:243:mcr.microsoft.com/powershell:latest..github/actions/repo-gate/repo_gate.py:415also usesmirror.gcr.io/koalaman/shellcheck:stable.None is digest-pinned, so a tool release can change a pinned workflow ref's behavior and fail a downstream CI run. This is the reproducibility half of the issue, separate from the transient registry error. Pinning by digest also needs a Dependabot docker-ecosystem entry or a hub-side refresh step, otherwise the digests go stale like the composite-action pins.
Found while: adopting validate-task.yml in ptr727/homeassistant-purpleair
🤖 Generated with Claude Code
ptr727 commentedon Nov 1, 2026
Decision needed (decision triage, 2026-11-01)
Question: How should the Docker lint images (editorconfig-checker, shellcheck, shfmt, powershell in
validate-task.yml, plusrepo_gate.pySHELLCHECK_IMAGE andscripts/docker_lint.py) be pinned: digests under a Dependabot-tracked manifest, or moving tags with a bounded retry around the pull?Options, recommended first:
:latest" sentence changes with it. No work in flight.Evidence: validate-task.yml:170, :238, :239, :252 (
--pull=alwayson:latest/:stable). repo_gate.py:422 and docker_lint.py:46, :72, :79, :85 hold the same tags, so one manifest should feed all three. a762b07 (#2689) moved pulls off Docker Hub (rate limits, not resets or drift). c653b2f (#3640) is the precedent. GOVERNANCE.md:296: "Pinning anything Dependabot does not maintain goes stale by construction". .github/dependabot.yml has no docker entry. validate-task.yml:246 already works around a powershell image drift.Blocks: none
ptr727 commentedon Nov 1, 2026
Maintainer answer (decision triage, 2026-11-01): Option 1: pin the Docker lint images by digest through a docker-ecosystem manifest Dependabot bumps (one manifest feeding validate-task.yml, repo_gate.py, and docker_lint.py), add a bounded retry around the pull, and update GOVERNANCE.md's 'Docker :latest' sentence. This is now work for the next burndown round.
ptr727 commentedon Nov 24, 2026
Backlog burndown claim (away run 2026-11-24, round 2, group 1; resumed in away run 2026-11-25, round 1, refill group I): branch
burndown/docker-lint-digest-pins, issue #1727.Resumed (2026-11-25): #4397 is closed with the maintainer's answer recorded (option 1:
docker_lint.pyfails loudly when the manifest is not beside it and names thehub_fetch_run.pyresync). The group resumes on the design #4397 states, so the park is lifted and the claim below is re-predicted to that design. The branch still has no commits and no pull request, and its worktree is standing and clean.Predicted files:
.github/actions/docker-lint-pins/Dockerfile(new): the never-built manifest, oneFROM <image>:<version-tag>@sha256:<digest> AS <linter>stage per image (editorconfig-checker, shellcheck, shfmt, powershell, actionlint, markdownlint-cli2, cspell)..github/actions/docker-lint-pins/action.yml(new): reads the manifest from$GITHUB_ACTION_PATHand outputs one image reference per stage, likepython-tool-pins..github/workflows/validate-task.yml: the editorconfig-checker, shellcheck, shfmt, and PSScriptAnalyzer steps reach the action through$/.github/actions/docker-lint-pins, drop--pull=always, and wrap each pull in a bounded retry..github/actions/repo-gate/repo_gate.py:SHELLCHECK_IMAGEread from the sibling manifest, with a bounded pull retry.scripts/docker_lint.py: the seven images read from the manifest at its hub-relative path, a boundeddocker pullretry, and the fail-loudly missing-manifest branch.catalog/snippets/hub_fetch_run.py:COMPANIONS["scripts/docker_lint.py"]gains the manifest path..github/dependabot.yml: thedockerecosystem pair,mainanddevelop, on/.github/actions/docker-lint-pins.GOVERNANCE.md: the "Docker:latest" sentence in the CI tooling paragraph.OPERATIONS.md: "The Docker linters pull:latestdeliberately".scripts/README.md: thedocker_lint.pysection.catalog/snippets/husky/README.mdandcatalog/snippets/pre-commit/README.md: the "Docker at:latest" phrases.host-setup/linux/README.md: the sentence naming theshellcheck:stableandshfmt:latestcontainers.tests/test_docker_lint.py,tests/test_repo_gate.py, andtests/test_hub_fetch_run.py: the retry bound, the digest-resolution path, the missing-manifest exit, and the companion path, every network and Docker call stubbed.tests/test_release_guards.py, only where the new action's step test sits beside the existingpython-tool-pinsone.The two passed files are re-verified free on 2026-11-25: no open pull request, live claim, or branch holds
OPERATIONS.mdorscripts/README.md, and the groups they were passed to have merged.Any other group needing one of these files waits for this branch to merge.
Extended (2026-11-25, orchestrator):
tests/test_skills_install.py, the docstring near line 581 that this change makes false (docker_lint.pyis no longer fetched alone). No other group holds it.ptr727 commentedon Nov 24, 2026
Parked (away-mode backlog burndown, 2026-11-24, round 2, group 1). It waits on #4397.
Done: nothing is committed. I read the recorded answer (option 1, 2026-11-01) and the code, then designed the change. #4397 records the full design.
Branch and PR:
burndown/docker-lint-digest-pinsexists only as a local worktree, based onorigin/developatb324fd8b, with no commits. It was never pushed, and no pull request is open. The worktree was left standing and clean, at the fleet worktree pathProjectTemplate-docker-lint-digest-pins.Why it parked: the answer settles the reusable workflow and the repo gate, which reach the manifest at the hub pin the way
python-tool-pinsdoes. It does not settle a carrier'sdocker_lint.py, which its carriedhub_fetch_run.pyfetches alone. How that script behaves until each carrier resyncs is the maintainer's call. The design also reaches carried content outside this issue's claim.What remains, once #4397 is answered:
.github/actions/docker-lint-pins/action.yml,catalog/snippets/hub_fetch_run.py, andtests/test_hub_fetch_run.py. Also grant the carried docs it makes false:catalog/snippets/husky/README.md,catalog/snippets/pre-commit/README.md, andhost-setup/linux/README.md..github/actions/docker-lint-pins/Dockerfile, the never-built manifest. It holds version tags with digests for the seven images.action.yml. Wirevalidate-task.ymlthrough$/.github/actions/docker-lint-pinswith a bounded pull retry and no--pull=always. Pointrepo_gate.pyanddocker_lint.pyat the manifest with a bounded pull retry, using Decide How a Carrier's docker_lint.py Behaves Before Its hub_fetch_run.py Fetches the Docker Lint Digest Manifest #4397's chosen missing-manifest behavior.dockerpair, main and develop. Update theGOVERNANCE.md"Docker:latest" sentence,OPERATIONS.md's "pull:latestdeliberately", and thescripts/README.mddocker_lint.pysection.🤖 Generated with Claude Code