Skip to content

Conversation

@flyrain
Copy link
Contributor

@flyrain flyrain commented Nov 17, 2025

@@ -0,0 +1,54 @@
"""Unit tests for ``polaris_mcp.tools.catalog_role``."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing the license header here.

Do we have a Git issue for auto-checking the license?

Copy link
Contributor

Choose a reason for hiding this comment

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

I just created PR #71 to fix this.

@@ -0,0 +1,57 @@
"""Unit tests for ``polaris_mcp.tools.catalog``."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing header

@@ -0,0 +1,40 @@
"""Unit tests for ``polaris_mcp.tools.policy``."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing header

@@ -0,0 +1,43 @@
"""Unit tests for ``polaris_mcp.tools.principal_role``."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing header

@@ -0,0 +1,45 @@
"""Unit tests for ``polaris_mcp.tools.principal``."""
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing header

Copy link
Contributor

@adam-christian-software adam-christian-software left a comment

Choose a reason for hiding this comment

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

Overall, I like the changes. I especially like that we are injecting in the RestTool rather than building that dependency.

Personally, I would add a Description to the PR since that helps keep our project clean.

@flyrain flyrain merged commit 34fa4e7 into apache:main Nov 23, 2025
5 checks passed
@flyrain
Copy link
Contributor Author

flyrain commented Nov 23, 2025

Thanks all for the review!

MonkeyCanCode pushed a commit to MonkeyCanCode/polaris-tools that referenced this pull request Nov 23, 2025
MonkeyCanCode pushed a commit to MonkeyCanCode/polaris-tools that referenced this pull request Nov 23, 2025
MonkeyCanCode pushed a commit to MonkeyCanCode/polaris-tools that referenced this pull request Nov 25, 2025
MonkeyCanCode added a commit that referenced this pull request Nov 25, 2025
* Added support for configurable HTTP timeout

* MCP: Add unit tests for all tools and refactors (#51)

* Added support for configurable HTTP timeout

* Fix lint

---------

Co-authored-by: Yufei Gu <yufei@apache.org>
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.

4 participants