Expand description
sqry context-propagation — Go context-propagation analysis CLI (T3.7).
Surfaces context.Context plumbing breaks classified by
sqry_db::queries::context_propagation::ContextPropagationQuery:
BreakSite— sync caller has acontext.Contextparameter, callee acceptscontext.Context, but the call passes zero context args.UnthreadedGoroutine—go callee(...)with a ctx-accepting callee.HttpHandlerLeak— caller isfunc(http.ResponseWriter, *http.Request)and the callee is ctx-accepting, but the call dropsr.Context().
This CLI mirrors the MCP context_propagation tool from Cluster G; both
route through sqry_db::queries::dispatch::make_query_db_cold so the
per-publish cache contract from CLAUDE.md §“Persistence (V10)” is
preserved.
Structs§
- Call
Site Span - Call-site coordinates in 1-based lines + 0-based byte columns.
- Context
Leak Hit - One JSON row produced by
--output json(defaultcli.json). Matches the schema enumerated inCLI_INTEGRATION.md§1.3.
Functions§
- run_
context_ propagation - Entry point for the
sqry context-propagationsubcommand.