Skip to content

docs(bake): describe the per-target cache of the shared reusable - #205

Merged
CybotTM merged 1 commit into
mainfrom
docs/bake-cache-comment
Oct 23, 2026
Merged

CybotTM merged 1 commit into
mainfrom
docs/bake-cache-comment

Conversation

@CybotTM

@CybotTM CybotTM commented Oct 23, 2026

Copy link
Copy Markdown
Member

When this is merged, the comment on the minimal target in docker-bake.hcl describes the cache as the build-container-bake reusable handles it since netresearch/.github#525: one GHA cache per target, none read on the weekly rebuild. No build behaviour changes.

The removed sentence said that a cache-from declared in the bake file would still apply on the weekly rebuild. Since netresearch/.github#525 the reusable clears it with an empty <target>.cache-from=.

Assisted by claude-code:claude-opus-5-5 — Session 4862b645-a608-44d1-a9a8-fe50bb3b2e23

Since netresearch/.github#525 the build-container-bake reusable writes
one GHA cache per target and, on the weekly rebuild, also clears a
cache-from declared in the bake file. The comment no longer says that a
cache declared here would still apply.

Assisted-by: claude-code:claude-opus-5-5
Agent-Session: 4862b645-a608-44d1-a9a8-fe50bb3b2e23
Agent-Host: 0493f0
Signed-off-by: Sebastian Mendel <sebastian.mendel@netresearch.de>
@CybotTM
CybotTM marked this pull request as ready for review October 23, 2026 10:00
@coderabbitai

coderabbitai Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent 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: d1738768-69cd-482b-a30e-aa86a94526d1
📥 Commits

Reviewing files that changed from the base of the PR and between f393837 and 62ec745.

📒 Files selected for processing: 1
  • docker-bake.hcl

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

📝 Walkthrough

The minimal target’s comment now says that build-container-bake provides a per-target GHA cache and that weekly rebuilds read no cache. It removes the previous statement that a cache declared in the file would still apply.

Priority: ⬇️ Low

Change: Other

Merge Risk: ⚪ Minimal · up to 62ec7

This documentation-only change introduces no identified merge-blocking risk.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title "docs(bake): describe the per-target cache of the shared reusable" matches the change. The PR updates the comment on the minimal target in docker-bake.hcl to describe the per-target GHA cach…
Description check Passed The description states that the comment on the minimal target in docker-bake.hcl now describes the cache handled by the build-container-bake reusable. It explains the removed sentence about cache-from…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
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 "docs(bake): describe the per-target cache of the shared reusable" matches the change. The PR updates the comment on the minimal target in docker-bake.hcl to describe the per-target GHA cache that the build-container-bake reusable uses. It is a docs-only change with no build behaviour change. The title is specific and concise, and it names the main change.

Full details: Description check

Explanation

The description states that the comment on the minimal target in docker-bake.hcl now describes the cache handled by the build-container-bake reusable. It explains the removed sentence about cache-from and states that no build behaviour changes. This directly matches the changeset.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
✨ Simplify code
  • 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

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

Copy link
Copy Markdown

@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions github-actions 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.

Automated approval for maintainer PR

All automated quality gates passed. See SECURITY_CONTROLS.md for compensating controls.

@CybotTM
CybotTM added this pull request to the merge queue Oct 23, 2026
Merged via the queue into main with commit 3008180 Oct 23, 2026
30 checks passed
@CybotTM
CybotTM deleted the docs/bake-cache-comment branch October 23, 2026 10:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant