CAN-287-Add opt-in per-model check to /healthz - #77
Open
nickhuo wants to merge 1 commit into
Open
Conversation
/healthz previously only listed compiled-in provider adapters without
verifying credentials or model access, so a valid key against a
deprecated/inaccessible model would silently 404 downstream. Callers
can now pass <provider>_model=<id> to get a real upstream check
(free GET /v1/models/{id} for OpenAI/Anthropic, bedrock:GetFoundationModel
catalog check for Bedrock) while the zero-arg response stays unchanged.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (1)
Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
nickhuo
marked this pull request as draft
September 8, 2026 22:35
nickhuo
marked this pull request as ready for review
September 9, 2026 18:04
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an issue found in the end2end test across 100 repos, because the model names they use are outdated or have been renamed. Since this is unlikely to affect most real users, who typically use up-to-date model versions in production, it’s not a high-priority issue but rather a nice-to-have compatibility improvement.
/healthznever verified credentials or model access, so a valid key against a deprecated/inaccessible model would silently 404 downstream (CAN-287).GET /healthz?<provider>_model=<id>now makes a real upstream call — freeGET /v1/models/{id}for OpenAI/Anthropic,bedrock:GetFoundationModelcatalog check for BedrockManual verification
CLI smoke test against real upstreams: