Skip to content

fix(lint): check the treatment agent's Close; nixfmt quality.nix - #306

Merged
randomizedcoder merged 1 commit into
mainfrom
fix/fp8-lint
Nov 14, 2026
Merged

randomizedcoder merged 1 commit into
mainfrom
fix/fp8-lint

Conversation

@randomizedcoder

Copy link
Copy Markdown
Owner

Main has been red on lint since #305.

  • sec(FP-8): land goip_write tag and no-write-encoders check on main (#298, #299) #305 added the treatment tag to the golangci tiers, so they linted cmd/xtcp2/treatments_embedded.go for the first time. errcheck flagged the unchecked a.Close(); the error is now logged.
  • nix/tests/tcp-controller/quality.nix is nixfmt-formatted.
  • Passed locally: nix-fmt, lint-baseline, golangci-lint (quick, default, comprehensive), tcp-controller-unit.

🤖 Generated with Claude Code

#305 added the treatment tag to the golangci tiers, which linted
cmd/xtcp2/treatments_embedded.go for the first time (errcheck on a.Close),
and its quality.nix edit was not nixfmt-clean.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@randomizedcoder
randomizedcoder merged commit 3a3ee48 into main Nov 14, 2026
1 check passed
@randomizedcoder
randomizedcoder deleted the fix/fp8-lint branch November 14, 2026 07:34
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