Skip to content

Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest - #4461

Merged
ptr727 merged 9 commits into
developfrom
burndown/docker-lint-digest-pins
Nov 26, 2026
Merged

ptr727 merged 9 commits into
developfrom
burndown/docker-lint-digest-pins

Conversation

@ptr727

@ptr727 ptr727 commented Nov 26, 2026 •

Copy link
Copy Markdown
Owner

Summary

Pins the Docker lint images by digest through one manifest that Dependabot tracks, and retries a failed pull a bounded number of times. Before this change, a transient registry error could fail a release, and a tool release could change behavior under a pinned hub ref. This follows the recorded answer on #1727 (option 1) and the design and missing-manifest answer on #4397 (option 1).

  • .github/actions/docker-lint-pins/Dockerfile (new) is never built. It holds one FROM <image>:<version-tag>@sha256:<digest> AS <stage> line for each of the seven images: editorconfig-checker, actionlint, markdownlint-cli2, cspell, shellcheck, shfmt, and PowerShell. Each digest was read live from its registry on 2026-11-25. The version tags match what the moving tags resolved to, with two exceptions. shfmt latest tracks the default branch, so the pin is the newest release, v3.14.1. MCR's PowerShell latest is a 2024 Ubuntu 22.04 image that no version tag names, so the pin is 7.4-ubuntu-22.04. That keeps the same PowerShell minor and base, which keeps the PSScriptAnalyzer 1.23.0 comment true.
  • .github/actions/docker-lint-pins/action.yml (new) reads that manifest from $GITHUB_ACTION_PATH and outputs the editorconfig-checker, shellcheck, shfmt, and PowerShell references the workflow runs, the way python-tool-pins does. It fails where any of the seven stages is named on no line or on more than one, or on a line missing its tag or digest.
  • validate-task.yml reaches the action as $/.github/actions/docker-lint-pins. It drops --pull=always. The EditorConfig, shell, and PowerShell steps each pull their pinned image with three bounded attempts before they run a container. A pull that times out is not retried.
  • repo_gate.py reads the shellcheck pin from the sibling manifest when the composite-actions check runs, and retries a failed pull. An unreadable pin is one finding and makes no Docker call. A copy fetched alone names where the check can run instead. A carrier's --check eol run never reads it.
  • docker_lint.py reads all seven pins from the manifest at its hub-relative path and retries a pull that exits non-zero. A timeout or a client that cannot start is not retried. Where the manifest is not beside it, the run exits non-zero and names the hub_fetch_run.py resync, per Decide How a Carrier's docker_lint.py Behaves Before Its hub_fetch_run.py Fetches the Docker Lint Digest Manifest #4397.
  • catalog/snippets/hub_fetch_run.py adds the manifest to COMPANIONS["scripts/docker_lint.py"], so a fetched tree carries it beside the script.
  • .github/dependabot.yml adds a docker ecosystem pair, main and develop, on /.github/actions/docker-lint-pins.
  • GOVERNANCE.md, OPERATIONS.md, scripts/README.md, both hook snippet READMEs, and host-setup/linux/README.md each change only the sentences that named :latest or :stable, or said the wrapper is fetched alone.

Known risk, from #4397: mirror.gcr.io's tag list holds only the tags it has cached, so a Dependabot bump of a mirror.gcr.io image may lag upstream releases.

Accepted cost, from #4397: a carrier's local Docker lint tasks fail, naming the resync, until that carrier's hub_fetch_run.py is resynced. CI is unaffected, since the reusable workflow and the repo gate read the manifest at the hub pin.

Verification

  • python3 scripts/docker_lint.py --root "$PWD" against this branch pulled all seven pinned images and ran every linter clean, PSScriptAnalyzer on the new PowerShell pin included.
  • python3 scripts/repo_gate.py: every check passes, composite-actions shellchecking the new action's run body with the pinned shellcheck image.
  • The full unit suite passes. New tests stub every network and Docker call. They cover the action's output and refusals, the EditorConfig step's retry bound through stand-in docker and sleep, the Dependabot pair, docker_lint.py's retry bound, its manifest parsing, and the missing-manifest exit. They also cover repo_gate.py's retry and unreadable pin, and hub_fetch_run.py fetching the manifest beside the wrapper at one commit.
  • ruff format and check, mypy, and the prose gate (diff against develop) are clean.

