You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[deep-report] Extend ctxbackground linter to flag bare exec.Command inside context-receiving functions #38143
The ctxbackground linter currently flags only context.Background() misuse. It does not flag bare exec.Command(...) calls made inside functions that already receive a context.Context parameter — which is exactly how the context-propagation debt keeps growing (109 bare exec.Command vs 24 exec.CommandContext, 0 progress since 2026-06-03). Extend the linter (or add a sibling analyzer) to report exec.Command invoked within a context-receiving function and suggest exec.CommandContext(ctx, ...). Use pass.TypesInfo for type-accurate matching, consistent with the other 22 custom analyzers.
Expected Impact
Turns a recurring, manually-tracked debt into an automatically-enforced rule, preventing new un-cancellable subprocess spawns from landing. High leverage: stops the regression at the source rather than chasing 32 files by hand.
Activity
feat(linters): add execcommandwithoutcontext linter
github-actions commentedon Jun 9, 2026
🍪 Issue Monster selected this for Copilot
I've identified this issue as a good candidate for automated resolution and requested assignment to the Copilot coding agent.
If assignment succeeds, the Copilot coding agent will analyze the issue and create a pull request with the fix.
Om nom nom! 🍪
[linter-miner] feat(linters): add execcommandwithoutcontext linter (#…
github-actions commentedon Jun 11, 2026
This issue was automatically closed because it expired on 2026-06-11T15:52:28.063Z.