Skip to content

Mark gopkg.in/yaml.v3 as a direct dependency in go.mod - #99

Merged
LarsLaskowski merged 1 commit into
mainfrom
claude/issue-69-0w2qkc
Aug 21, 2026
Merged

Mark gopkg.in/yaml.v3 as a direct dependency in go.mod#99
LarsLaskowski merged 1 commit into
mainfrom
claude/issue-69-0w2qkc

Conversation

@LarsLaskowski

@LarsLaskowski LarsLaskowski commented Aug 21, 2026

Copy link
Copy Markdown
Owner

Pull Request

📖 Description

go.mod marked gopkg.in/yaml.v3 as // indirect, but internal/config imports it
directly to parse the application config — the comment was stale. Ran go mod tidy,
which corrects the require directive (drops // indirect) and adds the missing
gopkg.in/check.v1 hash line to go.sum. Pure hygiene/tooling fix, no behavior change.

🎫 Issues

👩‍💻 Reviewer Notes

Diff is limited to go.mod and go.sum; nothing else changed. No particular area needs
extra scrutiny — just confirm go build/go vet/tests still pass, which they do.

📑 Test Plan

No behavior changed, so no new test was added (see docs/TESTS.md). Verified locally:

  • go build ./...
  • go vet ./...
  • go test ./... -race -cover — all packages pass
  • golangci-lint run — 0 issues

✅ Checklist

General

  • I have added/updated tests for my changes (go test ./... -race -cover passes locally). (N/A — hygiene-only change, no logic touched)
  • go vet ./... and golangci-lint run are clean.
  • I have tested my changes.
  • I have read the CONTRIBUTING documentation and followed the project's code style guidelines.
  • I have updated ARCHITECTURE.md if this changes a documented design decision. (N/A — no design decision changed)

REST API / configuration / packaging

Not applicable — no REST API, configuration, or packaging changes.

⏭ Next Steps

The issue also suggests adding a CI step that fails when go mod tidy produces a diff,
to prevent this from drifting again. Left as optional follow-up, out of scope for this
minimal fix.

internal/config imports yaml.v3 directly, but go.mod carried a stale
"// indirect" comment. Run `go mod tidy` to correct the require
directive and pull in the resulting go.sum entry.

Closes #69
@sonarqubecloud

Copy link
Copy Markdown

@LarsLaskowski
LarsLaskowski merged commit fe6834e into main Aug 21, 2026
5 checks passed
@LarsLaskowski
LarsLaskowski deleted the claude/issue-69-0w2qkc branch August 21, 2026 17:32
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.

Hygiene: go.mod marks gopkg.in/yaml.v3 as indirect although it is a direct dependency

2 participants