Local review findings declined

  • .github/workflows/validate-task.yml: the pull() retry helper appears in the EditorConfig, shell, and PowerShell steps. It stays as three copies, since workflow steps share no shell functions, and a shared script beside the action would be a file outside this change's scope. A test runs the EditorConfig copy's retry bound and timeout through stand-in docker and sleep.
  • scripts/docker_lint.py: resolve_digest() still inspects each pulled image although the pin already names its digest. Removing it would make text outside this change's scope false: GOVERNANCE.md "Running the Linters Locally" ("then resolves the pulled repository digest") and the comment-and-doc-style skill ("resolves each digest").
  • .github/actions/docker-lint-pins/Dockerfile: Dependabot may not list tags on mirror.gcr.io for the shellcheck and shfmt lines. This is the known risk Decide How a Carrier's docker_lint.py Behaves Before Its hub_fetch_run.py Fetches the Docker Lint Digest Manifest #4397 recorded, stated above. No pre-merge run can confirm it, and the first Dependabot docker run for this directory will show it. The images stay on mirror.gcr.io, since a762b07 (Pull the Lint Images From GHCR and mirror.gcr.io Instead of Docker Hub #2689) moved the pulls off Docker Hub for its rate limits.
  • .github/actions/repo-gate/repo_gate.py: it keeps its own one-stage pin regex rather than loading docker_lint.py's read_pins through importlib. The wrapper is standalone, fetched with only its manifest, and coupling the gate to it would add a dependency neither needs. The divergence the finding named is fixed instead. The action, the gate, and the wrapper each read only well-formed lines for their own stages and refuse a stage named twice, and the gate now finds the hub tree through the existing gate_hub_root().
  • .github/actions/repo-gate/repo_gate.py and scripts/docker_lint.py: each has its own bounded docker pull retry loop. They stay apart for the reason above. The wrapper is standalone, and the gate would have to load it to share one. Each loop is tested on its own bound.
  • tests/test_release_guards.py: the pull retry test lists a job's steps with its own - name: regex rather than job_steps from tests/test_docker_task_workflow.py. Moving that helper into tests/workflow_steps.py would edit two files outside this change's scope. Any step the regex misses is caught anyway, since the test counts every docker run in the workflow against the steps it read.
  • scripts/pr_review_promotion.py: a Dependabot bump of the pin Dockerfile is not counted as covered when a promotion is read. That module leaves Dockerfiles out on purpose. A pin bump changes which images CI runs, so the promotion's review reading it errs toward more review. The module is outside this change's scope.

The three workflow copies of pull() are held equal by a test that reads every Docker step in the workflow live and checks each docker run image was pulled first. It counts every docker run in the file against the steps it read, and holds each lint image variable to a docker-pins output.

Closes on promotion: #1727

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Improvements
    • Docker-based lint checks now use version- and digest-pinned images instead of floating tags.
    • Failed image pulls are retried, with bounded attempts and delays; timeouts still fail immediately.
    • Shell and PowerShell lint images are pulled only when matching files are present.
  • Documentation
    • Updated local setup and linting guidance to reflect the pinned images.

ptr727 and others added 4 commits November 25, 2026 15:37
…ifest

A never-built Dockerfile under .github/actions/docker-lint-pins holds one
version tag and digest per lint image. Its action feeds validate-task.yml,
and repo_gate.py and docker_lint.py read the same file. Each pull retries
a bounded number of times, and --pull=always is gone. docker_lint.py fails
naming the hub_fetch_run.py resync where the manifest is not beside it, and
hub_fetch_run.py now fetches it with the wrapper. Dependabot's docker
ecosystem tracks the manifest on main and develop.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Stop the workflow's pull retry on a timeout, as the Python readers do, and
drop the three action outputs nothing reads. docker_lint.py now skips a
manifest line that is no FROM instruction, as the other readers do.
repo_gate.py names where the check can run when its copy has no manifest
beside it, and OPERATIONS.md no longer claims a local run matches CI for
the linters CI runs through action wrappers.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…un Deadline Test

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
repo_gate.py finds the manifest through gate_hub_root() and reads the pin
once a body is shellchecked, with no branch the earlier pin read already
rules out. docker_lint.py skips a line that pins nothing, as the action and
the repo gate do, and refuses only a stage named twice. The docker
Dependabot entries group their bumps, so adjacent pins land in one pull
request.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ptr727 ptr727 added the comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses label Nov 26, 2026
Copilot AI lite review requested due to automatic review settings November 26, 2026 00:04
@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Changes

