Repository navigation
Conversation
Lets Docker/compose mark the container unhealthy if /health stops answering. Uses python urllib since the slim image has no curl. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_0171zWznmWMz5ViBpaUpXEw7
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
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.
Summary
The backend image had no
HEALTHCHECK, sodocker compose pscouldn't tell a hung API from a healthy one. Added a check that hits/healthusing Python's stdlib (the slim image has no curl).No open PR (#36–#65) touches the Dockerfile.
Testing
/healthreturned 200.pytest: 42 pass; 1 pre-existing env-dependent failure (test_get_headers_uses_supabase_key, addressed by test: make get_headers test independent of SUPABASE_URL env #43).docker buildin this environment.Generated by Claude Code