Skip to content

test: empty commit to validate buildx cache behavior#105

Draft
ashiramin wants to merge 1 commit into
mainfrom
aa/empty-commit-trivy-test
Draft

test: empty commit to validate buildx cache behavior#105
ashiramin wants to merge 1 commit into
mainfrom
aa/empty-commit-trivy-test

Conversation

@ashiramin
Copy link
Copy Markdown
Contributor

Empty commit experiment to falsify (or confirm) the claim that an empty PR's build job reuses the stale buildx layer cache and therefore can't fix the :main trivy scan.

Setup: branched from main (commit 1fe409d), one empty commit, no file changes.

Expected outcome (per the analysis in PR #104):

  • build job: succeeds (cache hit, fast build, image identical to current :main)
  • trivy-pr job: fails with the same 11 packages flagged by today's failing :main scan (libcap2, libsystemd0, libudev1, openssh-client, jq/libjq1, python3.13-*)

Alternative outcome (analysis is wrong):

Will close this once the result is observed either way.

🤖 Generated with Claude Code

Empty commit on top of main (commit 1fe409d). No file changes — testing
whether an empty PR's build will pick up fresh Debian packages or reuse the
stale buildx layer cache.

Today's :main trivy scan flagged 11 packages (libcap2, libsystemd0, libudev1,
openssh-client, jq/libjq1, python3.13-*). If this PR's trivy-pr scan reports
the same set, the hypothesis is confirmed: empty commits do not bust the
buildx cache and the failure persists. If trivy-pr passes, something else is
invalidating the cache and the analysis was wrong.
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