The PR adds a shared manifest of digest-pinned Docker lint images. CI workflows and Python lint tools read those pins and add bounded retries for image pulls. Tests, companion-file fetching, Dependabot configuration, and documentation are updated to reflect the changes.

Docker lint image pinning

Layer / File(s) Summary
Pin manifest and outputs
.github/actions/docker-lint-pins/Dockerfile, .github/actions/docker-lint-pins/action.yml, .github/dependabot.yml, tests/test_release_guards.py
The Dockerfile defines seven tagged, digest-pinned images. The composite action validates the stage references and exposes image outputs. Dependabot tracks the manifest on main and develop. Tests cover valid and invalid stage references.
CI lint image pulls
.github/workflows/validate-task.yml, tests/test_release_guards.py, GOVERNANCE.md, OPERATIONS.md, catalog/snippets/husky/README.md, catalog/snippets/pre-commit/README.md, host-setup/linux/README.md
The workflow uses pinned image outputs and retries failed pulls before running lint containers. Tests check retry behavior and workflow wiring. Documentation describes the pinned images.
Python linter pins and companion fetching
scripts/docker_lint.py, catalog/snippets/hub_fetch_run.py, scripts/README.md, tests/test_docker_lint.py, tests/test_hub_fetch_run.py, tests/test_skills_install.py
docker_lint.py reads linter image references from the manifest and retries failed pulls. The fetch wrapper obtains the manifest alongside the script. Tests cover manifest handling, retries, and fetched runs.
Repo-gate ShellCheck pin and retries
.github/actions/repo-gate/repo_gate.py, scripts/README.md, tests/test_repo_gate.py
repo_gate.py reads the ShellCheck image reference from the manifest and retries failed pulls. Tests cover retry behavior and manifest errors.

Estimated code review effort: 4 (Complex) | ~40 minutes

Severity of issue fixed: Medium

Possibly related issues

  • ptr727/ProjectTemplate#1727 — The PR pins lint images and retries failed pulls, addressing the reported transient pull failures. It does not retry pull timeouts.

Possibly related PRs

Merge Risk: Minimal · up to d27d9

The change pins the Docker lint images by tag and digest and adds bounded pull retries, with tests and documentation updated to match. No merge-blocking issue was found. The known risks are that Dependabot may lag on some mirror tags and that carrier-local lint tasks need a hub_fetch_run.py resync. CI is unaffected.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest" matches the main change. The PR adds a Dependabot-tracked Dockerfile manifest that pins seven lint images by tag …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Pin the Docker Lint Images by Digest Through a Dependabot-Tracked Manifest" matches the main change. The PR adds a Dependabot-tracked Dockerfile manifest that pins seven lint images by tag and digest, and the scripts, action, workflow, and docs read from it. The title is specific and short enough, and it does not list files or use vague terms. It is 74 characters, slightly long, but it is still clear.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between bbcc7a1 and d27d984.

Files selected for processing: 18

  • .github/actions/docker-lint-pins/Dockerfile
  • .github/actions/docker-lint-pins/action.yml
  • .github/actions/repo-gate/repo_gate.py
  • .github/dependabot.yml
  • .github/workflows/validate-task.yml
  • GOVERNANCE.md
  • OPERATIONS.md
  • catalog/snippets/hub_fetch_run.py
  • catalog/snippets/husky/README.md
  • catalog/snippets/pre-commit/README.md
  • host-setup/linux/README.md
  • scripts/README.md
  • scripts/docker_lint.py
  • tests/test_docker_lint.py
  • tests/test_hub_fetch_run.py
  • tests/test_release_guards.py
  • tests/test_repo_gate.py
  • tests/test_skills_install.py

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

@ptr727

ptr727 commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head 1449560b1abfcc824873c0f58494da7311a2d14a, the content this pull request carries at that commit against develop, and it recorded 1 finding.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

The workflow adds copied shell and PowerShell retry helpers that are not exercised by tests, leaving regressions in their retry or timeout handling undetected.

1 open issue
What changed in this PR

