-
Notifications
You must be signed in to change notification settings - Fork 1.1k
fix(aws-documentation-mcp-server): Fix get_available_services endpoint #1796
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
A change was recently made to the AWS CN page for available services and completely changed its format. This change is to update the tool endpoint function to continue surfacing the available services in AWS CN.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1796 +/- ##
==========================================
+ Coverage 90.42% 90.61% +0.19%
==========================================
Files 851 665 -186
Lines 63317 54302 -9015
Branches 10253 9038 -1215
==========================================
- Hits 57254 49207 -8047
+ Misses 3772 3101 -671
+ Partials 2291 1994 -297 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Consider meeting the project's code coverage |
Good call, thanks @scottschreckengaust ! I've updated with better test coverage, I missed it on the initial pass, my mistake. |
tuanknguyen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2 nit comments
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws_cn.py
Show resolved
Hide resolved
src/aws-documentation-mcp-server/awslabs/aws_documentation_mcp_server/server_aws_cn.py
Outdated
Show resolved
Hide resolved
tuanknguyen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Lavoiedavidw
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM: Looking for clarification on forward looking expectations
#1796) * fix(aws-documentation-mcp-server): Fix get_available_services endpoint A change was recently made to the AWS CN page for available services and completely changed its format. This change is to update the tool endpoint function to continue surfacing the available services in AWS CN. * fix: Updating tests to cover new functionality introduced in change * Updating object/dict access patterns to use safer approach * Using existing approach for returning/logging error messages --------- Co-authored-by: Jonathan Lim <[email protected]>
Summary
A change was recently made to the AWS CN page for available services and completely changed its format. This change is to update the tool endpoint function to continue surfacing the available services in AWS CN.
Changes
get_available_servicestoolUser experience
Ideally, there would be no real change to the user experience, since this change is to restore functionality that was broken from a content update.
Checklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change? N
RFC issue number:
Checklist:
Acknowledgment
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.