Skip to content

fix(fetcher): remove filter for runtime.GOOS#1319

Merged
mjnagel merged 4 commits intomainfrom
1318_localos_filter
Feb 12, 2026
Merged

fix(fetcher): remove filter for runtime.GOOS#1319
mjnagel merged 4 commits intomainfrom
1318_localos_filter

Conversation

@brandtkeller
Copy link
Copy Markdown
Member

Description

Given my understanding of the remote fetcher - the verifyPackageSignature process should only be ran during bundle creation. Creation should not have a filter for local OS.

Related Issue

Fixes #1318

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Checklist before merging

Signed-off-by: Brandt Keller <brandt.keller@defenseunicorns.com>
@brandtkeller brandtkeller requested a review from a team as a code owner February 12, 2026 17:00
Signed-off-by: Brandt Keller <brandt.keller@defenseunicorns.com>
Copy link
Copy Markdown
Contributor

@mjnagel mjnagel left a comment

Choose a reason for hiding this comment

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

I think there might still be an issue if a package is local. For testing I used the same bundle, but with a local pull of the init package, and hit the original issue still. I assume we may need some adjustments to the local fetcher too?

@brandtkeller
Copy link
Copy Markdown
Member Author

Investigating local package fetcher agreed!

Signed-off-by: Brandt Keller <brandt.keller@defenseunicorns.com>
Comment thread src/pkg/bundler/fetcher/local.go
Copy link
Copy Markdown
Contributor

@mjnagel mjnagel left a comment

Choose a reason for hiding this comment

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

Changes make sense and work well for me locally. OK not adding a test for this in particular, we do have some existing optional component tests (although they don't seem to cover this bug since they passed).

@emoskito
Copy link
Copy Markdown
Contributor

Might just want to update the PR title to reflect removal of the GOOS filter

@brandtkeller brandtkeller changed the title fix(fetcher): remove deployment filter for ByLocalOS on fetcher fix(fetcher): remove filter for runtime.GOOS Feb 12, 2026
@mjnagel mjnagel merged commit 2229c87 into main Feb 12, 2026
20 checks passed
@mjnagel mjnagel deleted the 1318_localos_filter branch February 12, 2026 22:45
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.

UDS bundle fails to create with optionalComponent (k3s for zarf init package)

4 participants