This PR centralizes Docker lint image references in a Dependabot-tracked digest manifest and applies them across CI, repository gating, local linting, and fetched carrier scripts.

Changes:

  • Adds the Docker lint manifest and composite action for validated image references.
  • Adds bounded Docker pull retries to CI, repository gating, and local linting.
  • Updates companion fetching, Dependabot configuration, documentation, and regression tests.
File Description
tests/​test_skills_install.py Updates fetched-wrapper expectations to account for the Docker pin manifest companion.
tests/​test_repo_gate.py Tests pinned ShellCheck resolution, pull retries, and related repository-gate behavior.
tests/​test_release_guards.py Tests Docker pin action outputs, workflow retry behavior, and Dependabot configuration.
tests/​test_hub_fetch_run.py Tests fetching the Docker pin manifest alongside the lint wrapper.
tests/​test_docker_lint.py Tests manifest parsing, missing-manifest handling, and Docker pull retries.
scripts/​README.md Documents manifest-backed Docker lint and repository-gate behavior.
scripts/​docker_lint.py Reads Docker lint pins from the manifest and retries failed image pulls.
OPERATIONS.md Updates local Docker lint usage guidance for digest-pinned images.
host-setup/​linux/​README.md Updates local ShellCheck and shfmt image guidance.
GOVERNANCE.md Documents the digest-pinned Docker lint image contract.
catalog/​snippets/​pre-commit/​README.md Updates pre-commit Docker lint task documentation.
catalog/​snippets/​husky/​README.md Updates Husky Docker lint task documentation.
catalog/​snippets/​hub_fetch_run.py Fetches the Docker pin manifest alongside the local lint wrapper.
.github/​workflows/​validate-task.yml Uses digest-pinned lint images and bounded pull retries in validation workflows.
.github/​dependabot.yml Configures Docker image tracking for the lint manifest on both supported branches.
.github/​actions/​repo-gate/​repo_gate.py Loads the pinned ShellCheck image and retries failed pulls for repository checks.
.github/​actions/​docker-lint-pins/​Dockerfile Defines version-tagged, digest-pinned references for the Docker lint images.
.github/​actions/​docker-lint-pins/​action.yml Reads the Docker pin manifest and exposes its image references as action outputs.

Review effort: Lite

Comment thread .github/workflows/validate-task.yml Resolved
ptr727 and others added 2 commits November 25, 2026 16:11
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ry Test Reads

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Nov 26, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.65217% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 79.74%. Comparing base (b38e084) to head (d27d984).
⚠️ Report is 352 commits behind head on develop.

Files with missing lines Patch % Lines
scripts/docker_lint.py 95.65% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #4461      +/-   ##
===========================================
- Coverage    81.60%   79.74%   -1.87%     
===========================================
  Files           26       48      +22     
  Lines         9070    16517    +7447     
