Skip to content

chore: tidy the root module - #490

Merged
retr0h merged 1 commit into
mainfrom
chore/tidy-root-module
Sep 13, 2026
Merged

retr0h merged 1 commit into
mainfrom
chore/tidy-root-module

Conversation

@retr0h

@retr0h retr0h commented Sep 13, 2026

Copy link
Copy Markdown
Collaborator

Two indirect entries the module no longer requires:

- github.com/dlclark/regexp2 v1.12.0 // indirect
- github.com/lasiar/canonicalheader v1.1.2 // indirect

regexp2/v2 is also listed, so the v1 line was dead. Both arrived through
go get -tool, which rewrites go.mod whenever a linter dependency moves, and
nothing removed them once they stopped being needed. 86 lines out of go.sum.

Surfaced by go-mod-check, which landed in go-test yesterday in
osapi-justfiles#70. Before
that, CI tidied inside a throwaway checkout and discarded the result, so this
could sit in main indefinitely while every build stayed green. It found real
drift on its first day.

go build ./... and just go-vet both clean.

🤖 Generated with Claude Code

https://claude.ai/code/session_01FuKUsHFG1EqZXamffh9M2c

Two indirect entries the module no longer requires: dlclark/regexp2
v1.12.0, superseded by regexp2/v2 which is also listed, and
lasiar/canonicalheader. Both arrived through `go get -tool`, which
rewrites go.mod whenever a linter dependency moves, and nothing removed
them when they stopped being needed.

Surfaced by go-mod-check, which landed in go-test yesterday. Before that
CI tidied inside a throwaway checkout and discarded the result, so this
drift could sit in main indefinitely while every build stayed green.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01FuKUsHFG1EqZXamffh9M2c
@codecov

codecov Bot commented Sep 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #490   +/-   ##
=======================================
  Coverage   99.94%   99.94%           
=======================================
  Files         485      485           
  Lines       22940    22940           
=======================================
  Hits        22928    22928           
  Misses         12       12           

Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 751d019...861e667. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@retr0h
retr0h merged commit 3288228 into main Sep 13, 2026
12 checks passed
@retr0h
retr0h deleted the chore/tidy-root-module branch September 13, 2026 19:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant