Files
vpn-dns-gateway/delivery/PR.md

1.4 KiB
Raw Permalink Blame History

Fix constrained health checks and add pricing v2

Pricing build 4 passed tests/scans and deployed v1 staging with correct HTTPS, source identity and total 30. Its unchanged rerun stopped because Docker's three-second health deadline was too short for Python startup under the 0.25 CPU cap. Keep the two-second HTTP timeout and all security/resource limits; extend only Docker's overall health timeout to ten seconds.

An isolated trial of the same reviewed image passed eight consecutive checks in 2.817–5.660 seconds under identical limits. The temporary container had no network, published port or proxy alias and was removed afterward. Preserve the actual failed gate and diagnostic evidence; no production approval is claimed.

Also prepare the required v2 source/tests: version v2, unit price 12, total 36. Keep two commits: first the health fix with v1 source, then the v2 app/test change. Review both and merge with a merge commit, preserving both SHAs. Jenkins will release the first commit as v1, then the second as v2, each with staging/idempotence checks and separate human production approval. Recovery records will be saved from actual successful builds and reviewed afterward.

Validation: eight constrained diagnostic probes passed; three local functional tests and twelve control tests passed. Local functional tests used Flask 3.1.3 and Werkzeug 3.1.8; assessed Jenkins runs retain the exact 3.1.9 dependency lock.