Skip to content

ci: add tools/yq to skill tidy checks and CI workflows - #3758

Open
VfourTwenty wants to merge 1 commit into
conforma:mainfrom
VfourTwenty:fix/3752-tools-yq-refs
Open

VfourTwenty wants to merge 1 commit into
conforma:mainfrom
VfourTwenty:fix/3752-tools-yq-refs

Conversation

@VfourTwenty

Copy link
Copy Markdown

What:

Adds tools/yq next to tools/kubectl in the four places #3663 missed:

  • .claude/skills/build-and-lint/SKILL.md and .claude/skills/pr-checklist/SKILL.md: go mod tidy drift check for tools/yq
  • .github/workflows/checks-codecov.yaml: tools/yq/go.sum in the acceptance Go cache key
  • .github/workflows/release.yaml: (cd tools/yq && go mod download) in the dependency download step

Why:

#3663 added the tools/yq module and updated the Dockerfiles, build.sh and the Konflux prefetch, but not these. Without them agents following the skills never tidy-check tools/yq, a yq bump doesn't change the cache key, and the release job fetches yq modules mid-build instead of in the download step.

Checked in docker with go 1.26.10: (cd tools/yq && go mod tidy && git diff --exit-code go.mod go.sum) and (cd tools/yq && go mod download) both pass on main, and yq builds offline right after the download. actionlint 1.7.12 is clean on both workflows with shellcheck off. with shellcheck on, release.yaml has the same notes as main, and the bundled shellcheck crashes on release.yaml:186 on main too.

Tickets:

resolves: #3752

@VfourTwenty
VfourTwenty requested a review from a team as a code owner November 24, 2026 09:13
@coderabbitai

coderabbitai Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Walkthrough

The build and PR checklist instructions now check module tidiness in tools/yq. The Acceptance cache key includes tools/yq/go.sum, and the release workflow downloads dependencies for that module.

Changes: tools/yq module support

Layer / File(s) Summary
Module tidiness checks
.claude/skills/build-and-lint/SKILL.md, .claude/skills/pr-checklist/SKILL.md
Both skill instructions add go mod tidy and a go.mod and go.sum drift check for tools/yq.
Workflow dependency handling
.github/workflows/checks-codecov.yaml, .github/workflows/release.yaml
The Acceptance cache key hashes tools/yq/go.sum. The release workflow runs go mod download in tools/yq.

Estimated code review effort: 2 (Simple) | ~7 minutes

Change: Other

Suggested reviewers: st3penta, bohdanmar

Merge Risk: Low · previous review edfd7

This change extends module tidiness checks, cache invalidation and release dependency downloads to tools/yq. The remaining concern is minor: the skill's module detection ignores uncommitted edits, as it already does for other modules. Merge risk is low.

Pre-merge checks: Passed 4

Check name Status Explanation
Title check Passed The title "ci: add tools/yq to skill tidy checks and CI workflows" matches the changeset. The PR adds tools/yq go mod tidy checks to two skill files, adds tools/yq/go.sum to the acceptance cache key i…
Description check Passed The description follows the template. The What section lists the four file changes, with each file's purpose. The Why section gives the context: #3663 missed these spots, and the gap affects agent tid…
Linked Issues check Passed Issue #3752 has four coding requirements. All four are present at the reviewed head:
1. .claude/skills/build-and-lint/SKILL.md Step 4 contains `(cd tools/yq && go mod tidy && git diff --exit-code go…
Out of Scope Changes check Passed The PR changes four files: two skill documents, the Codecov workflow cache key, and the release workflow download step. Each change adds tools/yq beside the existing tools/kubectl entry. Each matc…
Full details: Title check

Explanation

The title "ci: add tools/yq to skill tidy checks and CI workflows" matches the changeset. The PR adds tools/yq go mod tidy checks to two skill files, adds tools/yq/go.sum to the acceptance cache key in checks-codecov.yaml, and adds a tools/yq go mod download step in release.yaml. The title names the main change and the affected areas, and it uses the conventional commit prefix.

Full details: Description check

Explanation

The description follows the template. The What section lists the four file changes, with each file's purpose. The Why section gives the context: #3663 missed these spots, and the gap affects agent tidy checks, cache invalidation, and release downloads. The Tickets section links #3752. It also reports verification: Docker tidy and download checks on Go 1.26.10, and actionlint results. The description is complete and specific.

Full details: Linked Issues check

Explanation

Issue #3752 has four coding requirements. All four are present at the reviewed head:

  1. .claude/skills/build-and-lint/SKILL.md Step 4 contains (cd tools/yq && go mod tidy && git diff --exit-code go.mod go.sum) with a tools/yq/ condition comment.
  2. .claude/skills/pr-checklist/SKILL.md Step 2 contains the same tools/yq tidiness check.
  3. .github/workflows/checks-codecov.yaml Acceptance job cache key hashes tools/yq/go.sum in hashFiles('go.sum', 'tools/go.sum', 'tools/kubectl/go.sum', 'tools/yq/go.sum').
  4. .github/workflows/release.yaml Download go dependencies step contains (cd tools/yq && go mod download).
    The issue lists no non-coding requirements that apply. The PR description's build and actionlint results are non-coding evidence and are not assessed. Repository diff inspection was unavailable, so the verdict relies on reading the head blobs of the four files directly. Those blobs show the required changes.
Full details: Out of Scope Changes check

Explanation

The PR changes four files: two skill documents, the Codecov workflow cache key, and the release workflow download step. Each change adds tools/yq beside the existing tools/kubectl entry. Each matches a gap named in #3752. The head blobs show no other tools/yq or unrelated edits in these files. No change lacks a connection to #3752. Full diff inspection was unavailable, so unrelated edits outside these four files cannot be checked directly. The raw summary lists only these four files.

@coderabbitai coderabbitai 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.

Additional comments: 1

.claude/skills/build-and-lint/SKILL.md-83-83: 1

83-83: Minor · Functional Correctness · Quick win

Unverified finding
Verification ran but could not confirm this finding. It is shown for review, not as a verified issue.

Include uncommitted changes in module detection.

If an agent edits tools/yq before committing, Line 65 does not list those edits: it compares only origin/main and HEAD. The agent can therefore skip this tidy check. Include staged, unstaged, and untracked files in module detection, while retaining the branch comparison.

Review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 009ce74b-f5ba-42ab-a271-c3be55c05daa
Commits

Reviewing files that changed from the base of the PR and between 957569c and edfd775.

Files selected for processing: 4

  • .claude/skills/build-and-lint/SKILL.md
  • .claude/skills/pr-checklist/SKILL.md
  • .github/workflows/checks-codecov.yaml
  • .github/workflows/release.yaml

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

@simonbaird

Copy link
Copy Markdown
Member

Thanks @VfourTwenty . One of our CI checks will complain about the commit being unsigned. Are you able to GPG sign your commit and repush?

@codecov

codecov Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
acceptance 54.61% <ø> (ø)
generative 12.22% <ø> (ø)
integration 23.62% <ø> (ø)
unit 72.29% <ø> (ø)

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

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

Signed-off-by: VfourTwenty <132915930+VfourTwenty@users.noreply.github.com>
@VfourTwenty
VfourTwenty force-pushed the fix/3752-tools-yq-refs branch from edfd775 to 5ffe4ab Compare December 4, 2026 19:15
@VfourTwenty

Copy link
Copy Markdown
Author

@simonbaird done)

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tools/yq references to skills and CI workflows

2 participants