Skip to content

Fix noctx lint errors#571

Merged
JamieMagee merged 1 commit intomainfrom
jamiemagee/fix-noctx-lint
Feb 10, 2026
Merged

Fix noctx lint errors#571
JamieMagee merged 1 commit intomainfrom
jamiemagee/fix-noctx-lint

Conversation

@JamieMagee
Copy link
Member

Six places in the codebase call net.Listen, exec.Command, http.Post, or http.NewRequest without a context, which trips the noctx linter.

This replaces each one with its context-aware equivalent:

  • exec.Commandexec.CommandContext
  • net.Listen(*net.ListenConfig).Listen
  • http.Posthttp.NewRequestWithContext + http.DefaultClient.Do
  • http.NewRequesthttp.NewRequestWithContext

Replace bare net.Listen, exec.Command, http.Post, and http.NewRequest
calls with their context-aware equivalents so the noctx linter passes.
@JamieMagee JamieMagee requested review from a team as code owners February 10, 2026 18:14
@JamieMagee JamieMagee added this pull request to the merge queue Feb 10, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 10, 2026
@JamieMagee JamieMagee added this pull request to the merge queue Feb 10, 2026
Merged via the queue into main with commit 7b2fae4 Feb 10, 2026
252 of 257 checks passed
@JamieMagee JamieMagee deleted the jamiemagee/fix-noctx-lint branch February 10, 2026 21:12
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.

2 participants