Record verified releases and prepare recovery exercises

This commit is contained in:
2026-11-15 23:00:00 -05:00
parent 231d11528a
commit 6c5342219a
23 changed files with 1619 additions and 119 deletions
+22 -19
View File
@@ -1,23 +1,26 @@
# Fix constrained health checks and add pricing v2
# Record verified releases and prepare the recovery exercises
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.
Jenkins builds 5 and 6 completed reviewed v1/v2 delivery: tests/scans passed,
unchanged staging reruns had changed=0, Vincent approved each production input,
and each exact digest was promoted without rebuilding. Copy their four actual
release selectors into Git so recovery can use reviewed known-good records.
Preserve failed attempts, approvals, timings and scan hashes as evidence.
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.
The reviewed production probe/panel was applied after healthy v1 and verified
in Prometheus and the Grafana UI. Record the single HTTP 502 sample during v2
replacement; zero downtime and unobserved alert notifications are not claimed.
Include the guarded operator helper and current manual/inventory updates.
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.
The recovery fixture deliberately binds Gunicorn to 8001 only in staging,
while health still probes 8000. Keep three commits in this PR: records/evidence
and the patch; the staging-only template fault; its immediate revert. Review
all three, including the intermediate bad configuration. Merge with a merge
commit, preserving that SHA while the final main template remains correct.
The explicit Jenkins staging-failure mode selects that historical configuration;
merging alone does not deploy it. Both recovery executions remain pending.
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.
Validation: successful Jenkins builds 5/6, real approval records, strict selector
verification for all four records, post-release HTTPS identity/price/400 checks,
all six scrape targets up, successful reload and the live production panel.
The failure patch passes git apply --check and local staging/production isolation
checks. No credential or access scope changed.