Commit Graph
105 Commits
Author SHA1 Message Date
Defame1297 34dfa4e674 Merge pull request 'chore(deps): update ubuntu docker tag to v26' (#31) from renovate/ubuntu-26.x into main
Build / build (push) Successful in 10s
Images / image (Dockerfile, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.1) (push) Successful in 35s
Lint / lint (push) Successful in 11s
Images / image (images/ci/Dockerfile, ci, , 0.2.3) (push) Successful in 3m6s
Reviewed-on: #31
2026-10-26 18:23:10 +00:00
Defame1297 1aef3e6281 Merge branch 'main' into renovate/ubuntu-26.x
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 11s
2026-10-26 18:22:30 +00:00
kamino-renovate Bot ab77dcede6 Merge pull request 'chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.2' (#30) from renovate/git.rkdr.net-mortis-ci-0.x into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 11s
2026-10-26 18:21:02 +00:00
renovate-bot b6b3cfd696 chore(deps): update ubuntu docker tag to v26
Molecule / molecule (pull_request) Skipped
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 30s
Lint / lint (pull_request) Successful in 15s
2026-10-26 18:20:19 +00:00
renovate-bot 6f1efb3448 chore(deps): update git.rkdr.net/mortis/ci docker tag to v0.2.2
Molecule / molecule (pull_request) Skipped
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 26s
Lint / lint (pull_request) Successful in 12s
2026-10-26 18:20:16 +00:00
Defame1297 84751e5cbe Merge pull request 'feat(renovate): follow our own image pins and automerge them' (#29) from feat/renovate-pin-follow into main
Build / build (push) Successful in 30s
Lint / lint (push) Successful in 14s
Reviewed-on: #29
2026-10-26 18:18:53 +00:00
Defame1297andClaude Sonnet 5.5 4240b0c6b6 feat(renovate): follow our own image pins and automerge them
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 29s
Lint / lint (pull_request) Successful in 15s
The mortis/* pin rule was disabled until Phase 4. Enabled with automerge: the
pin pull request's own Lint and Build run in the new image before the merge,
the bot-diff gate allows only the pin lines, and check_image_versions pins
rejects a pin ahead of the matrix. Majors stay manual.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 17:42:47 +00:00
Defame1297 6cf2080202 Merge pull request 'chore(deps): update ansible tooling' (#25) from renovate/ansible-tooling into main
Build / build (push) Successful in 29s
Images / image (Dockerfile, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.0) (push) Successful in 9s
Lint / lint (push) Successful in 14s
Images / image (images/ci/Dockerfile, ci, , 0.2.2) (push) Successful in 3m0s
Reviewed-on: #25
2026-10-26 17:33:18 +00:00
renovate-bot a8aa981a98 chore(deps): update ansible tooling
renovate/stability-days Updates have met minimum release age requirement
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 33s
Lint / lint (pull_request) Successful in 15s
2026-10-26 17:32:01 +00:00
Defame1297 d36c4a326e Merge pull request 'ci: skip published image versions and share one sanity ignore list' (#28) from feat/image-skip-published-shared-sanity-ignore into main
Build / build (push) Successful in 14s
Images / image (Dockerfile, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.0) (push) Successful in 10s
Lint / lint (push) Successful in 13s
Images / image (images/ci/Dockerfile, ci, , 0.2.1) (push) Successful in 11s
Reviewed-on: #28
2026-10-26 17:30:31 +00:00
Defame1297andClaude Sonnet 5.5 fd4c04d095 ci: skip published image versions and share one sanity ignore list
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 13s
image.yml: when the version tag is already in the registry the job now ends
without building, instead of rebuilding under sha-* and latest. A new version
is pushed as <version> and latest; the sha-* tag is gone, so one digest
belongs to exactly one version.

build.yml: ansible-test reads tests/sanity/ignore-<core MAJOR.MINOR>.txt, so
every core bump needed a new file. The committed list is now
ignore-common.txt, copied to the installed core's file name inside the
throwaway worktree (a committed ignore-<MAJOR.MINOR>.txt is appended).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 17:29:08 +00:00
kamino-renovate Bot 569b7bbe15 Merge pull request 'chore(deps): update dependency pre-commit to v4.7.0' (#26) from renovate/pre-commit-4.x into main
Build / build (push) Successful in 12s
Images / image (Dockerfile, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.0) (push) Successful in 37s
Lint / lint (push) Successful in 12s
Images / image (images/ci/Dockerfile, ci, , 0.2.1) (push) Successful in 3m22s
2026-10-26 17:07:39 +00:00
renovate-bot 1567973def chore(deps): update dependency pre-commit to v4.7.0
Molecule / molecule (pull_request) Skipped
renovate/stability-days Updates have met minimum release age requirement
Build / build (pull_request) Successful in 12s
Lint / lint (pull_request) Successful in 14s
2026-10-26 17:06:19 +00:00
Defame1297 fc47d79025 Merge pull request 'fix(scripts): read the image matrix without PyYAML' (#24) from fix/bump-without-pyyaml into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 11s
Reviewed-on: #24
2026-10-26 17:02:48 +00:00
Defame1297 22540a2e84 Merge branch 'main' into fix/bump-without-pyyaml
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 12s
2026-10-26 17:02:15 +00:00
Defame1297 c8ab80931c Merge pull request 'docs(renovate): the bot token also needs read:organization' (#23) from fix/renovate-token-scope into main
Build / build (push) Successful in 10s
Lint / lint (push) Successful in 13s
Reviewed-on: #23
2026-10-26 17:01:56 +00:00
Defame1297andClaude Sonnet 5.5 eaa38cb03a fix(scripts): read the image matrix without PyYAML
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 12s
Dry run 2453 ran the bump post-upgrade task in the Renovate image and it
failed with ModuleNotFoundError: yaml, so every bump PR would have opened
without the version bump. matrix_of() is now a small block-style reader that
fails closed on anything else; a test compares it with PyYAML on the real
image.yml and another forbids importing yaml in the scripts.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 16:57:08 +00:00
Defame1297andClaude Sonnet 5.5 1312ff67f8 docs(renovate): the bot token also needs read:organization
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 12s
Dry run 2450 got past authentication and failed at GET /orgs/Mortis with
403: the token had write:repository, write:issue and read:user only.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 14:00:08 +00:00
Defame1297 c8c23687e2 Merge pull request 'fix(renovate): authenticate as a Kamino-only bot user, not the job token' (#22) from feat/renovate-bot-token into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 12s
Reviewed-on: #22
2026-10-26 13:57:07 +00:00
Defame1297andClaude Sonnet 5.5 4628989be3 fix(renovate): authenticate as a Kamino-only bot user, not the job token
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 12s
Dry run 2445 showed Renovate cannot run on the job token: its pull request lookups filter by its own username, which is the virtual user gitea-actions, and Gitea answers 400 user does not exist. The workflow now reads the repository secret RENOVATE_BOT_TOKEN (token of a bot user with write access to this repository only); the job token is read-only. The empty-secret case fails with a clear message. Docs updated.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 08:51:22 +00:00
Defame1297 56f782f5c2 Merge pull request 'fix(renovate): authenticate git with a bearer header and fail the job on repository errors' (#21) from fix/renovate-git-auth into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 13s
Reviewed-on: #21
2026-10-26 08:45:25 +00:00
Defame1297andClaude Sonnet 5.5 7e32ad5ac6 fix(renovate): authenticate git with a bearer header and fail the job on repository errors
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 12s
Renovate puts the job token in the clone URL, which git drops when the
server redirects (dry run 2439: could not read Username). Write a global
git http.extraheader like lint.yml does. Renovate exits 0 on a repository
failure: set exitCodeForErrors and check the JSON report for a missing
file or ERROR/FATAL problems.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 08:40:02 +00:00
Defame1297 a7ea0e0473 Merge pull request 'ci(renovate): run Renovate from a cron workflow on the kamino-runner' (#20) from feat/renovate-cron-workflow into main
Build / build (push) Successful in 11s
Lint / lint (push) Successful in 12s
Reviewed-on: #20
2026-10-26 08:32:50 +00:00
Defame1297andClaude Sonnet 5.5 b92adb931c fix(renovate): fail-safe dry run, catch-all post-upgrade rule, merge open items
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 15s
- renovate.yml: a workflow_dispatch is a dry run unless the input is exactly
  "false" (an empty input no longer goes live); drop RENOVATE_BINARY_SOURCE
  install, the -full image ships its tools.
- renovate.json: the postUpgradeTasks rule matches every package, because with
  executionMode branch only the first upgrade of a branch counts; the script is
  a no-op when no image input changed.
- bump_image_versions.py: docstring describes the real wiring.
- CLAUDE.md, CONTRIBUTING.md: one open item for the first live run, runner slot note.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 08:19:02 +00:00
Defame1297andClaude Sonnet 5.5 7730440759 ci(renovate): run Renovate from a cron workflow on the kamino-runner
Add .gitea/workflows/renovate.yml (daily 03:17 UTC and workflow_dispatch with a
dry_run choice), using the job token and a digest-pinned renovate/renovate
container, so no Kamino code runs in the production cluster. renovate.json runs
scripts/bump_image_versions.py origin/main as a postUpgradeTasks command for the
image inputs, and the workflow's own container pin is excluded from bot bumps.
Document the dry run, the unverified points and the open decision on CI
triggering for job-token pull requests.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 07:37:25 +00:00
Defame1297 e8ae9dcbcb Merge pull request 'feat(renovate): prepare dependency automation and the image version bump (phase 0)' (#19) from feat/renovate-automation-phase0 into main
Build / build (push) Successful in 12s
Lint / lint (push) Successful in 14s
Molecule / molecule (push) Successful in 33s
Reviewed-on: #19
2026-10-26 06:56:33 +00:00
Defame1297andClaude Sonnet 5.5 d6837217c0 fix(scripts): name the unused tuple members instead of using _
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 14s
Molecule / molecule (pull_request) Successful in 32s
ansible-test sanity's pylint disallows _ as a name (18 findings in the bot-diff gate, the bump script and their tests, build run 2423).

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 06:54:55 +00:00
Defame1297andClaude Sonnet 5.5 b7b14b7277 docs(renovate): correct the kaniko and image-input claims
Build / build (pull_request) Failing after 12s
Lint / lint (pull_request) Successful in 15s
Molecule / molecule (pull_request) Successful in 40s
Remove the image-input packageRule that set no option. Add a dockerfile rule that
states, and pins, that base-image tag and digest bumps may automerge (Kamino is
the untrusted side, the pin PR's CI exercises the image); the ubuntu job
container stays at automerge false. Say kaniko is pinned by layer digests that no
manager reads and is updated by hand. List what is not enabled or verified
(GITHUB_COM_TOKEN for the pre-commit manager, main's required checks,
github.head_ref) and that a hand edit on a renovate/ branch stops Renovate's
rebases. renovate-config-validator --strict (renovate 44.161.0) passes.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 06:41:51 +00:00
Defame1297andClaude Sonnet 5.5 8e9a8c5df0 fix(ci): close the bypasses of the bot pull request diff guard
A change git treats as binary (NUL byte, UTF-16, a -diff attribute) or one with
no removed or no added line now fails, and the line diff runs with --text
--no-ext-diff --no-textconv. Tags are limited to [A-Za-z0-9._-]; the digest must
be present on both sides of an ubuntu job container line and of a FROM line;
matrix version lines must stay in place and rise; paths are taken literally
(--literal-pathspecs); an empty head ref on a pull_request fails closed
(EVENT_NAME). The lint workflow runs the guard from origin/main (the whole
scripts/ directory, since it imports check_image_versions) and falls back to
the pull request's copy with a notice while main has none.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 06:41:20 +00:00
Defame1297andClaude Sonnet 5.5 a57714342b fix(scripts): attribute bumped versions to their own matrix entry
bump_image_versions.py now locates each matrix.include entry and rewrites the
version: line of the entry whose name: it is, whatever the key order; an entry
it cannot parse unambiguously is a one-line error, and the rewrite is verified
against the YAML before it is written. Files are read and written as UTF-8 with
newline="" so CRLF survives. A shallow clone without a merge-base names the fix
(git fetch --unshallow). check_image_versions.py decodes git's stderr, so errors
no longer print a bytes repr. Untracked files that git ignores were already
skipped; a test now pins that.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-26 06:39:11 +00:00
Defame1297andClaude Sonnet 5.5 c03e492f81 docs: describe the Renovate automation, the two-PR image loop and the bot-diff gate
Build / build (pull_request) Failing after 11s
Lint / lint (pull_request) Successful in 14s
Molecule / molecule (pull_request) Successful in 36s
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 21:20:17 +00:00
Defame1297andClaude Sonnet 5.5 aab4079a9a build(deps): add an inert renovate.json for dependency automation
Minor and patch bumps automerge, majors are manual; ansible-core minor and
major, the image.yml job container and kaniko tooling never automerge;
pin-follow for our own images is disabled until Phase 4. No
postUpgradeTasks. renovate.json is in build_ignore, so the Collection archive
is unchanged.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 21:20:02 +00:00
Defame1297andClaude Sonnet 5.5 f2e1139562 ci(lint): limit renovate pull requests to pin and version lines
scripts/check_bot_pr_diff.py fails a pull request from a renovate/ branch
that touches anything but version, tag, digest and image pin lines, so the
automerge of bot pull requests cannot alter workflow logic or reach the org
secrets. Wired as a pull-request-only step of the lint workflow.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 21:08:21 +00:00
Defame1297andClaude Sonnet 5.5 359e016307 feat(scripts): deny the production image set in the Collection's workflows
The pins check now fails when any file under .gitea/workflows mentions
git.rkdr.net/defame1297/, so the environment repo's production images can
never appear in the Collection's CI.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 21:08:14 +00:00
Defame1297andClaude Sonnet 5.5 ec15abf400 feat(scripts): add bump_image_versions.py for the image version bump
Factor the changed-path listing and the per-image input detection out of
check_image_versions.py (changed_paths, changed_images) and reuse them in a
new script that bumps the PATCH version of every image whose inputs changed.
It is meant to run later as a Renovate postUpgradeTasks command.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 21:06:33 +00:00
Defame1297 ce0a98a471 Merge pull request 'fix(build): keep repository tooling and molecule scenarios out of the Collection archive' (#18) from fix/collection-tarball-contents into main
Build / build (push) Successful in 10s
Lint / lint (push) Successful in 9s
Molecule / molecule (push) Successful in 33s
Reviewed-on: #18
2026-10-25 20:40:00 +00:00
Defame1297 3852bce32a Merge branch 'main' into fix/collection-tarball-contents
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 10s
Molecule / molecule (pull_request) Successful in 31s
2026-10-25 20:39:06 +00:00
Defame1297 7d5fd73ce1 Merge pull request 'fix(scripts): make dev-setup.sh check Python, core.hooksPath and the installed hooks' (#15) from fix/dev-setup-robustness into main
Build / build (push) Successful in 9s
Lint / lint (push) Successful in 7s
Reviewed-on: #15
2026-10-25 20:38:04 +00:00
Defame1297 76da009d12 Merge branch 'main' into fix/dev-setup-robustness
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 10s
Lint / lint (pull_request) Successful in 9s
2026-10-25 20:34:54 +00:00
Defame1297 a26eb97b38 Merge pull request 'docs: correct the credential statements in CLAUDE.md, CONTRIBUTING.md and the workflows' (#14) from docs/credential-and-workflow-comments into main
Build / build (push) Successful in 9s
Images / image (Dockerfile, molecule-ubuntu2404, images/molecule-ubuntu2404, 0.1.0) (push) Successful in 28s
Lint / lint (push) Successful in 7s
Images / image (images/ci/Dockerfile, ci, , 0.2.0) (push) Successful in 3m9s
Reviewed-on: #14
2026-10-25 20:33:48 +00:00
Defame1297 5ea4bcdcaf Merge branch 'main' into docs/credential-and-workflow-comments
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 8s
Lint / lint (pull_request) Successful in 7s
2026-10-25 20:32:59 +00:00
Defame1297 483db4b4c2 Merge pull request 'fix(ci): let a push to main finish its Lint and Build runs' (#17) from fix/ci-concurrency-main-runs into main
Build / build (push) Successful in 10s
Lint / lint (push) Successful in 7s
Reviewed-on: #17
2026-10-25 20:32:07 +00:00
Defame1297 f98cb1c6b0 Merge branch 'main' into fix/ci-concurrency-main-runs
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 8s
Lint / lint (pull_request) Successful in 8s
2026-10-25 20:29:31 +00:00
Defame1297andClaude Sonnet 5.5 ad2e4aa959 merge: bring main into fix/collection-tarball-contents and keep one script-test step
Build / build (pull_request) Successful in 11s
Lint / lint (pull_request) Successful in 11s
Molecule / molecule (pull_request) Successful in 37s
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 20:23:29 +00:00
Defame1297andClaude Sonnet 5.5 9dfec118a2 merge: bring main into fix/dev-setup-robustness and keep one script-test step
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 13s
Lint / lint (pull_request) Successful in 10s
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 20:12:30 +00:00
Defame1297 f271730f6e Merge pull request 'ci: check image pins and image version bumps in Lint' (#16) from feat/ci-image-version-and-pin-check into main
Build / build (push) Successful in 9s
Lint / lint (push) Successful in 7s
Molecule / molecule (push) Successful in 27s
Reviewed-on: #16
Reviewed-by: Defame1297 <[email protected]>
2026-10-25 20:09:45 +00:00
Defame1297andClaude Sonnet 5.5 cab2187c89 fix(ci): tighten the Collection archive check and make its guards testable
Build / build (pull_request) Successful in 9s
Lint / lint (pull_request) Successful in 8s
Molecule / molecule (pull_request) Successful in 29s
The forbidden names widen to anything containing "vault", SSH keys, .envrc and
.env* files. Names that Windows or macOS extraction would read differently are
rejected (trailing space or dot, reserved device names, "::", 8.3 aliases of
.git, non-ASCII spaces, surrogate/private-use/unassigned characters, components
over 255 bytes), and the .git test compares after NFKC and case folding.
Duplicates are compared case-insensitively, a name that is both a file and a
directory is rejected, and only one slash is stripped. A unit test builds a real
tarball with ansible-galaxy, another asserts the directories build.yml prunes are
in galaxy.yml build_ignore, lint.yml runs tests/scripts, and the Build workflow
fails unless exactly one tarball matches. The docstring states that file
symlinks are invisible to the archive check.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 19:57:40 +00:00
Defame1297andClaude Sonnet 5.5 c3cd04e013 fix(ci): make the image pin check fail closed on odd spellings and Dockerfile sources
Build / build (pull_request) Successful in 9s
Lint / lint (pull_request) Successful in 8s
Molecule / molecule (pull_request) Successful in 29s
Pin mentions are matched case-insensitively with an optional port, a nested path
and no tag, so a mis-spelled or untagged pin is reported instead of ignored. The
Dockerfile COPY/ADD reader raises an error naming file and line on a source with
a variable, quote or comment character and on a RUN --mount of the build context,
and joins continuation lines with trailing blanks. A non-UTF-8 diff path and an
empty image.yml get their own messages, lint.yml is a required consumer, the
success line lists the consumers checked, and the docstring states the known limits.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 19:54:28 +00:00
Defame1297andClaude Sonnet 5.5 72e9813394 fix(dev-setup): quote the hook path, read core.hooksPath NUL-safely and lift an empty value
Molecule / molecule (pull_request) Skipped
Build / build (pull_request) Successful in 8s
Lint / lint (pull_request) Successful in 7s
The repository path is shell-quoted (printf %q) where it is written into the
installed hooks, so a path with spaces, quotes or $(...) is data. The local
core.hooksPath values are read with -z and compared and restored element by
element, so a value with a newline survives; the loop avoids mapfile. Any local
value, including an empty or trailing empty one, is lifted for the install and
restored. tests/scripts/test_dev_setup.py covers it with stub tools in throwaway
repositories, and lint.yml now runs tests/scripts.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 19:52:32 +00:00
Defame1297andClaude Sonnet 5.5 b5751e14d6 fix(build): harden the Collection archive check and refuse source symlinks
Build / build (pull_request) Successful in 9s
Lint / lint (pull_request) Successful in 6s
Molecule / molecule (pull_request) Successful in 30s
check_tarball.py now compares path components case-insensitively (.GIT,
Molecule), rejects backslashes and control or zero-width characters,
duplicate members, an empty archive and a missing REQUIRED file, and
reports an unreadable archive as one line. Drop the shebang and the
executable bit and pass check= to subprocess.run so ansible-test sanity
passes.

ansible-galaxy dereferences symlinks, which the archive check cannot see,
so the Build workflow fails when the source tree holds a symlink.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MmzvM9skAvYcph2c9EiPcm
2026-10-25 19:20:48 +00:00