Skip to content

fix: the linter infers a bag value's type - #170

Merged
ShocOne merged 1 commit into
mainfrom
fix/the-linter-infers-a-bag-values-type
Aug 30, 2026
Merged

ShocOne merged 1 commit into
mainfrom
fix/the-linter-infers-a-bag-values-type

Conversation

@ShocOne

@ShocOne ShocOne commented Aug 30, 2026

Copy link
Copy Markdown
Member

Cut from main after #169. Turns the ci workflow on main green again ahead of a release.

CI's lint job failed on #168's merge commit with one finding — internal/fixtures/wire.go:118: ST1023: should omit type any from declaration; it will be inferred from the right-hand side — which make check does not run (it leaves golangci-lint to CI). var value any = v.Scalar is now value := v.Scalar; v.Scalar is already any.

golangci-lint run ./... locally: 0 issues. go test ./internal/fixtures green.

Not addressed here, because it is repository configuration rather than code: the diagrams workflow has failed on every push to main since #165 with "Set these repository variables: ANTHROPIC_FEDERATION_RULE_ID ANTHROPIC_ORGANIZATION_ID ANTHROPIC_SERVICE_ACCOUNT_ID" — see docs/diagrams/README.md.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XPLePCqzyYncF7TedagFkg

staticcheck ST1023: the type of a local declared from an any-typed field
is inferred, so the declaration does not spell it.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XPLePCqzyYncF7TedagFkg
@ShocOne
ShocOne merged commit 46436a9 into main Aug 30, 2026
2 checks passed
@ShocOne
ShocOne deleted the fix/the-linter-infers-a-bag-values-type branch August 30, 2026 18:49
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