Repository navigation
deps: drop the unused go.yaml.in/yaml/v4 require - #503
Merged
Merged
Conversation
Renovate's v3 -> v4 major update only touched go.mod, so v4 sat as a direct require that no package imports. Tidy removes it, and a Renovate rule stops the go.mod-only major bump from coming back. Co-Authored-By: Claude Opus 5.5 <[email protected]>
rdimitrov
approved these changes
Nov 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
go.modlistsgo.yaml.in/yaml/v4 v4.0.0as a direct require, but nothing imports it: every YAML import usesgo.yaml.in/yaml/v3.go mod why -m go.yaml.in/yaml/v4reports "main module does not need module go.yaml.in/yaml/v4", andgo mod tidyremoves it. Downstream modules would otherwise pull the unused require into their module graph.renovate.jsonrule disables major updates forgo.yaml.in/yaml/v3; moving to v4 needs import/API changes done by hand.Test plan
task tidy:go mod tidy+go mod verify, all modules verified;redisconn/*modules already tidytask lint: 0 issuestask test: all packages passrenovate-config-validator renovate.json: config validated successfully🤖 Generated with Claude Code