Skip to content

fix(mcp-proxy): correct tool request audit logging - #3140

Merged
wklken merged 1 commit into
TencentBlueKing:masterfrom
wklken:fix-mcp-proxy-duplicate-request-log
Aug 10, 2026
Merged

fix(mcp-proxy): correct tool request audit logging#3140
wklken merged 1 commit into
TencentBlueKing:masterfrom
wklken:fix-mcp-proxy-duplicate-request-log

Conversation

@wklken

@wklken wklken commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • remove the duplicate request field from call tool complete audit logs and keep params as the canonical MCP tool arguments field
  • calculate request_body_size from the complete serialized arguments instead of the truncated log preview
  • add regression coverage against the emitted audit log JSON

The existing structured query, path, and body fields are unchanged. Dashboard compatibility fallback for historical logs is also unchanged.

Verification

  • make lint
  • make test (14 suites passed; integration specs in this command were environment-skipped as designed)
  • make integration (81 passed, 0 failed, 0 skipped)

@wklken
wklken merged commit e76bff0 into TencentBlueKing:master Aug 10, 2026
5 checks passed
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.

1 participant