Skip to content

revert(deps): downgrade github.com/go-json-experiment/json (9.3)#5849

Merged
olegsu merged 1 commit into
9.3from
fix/revert-go-json-experiment-93
May 1, 2026
Merged

revert(deps): downgrade github.com/go-json-experiment/json (9.3)#5849
olegsu merged 1 commit into
9.3from
fix/revert-go-json-experiment-93

Conversation

@olegsu
Copy link
Copy Markdown
Collaborator

@olegsu olegsu commented May 1, 2026

Summary

Reverts Renovate PR #5797 which bumped github.com/go-json-experiment/json from v0.0.0-20251027170946-4849db3c2f7e to v0.0.0-20260430182902-b6187a392ed4.

The new version removed the SkipFunc exported symbol, breaking all packaging builds on 9.3:

trivy@v0.66.0/pkg/x/json/json.go:109:16: undefined: json.SkipFunc

Root cause: The CI cross-build uses GOFLAGS=-mod=readonly which bypasses vendor/ and resolves to the new broken version from the module cache. trivy v0.66.0 (used on 9.3) calls json.SkipFunc from this package.

Fix: Pins go-json-experiment/json back to v0.0.0-20251027170946-4849db3c2f7e — the version that has SkipFunc and is proven stable. This matches what the 9.4 branch uses.

Test plan

  • Packaging build (mage package) passes on linux/amd64
  • Packaging build passes on linux/arm64

🤖 Generated with Claude Code

… (9.3)

Reverts Renovate PR #5797 which bumped go-json-experiment/json from
v0.0.0-20251027170946-4849db3c2f7e to v0.0.0-20260430182902-b6187a392ed4.

The new version removed the SkipFunc exported symbol, breaking the build:
  trivy@v0.66.0/pkg/x/json/json.go:109: undefined: json.SkipFunc

The CI cross-build uses GOFLAGS=-mod=readonly which bypasses vendor/ and
resolves to the new broken version from the module cache.

Pins back to v0.0.0-20251027170946-4849db3c2f7e which is proven stable
with trivy v0.66.0 and matches the version used on the 9.4 branch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@olegsu olegsu requested a review from a team as a code owner May 1, 2026 01:38
@olegsu olegsu merged commit d4fde21 into 9.3 May 1, 2026
7 of 10 checks passed
@olegsu olegsu deleted the fix/revert-go-json-experiment-93 branch May 1, 2026 01:38
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