Repository navigation
[log] Add debug logging to launcher session launch - #16299
Conversation
Co-authored-by: Copilot <[email protected]>
There was a problem hiding this comment.
🟡 Changes recommended
A moderate active issue remains because the new debug log emits backend errors without launcher-context redaction, risking disclosure of sensitive data.
1 open issue
What changed in this PR
Adds debug-level observability around stateful stdio session launches in the launcher package using the existing logger, without changing launch behavior.
Changes:
- Logs rejected launches when the launcher is closed.
- Logs session launch failures and successful session-pool insertion.
- Logs stdio launch initiation and startup timeout events.
| File | Description |
|---|---|
| internal/launcher/launcher.go | Adds five debug log calls covering session rejection, launch failures, session-pool insertion, stdio launch initiation, and startup timeouts. |
Review effort: Lite (auto)
This comment has been minimized.
This comment has been minimized.
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
🔒 mcpg Read-Only Stress — defaultSurface coverage: MCP tool calls + proxied CLI (REST) + GraphQL mutations
Overall: INCONCLUSIVE
No writes leaked in any part that was reachable (no reaction/star/issue/comment/branch/file/PR created).
|

Adds 5 debug log calls to
internal/launcher/launcher.gousing the existinglogLauncherlogger: launcher-closed rejection, session launch failure, session pool insertion, stdio launch start, and startup timeout. Arguments are side-effect free.Validation:
go vet/go test ./internal/launcherandgo buildpass.Warning
Firewall blocked 3 domains
The following domains were blocked by the firewall during workflow execution:
example.comnonexistent.localslow.example.comTo allow these domains, add them to the
network.allowedlist in your workflow frontmatter:See Network Configuration for more information.