Skip to content
This repository was archived by the owner on Nov 25, 2026. It is now read-only.

Restore HTTP startup and smoke-test the image before publishing - #18

Merged
xz-dev merged 1 commit into
masterfrom
maintenance/server-hello-runtime
Nov 24, 2026
Merged

xz-dev merged 1 commit into
masterfrom
maintenance/server-hello-runtime

Conversation

@xz-dev

@xz-dev xz-dev commented Nov 24, 2026

Copy link
Copy Markdown
Member

The existing published Python 3.10 images before and after #17 both crash importing Quart 0.17.0 with Werkzeug 3.1.9 (url_decode removed). 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: /about 200, /server/status_check 204, 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.

@xz-dev
xz-dev merged commit e7bd3fc into master Nov 24, 2026
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant