Skip to content

feat: add structlog to uninstrumented runner and agent modules#374

Open
lukeinglis wants to merge 1 commit into
akashgit:mainfrom
lukeinglis:feat/structlog-instrumentation
Open

feat: add structlog to uninstrumented runner and agent modules#374
lukeinglis wants to merge 1 commit into
akashgit:mainfrom
lukeinglis:feat/structlog-instrumentation

Conversation

@lukeinglis

@lukeinglis lukeinglis commented May 25, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add structured logging to 4 modules on the agent invocation path: runners/__init__.py, runners/_stream.py, agents/plugin.py, mcp_server.py
  • 13 log statements covering runner selection, stream lifecycle, plugin registration, and MCP tool calls
  • MCP tool arguments logged at DEBUG level (not INFO) to avoid leaking sensitive data

Closes #354

Add structured logging to 4 modules on the agent invocation path:
runners/__init__.py, runners/_stream.py, agents/plugin.py, mcp_server.py.
13 log statements covering runner selection, stream lifecycle, plugin
registration, and MCP tool calls.

Addresses akashgit#354

Signed-off-by: Luke Inglis <lukeinglis21@yahoo.com>
@akashgit akashgit added the observability Logging, structlog, monitoring label May 30, 2026
@osilkin98 osilkin98 added kind:hardening Same behavior, fewer failure modes stage:execution Running agents: runners, dispatch, workspace plumbing labels Jun 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind:hardening Same behavior, fewer failure modes observability Logging, structlog, monitoring stage:execution Running agents: runners, dispatch, workspace plumbing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add structlog to uninstrumented runner and agent modules

3 participants