Skip to content

fix(ci): switch gallery-agent to sigs.k8s.io/yaml#9397

Merged
mudler merged 1 commit intomasterfrom
issue-fix-gallery-agent
Apr 17, 2026
Merged

fix(ci): switch gallery-agent to sigs.k8s.io/yaml#9397
mudler merged 1 commit intomasterfrom
issue-fix-gallery-agent

Conversation

@mudler
Copy link
Copy Markdown
Owner

@mudler mudler commented Apr 17, 2026

The gallery-agent lives under .github/, which Go tooling treats as a hidden directory and excludes from './...' expansion. That means 'go mod tidy' (run on every dependabot dependency bump) repeatedly strips github.com/ghodss/yaml from go.mod/go.sum, breaking 'go run ./.github/gallery-agent' with a missing go.sum entry error.

Switch to sigs.k8s.io/yaml. API-compatible with ghodss/yaml and already pulled in as a transitive dependency via non-hidden packages, so tidy can no longer remove it.

The gallery-agent lives under .github/, which Go tooling treats as a
hidden directory and excludes from './...' expansion. That means 'go
mod tidy' (run on every dependabot dependency bump) repeatedly strips
github.com/ghodss/yaml from go.mod/go.sum, breaking 'go run
./.github/gallery-agent' with a missing go.sum entry error.

Switch to sigs.k8s.io/yaml — API-compatible with ghodss/yaml and
already pulled in as a transitive dependency via non-hidden packages,
so tidy can no longer remove it.
@mudler mudler merged commit a90a8cf into master Apr 17, 2026
14 of 18 checks passed
@mudler mudler deleted the issue-fix-gallery-agent branch April 17, 2026 08:10
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