Skip to content

node: check response body close errors in transport tests - #3

Open
p1c2u wants to merge 1 commit into
agentiscalefrom
transport-test-close-errors
Open

p1c2u wants to merge 1 commit into
agentiscalefrom
transport-test-close-errors

Conversation

@p1c2u

@p1c2u p1c2u commented Nov 13, 2026 •

Copy link
Copy Markdown

Brings the transport tests in line with the version proposed upstream in google#902, where golangci-lint's errcheck flagged the two unchecked defer resp.Body.Close() calls. Test-only; keeps this branch identical to the upstream change so a later upstream merge is clean.

go test -run Libp2pHTTPTransport ./internal/node passes.

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