Skip to content

feat!: remove global cachepath SDK option - #5473

Merged
AustinAbro321 merged 1 commit into
mainfrom
remove-global-cachepath
Oct 16, 2026
Merged

AustinAbro321 merged 1 commit into
mainfrom
remove-global-cachepath

Conversation

@AustinAbro321

@AustinAbro321 AustinAbro321 commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Description

I realized we had a global cachepath field that was only used for cmd. This is misleading, and ideally we have as little global state as possible

Breaking change

A breaking change as SDK user's could set this, but the only way this has an impact is if they are calling NewZarfCommand().

Checklist before merging

Signed-off-by: Austin Abro <austinabro321@gmail.com>
@netlify

netlify Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit a2b810a
🔍 Latest deploy log https://app.netlify.com/projects/zarf-docs/deploys/6ad0f03fd69a68af440e233c

@codecov

codecov Bot commented Oct 15, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/cmd/cmd.go 33.33% 1 Missing and 1 partial ⚠️
Files with missing lines Coverage Δ
src/cmd/package.go 45.75% <ø> (+0.07%) ⬆️
src/cmd/root.go 37.11% <100.00%> (ø)
src/config/config.go 65.38% <ø> (-2.48%) ⬇️
src/cmd/cmd.go 81.81% <33.33%> (ø)

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AustinAbro321 AustinAbro321 changed the title feat!: remove global cachepath field feat!: remove global cachepath SDK option Oct 16, 2026

@brandtkeller brandtkeller left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

clean - lgtm

@brandtkeller
brandtkeller disabled auto-merge October 16, 2026 16:44
@brandtkeller
brandtkeller added this pull request to the merge queue Oct 16, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 16, 2026
@AustinAbro321
AustinAbro321 added this pull request to the merge queue Oct 16, 2026
Merged via the queue into main with commit 65e8152 Oct 16, 2026
@AustinAbro321
AustinAbro321 deleted the remove-global-cachepath branch October 16, 2026 18:31
@github-project-automation github-project-automation Bot moved this to Done in Zarf Oct 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants