Skip to content

fix: Bump stacker Cache Version for WasBom field#760

Merged
hallyn merged 1 commit intoproject-stacker:mainfrom
raharper:fix/stacker-cache-bump-was-bom
Mar 20, 2026
Merged

fix: Bump stacker Cache Version for WasBom field#760
hallyn merged 1 commit intoproject-stacker:mainfrom
raharper:fix/stacker-cache-bump-was-bom

Conversation

@raharper
Copy link
Contributor

In the previous PR to update CVEs which dropped BOM support a field to Layer structure, WasBom, was added to provide a warning message to users which supply a stacker.yaml with the bom: value set.

This change to the Layer structure requires a bump to the CacheVersion field.

What type of PR is this?

bug

Which issue does this PR fix:

TestCacheEntryChanged

What does this PR do / Why do we need it:

Bump CacheVersion to 16, update TestCache hash in test case. This fixes the issue introduced when added WasBom flag to provide a helpful message to users of bom:

If an issue # is not available please add repro steps and logs showing the issue:

make go-test

Testing done on this change:

Re-ran make go-test and it passes now

Automation added to e2e:

None

Will this break upgrades or downgrades?

No

Does this PR introduce any user-facing change?:

No


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

In the previous PR to update CVEs which dropped BOM support a field
to Layer structure, WasBom, was added to provide a warning message
to users which supply a stacker.yaml with the `bom:` value set.

This change to the Layer structure requires a bump to the CacheVersion
field.

Signed-off-by: Ryan Harper <rharper@woxford.com>
@codecov
Copy link

codecov bot commented Mar 20, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 54.18%. Comparing base (8e9e9d6) to head (54d9ce7).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #760       +/-   ##
===========================================
- Coverage   64.74%   54.18%   -10.56%     
===========================================
  Files          53       55        +2     
  Lines        4601     5909     +1308     
===========================================
+ Hits         2979     3202      +223     
- Misses       1024     2128     +1104     
+ Partials      598      579       -19     

☔ View full report in Codecov by Sentry.
📢 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.

@hallyn hallyn merged commit 551b30d into project-stacker:main Mar 20, 2026
10 of 11 checks passed
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.

2 participants