Move /health endpoint to /mcp/health#153
Conversation
keyurva
commented
Feb 2, 2026
- Pushed to staging and separately updated the nonprod apigee config in mixer to make it unprotected: https://staging.api.datacommons.org/mcp/health
- Will send out the mixer PR also, submit it and then update the prod apigee config
Summary of ChangesHello @keyurva, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request primarily focuses on relocating the Highlights
Changelog
Ignored Files
Activity
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request correctly moves the health check endpoint from /health to /mcp/health. The changes in the Python server code and the Dockerfile's HEALTHCHECK are accurate. I've added one comment to the deploy/README.md file suggesting an improvement to the documentation to prevent potential copy-paste errors and to fix an inconsistency.
deploy/README.md
Outdated
| git tag v1.1.3.rc1 | ||
| git push upstream v1.1.3.rc1 |
There was a problem hiding this comment.
Using v1.1.3.rc1 is a good improvement for semantic versioning clarity. However, this example is hardcoded, which might lead to copy-paste errors. It would be more robust to use a placeholder like vX.Y.Z.rcN.
Additionally, there's an inconsistency in the document. The description on line 18 still mentions the old format v1.1.3rc1. It would be great to update that as well for consistency.
| git tag v1.1.3.rc1 | |
| git push upstream v1.1.3.rc1 | |
| git tag vX.Y.Z.rcN | |
| git push upstream vX.Y.Z.rcN |
There was a problem hiding this comment.
nit: i like vX.Y.Z.rcN but nw if you prefer the numbers
deploy/README.md
Outdated
| git tag v1.1.3.rc1 | ||
| git push upstream v1.1.3.rc1 |
There was a problem hiding this comment.
nit: i like vX.Y.Z.rcN but nw if you prefer the numbers
| [[package]] | ||
| name = "datacommons-mcp" | ||
| version = "1.1.4" | ||
| version = "1.1.5" |
There was a problem hiding this comment.
just to double check -- is this intentional?
There was a problem hiding this comment.
Chatted offline but this is a result of running uv sync. I should've run it when I bumped the version in pyproject.toml. Something to keep in mind for future bumps.
keyurva
left a comment
There was a problem hiding this comment.
Thanks for the review!
deploy/README.md
Outdated
| git tag v1.1.3.rc1 | ||
| git push upstream v1.1.3.rc1 |
| [[package]] | ||
| name = "datacommons-mcp" | ||
| version = "1.1.4" | ||
| version = "1.1.5" |
There was a problem hiding this comment.
Chatted offline but this is a result of running uv sync. I should've run it when I bumped the version in pyproject.toml. Something to keep in mind for future bumps.