Skip to content

Conversation

@kyoncal
Copy link
Contributor

@kyoncal kyoncal commented Nov 13, 2025

Summary

Log levels were changed.

Changes

Log levels were changed.

User experience

The user will now not see error logs when metadata injection is skipped.

Checklist

If your change doesn't seem to apply, please leave them unchecked.

  • I have reviewed the contributing guidelines
  • I have performed a self-review of this change
  • [] Changes have been tested
  • [] Changes are documented

Is this a breaking change? (Y/N)

  • Yes
  • No

Please add details about how this change was tested.

  • Did integration tests succeed?
  • If the feature is a new use case, is it necessary to add a new integration test case?

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kyoncal kyoncal self-assigned this Nov 13, 2025
@kyoncal kyoncal requested a review from a team as a code owner November 13, 2025 09:35
some items in sigv4_helper.py were logged as error level, which caused some problems with some MCP clients.
@kyoncal kyoncal force-pushed the fix/metadata-log-level branch from 4e7c380 to 49f438c Compare November 13, 2025 12:16
@kyoncal kyoncal requested a review from wzxxing November 13, 2025 12:16
)
body['params']['_meta'] = {**metadata, **existing_meta}
else:
logger.info('Replacing non-dict _meta value with injected metadata')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the change! Could you also add a section in the readme under troubleshooting that Cline has some issues with logging during the connection phase and count those as errors?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for noticing this. @kyoncal This is the weird part of the cline code for your reference.

https://github.com/cline/cline/blob/04549cf1e3b6461d78f8cd95100c7b56d8529cf4/src/services/mcp/McpHub.ts#L281-L303

@arangatang arangatang merged commit af0dcc2 into aws:main Nov 13, 2025
3 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.

3 participants