===========================================
+ Hits          7402    13172    +5770     
- Misses        1668     3345    +1677     
Flag Coverage Δ
python-3.13 79.74% <95.65%> (-1.87%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ptr727

ptr727 commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head c0c9e4c2f6942449d502de66d34788c1c541938c, the content this pull request carries at that commit against develop, and it recorded 2 findings.

ptr727 and others added 2 commits November 25, 2026 16:21
…Pins Output

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ptr727

ptr727 commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

A recorded local strict-review pass covers head d27d984bccf6b00a41a6193923b2ce8193a50f06, the content this pull request carries at that commit against develop, and it recorded 0 findings.

@ptr727

ptr727 commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@ptr727

ptr727 commented Nov 26, 2026

Copy link
Copy Markdown
Owner Author

/review

@coderabbitai

coderabbitai Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@ptr727
ptr727 merged commit 6939741 into develop Nov 26, 2026
14 checks passed
@ptr727
ptr727 deleted the burndown/docker-lint-digest-pins branch November 26, 2026 00:55
ptr727 added a commit that referenced this pull request Nov 26, 2026
…s, Environment Secret Audit, and macOS Bash Floor (#4485)

Promotes the 26 pull requests that landed on develop since the last
promotion (#4428), from the away-mode backlog burndown run.

- #4447: Bump markdownlint-cli2-action from 25.0.0 to 25.1.0.
- #4449: Have the agent open and drive the promotion after an audit's
file fix merges.
- #4453: Pass over a signal handled as the prose gate's first handler
starts.
- #4456: Record a managed copy for claude and codex in install-agents
and report any other copy as a stray.
- #4457: Name the PowerShell suppression form and correct the Python CI
backstop text.
- #4458: Read the metrics report's reviewed heads from the gate's one
filter (part of #3880, completed by #4481).
- #4460: Cross-check Python directories against Dependabot's pip and uv
entries (items 2 and 3 of #2286, which stays open for item 1).
- #4461: Pin the Docker lint images by digest through a
Dependabot-tracked manifest.
- #4464: State the platform weighting and correct the hook-promotion
worked example.
- #4463: Key Qodo findings without links or commit hashes and ask
dismissal by title and location.
- #4465: Hand a caller's hook-input to the validate and resolve-upstream
hooks.
- #4466: Require an empty workflow-level permissions block on
entry-point callers.
- #4467: Remove the npm and bun upgrade paths no managed tool reaches.
- #4469: Add a hub-hosted script that enables a clone's hook framework
once.
- #4472: Select each repository's Python line from its root
`.python-version` (the part of #4187 needing no decision; #4187 stays
open).
- #4479: Report dotnet and powershell as unmanaged while Microsoft's
feed is unconfigured.
- #4477: Bound the shell trap's child wait and give the heading search a
file.
- #4480: Check deployment environment secret and variable names in the
audit.
- #4478: Add a macOS bash 4.4 floor with a platform-scoped host tool
entry.
- #4481: Build the gate's comment readers on one trusted-comment reader.
- #4484: Record the measured absence of a git floor for
`--end-of-options`.
- #4496: Narrow the Qodo acknowledgment key's normalization to a link
and a hash after `commit`.
- #4500: Pass over a signal handled as the hook enabler's first handler
starts.
- #4502: Pin the GitHub host for every `gh` child the hub's Python
scripts start.
- #4503: Write the Docker pull retry once, with one backoff schedule.
- #4505: Pin the repo gate's `gh` read and parse the Docker pin manifest
once.

## Release notes for callers

- #4472: A caller passing no `python-versions` input and carrying no
root `.python-version` moves from Python 3.13 to 3.14 for its
`unit-test` leg and its `lint` job's Python steps once its hub pin
reaches this change. Its nested check name moves from `Unit test job
(Python 3.13)` to `Unit test job (Python 3.14)`, and its Codecov flag
from `python-3.13` to `python-3.14`, so a `.codecov.yml` naming the old
flag stops matching. Its `lint` job warns on each run until it carries a
selector. A caller whose `requires-python` or locked dependencies
exclude 3.14 adds a `.python-version` before moving its pin. A
`.python-version` naming no `X.Y` line, or an explicit `python-versions`
whose first entry differs from the file's line, now fails validate.
- #4479: The Linux `install-tools.sh --json` report schema moves from 1
to 2, because a not-installed `dotnet` or `powershell` can now read
`unmanaged` with `installed: null`. A hand-installed amd64 `powershell`
with no Microsoft feed now reads `unmanaged`. The Windows `-Json` report
stays at schema 1.
- #4466: Each entry-point caller must declare an empty workflow-level
`permissions: {}` block. A site repository's `deploy-site.yml` carrying
only job-level blocks now reports this as drift, and the fix belongs to
that repository.
- #4461: Dependabot's docker ecosystem listing tags on mirror.gcr.io for
the shellcheck and shfmt lines is unconfirmed until its first docker run
for that directory.
- #4478: macOS now has a bash 4.4 floor, met by Homebrew's bash ahead of
the system bash on `PATH`. Not yet verified on a native macOS host.
- #4480: The audit gains the `secrets.environments` check. Registry
`environments[]` entries may now declare their secret and variable
names.
- #4463 and #4496: The Qodo acknowledgment key changed. A
`fleet-finding-ack` already posted on a still-open pull request stops
matching its finding once a caller's hub pin reaches this change. Post
it again, since `merge` refuses until then.
- #4502: Every `gh` child the Python scripts under the hub's `scripts/`
and `spec/` start now runs with `GH_HOST=github.com`, so an exported
`GH_HOST` no longer moves their reads and writes. #4505 pins the repo
gate's own `gh_read` the same way. The `gh-write-guard` hook (#4501) and
the shell and PowerShell scripts are unchanged.
- #4503: The `validate-task.yml` EditorConfig, shell, and PowerShell
lint steps now pull their images through `docker_lint.py --pull`, with
one retry schedule of 3 attempts waiting 15s, then 30s. The
`docker-lint-pins` action gains a `docker-lint` output naming that
script at the calling workflow's own ref. A caller pinned before this
change keeps its inline retry.
- #4505: The `docker-lint-pins` action now reads the pin manifest
through `docker_lint.py --pin` rather than `sed`, so its step runs
`python3`. It now refuses an empty tag or a stage named twice, which the
old `sed` accepted, and on a failure it writes no outputs and one
`::error::` annotation carrying the reason.
- A fleet resync is owed, because carried text changed: AGENTS.md,
GOVERNANCE.md, CODESTYLE.md, and several skills.

## Findings from the local strict review

The attested local pass on c25ec49 (`main...develop`) raised five
findings. Their outcomes:

- Tracked: the hub's own `dependabot.ecosystems` DRIFT on `/tests` is
the question #4459 holds, so it changes nothing here.
- Fixed by #4500: `scripts/enable_hooks.py` `on_signal` now passes over
a signal handled as its first handler starts.
- Fixed by #4503: the bounded Docker pull retry is now written once,
`scripts/docker_lint.py` `pull_image`, with one schedule.
- Fixed by #4502: `spec/audit_environments.py` `names()` is gone, and
both environment readers read through `spec/resolve_secrets.py`
`read_names`.
- Release note: the Qodo acknowledgment key change from #4463 and #4496
is stated under "Release notes for callers" above.

The attested local pass on f93f34a (`main...develop`) raised 57
findings. Their outcomes:

- Declined, 52 `prose_lint` `comment-added` lines: each comment was
added by a feature pull request carrying the `comments` label (#4456,
#4461, #4463, #4465, #4467, #4472, #4480), and the promotion re-carries
them without that label.
- Tracked: `spec/audit_dependabot.py:93`, the hub's own `/tests` pip
drift, is the question #4459 holds.
- Tracked: the nested-signal guard missing at
`scripts/docker_lint.py:416`, `scripts/backlog_metrics.py:1290`, and
`catalog/snippets/hub_fetch_run.py:193` is the class #4452 holds.
- Release note: the Qodo key change at
`scripts/pr_review_answers.py:158` is stated above.
- Fixed by #4505: `.github/actions/repo-gate/repo_gate.py` `gh_read` now
starts its `gh api` child under `gh_env()`, which pins
`GH_HOST=github.com`.
- Fixed by #4505: `scripts/docker_lint.py` `read_pins` is now the pin
manifest's one parser. The repo gate dropped `SHELLCHECK_PIN`, and the
`docker-lint-pins` action dropped its `sed` for `docker_lint.py --pin`.

The attested local pass on 3183644 (`main...develop`) raised 53
findings. Their outcomes:

- Declined, 51 `prose_lint` `comment-added` lines: the same comments the
pass on f93f34a named, less the `docker-lint-pins` `action.yml` line
#4505 removed, each added by a feature pull request carrying the
`comments` label.
- Tracked: the nested-signal guard missing at
`scripts/docker_lint.py:448`, `scripts/backlog_metrics.py:1290`,
`scripts/pr_review.py:2174`, and `catalog/snippets/hub_fetch_run.py:193`
is the class #4452 holds.
- `introduced`, design, `scripts/docker_lint.py:856`: `resolve_digest`
runs one more `docker image inspect` per linter to read a digest the pin
manifest's tag-and-digest reference already gives, since #4461 pins
every image, and it takes `RepoDigests[0]`, which can name another
repository holding the same image. Deferred to #4508 by the maintainer's
decision, which is this finding's outcomes.

Fixes #3468
Fixes #3880
Fixes #4408
Fixes #2070
Fixes #4473
Fixes #4474
Fixes #2594
Fixes #4327
Fixes #4450
Fixes #1783
Fixes #3325
Fixes #3917
Fixes #4448
Fixes #1164
Fixes #1613
Fixes #1727
Fixes #4403
Fixes #4407
Fixes #4158
Fixes #4210
Fixes #4429
Fixes #4406
Fixes #4488
Fixes #4498
Fixes #4489
Fixes #4499
Fixes #4504

🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comments Permits the comment lines the pull request adds or edits, which the prose gate otherwise refuses

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants