This repository was archived by the owner on Nov 25, 2026. It is now read-only.
Repository navigation
Restore HTTP startup and smoke-test the image before publishing - #18
Merged
Merged
Conversation
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
The existing published Python 3.10 images before and after #17 both crash importing Quart 0.17.0 with Werkzeug 3.1.9 (
url_decoderemoved). Updating Quart/Hypercorn makes imports work but alone leaves health routes failing because HTTP cache hooks use the database and assume a cache hit on every request. Use Python 3.10-compatible Quart 0.20.0/Hypercorn 0.18.0, keep health and authenticated requests out of the public cache, and handle cache misses and not-modified responses correctly.Verified the exact Dockerfile image in isolated containers:
/about200,/server/status_check204, and a synthetic release traversed HTTP → discovery → getter → MariaDB. Matching cache hash returned 204; a mismatched hash or request with Authorization returned the full 200 response. No external provider or production deployment was used. The workflow now runs an image startup check on PRs and before publishing from master.