Record verified releases and prepare recovery exercises
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
# Reviewed v1/v2 releases and production monitoring
|
||||
|
||||
Client date: 15 November 2026 Eastern; all times below are 16 November UTC.
|
||||
Billy approved PR 26 at 02:56:00; Vincent merged it at 02:57:42 as
|
||||
`231d11528a425114a8d3570afba56943c4d57d96`, preserving both source commits.
|
||||
The merge-triggered manual workflow 15 passed in 2m7s before delivery began.
|
||||
|
||||
| Evidence | v1 | v2 |
|
||||
|---|---|---|
|
||||
| Source and configuration | `34f26e6948b7001ede8ca19f23b67a02082e6a9a` | `6bddbfba5a36e0e397537678ffb197e101fb0670` |
|
||||
| Jenkins | [Build 5 SUCCESS](https://ci.yebilly.me/job/secure-delivery/job/pricing/5/) | [Build 6 SUCCESS](https://ci.yebilly.me/job/secure-delivery/job/pricing/6/) |
|
||||
| Full run, including human wait | 03:00:10.966–03:05:08.180; 297.214 s | 03:05:33.456–03:12:29.163; 415.707 s |
|
||||
| Initial staging | 59.160 s; ok=10, changed=3, failed=0 | 60.106 s; ok=10, changed=3, failed=0 |
|
||||
| Unchanged staging rerun | 41.499 s; ok=10, changed=0, failed=0 | 45.487 s; ok=10, changed=0, failed=0 |
|
||||
| Actual human approval | `vsun1`, 03:04:01 | `vsun1`, 03:11:18 |
|
||||
| Production deployment | 03:04:05.208–03:05:05.611; 60.403 s | 03:11:21.802–03:12:28.037; 66.234 s |
|
||||
| Verified quantity 3 total | USD 30 in both environments | USD 36 in both environments |
|
||||
|
||||
Both runs passed twelve control tests and three Flask tests, clean-source
|
||||
scanning, all nine locked dependency audits (zero advisories), and pre-push and
|
||||
registry-digest image gates (two analyzed targets, zero HIGH/CRITICAL findings).
|
||||
No exception was added. Each source-SHA image was built once, pushed, pulled
|
||||
and promoted by the same exact digest across staging and production.
|
||||
|
||||
Repository: `git.yebilly.me/ssw590-group1/pricing`
|
||||
|
||||
```text
|
||||
v1 sha256:59c880b2704f91668618d9a2ff0bc8fbab0af4239ceb916de261863890ef88d8
|
||||
v2 sha256:efe8658a0adf0854038d58199652030cbd0ef70047a1c6ebc7b09906cf1ec88b
|
||||
```
|
||||
|
||||
The four selectors in `delivery/releases/` are copied unchanged from these
|
||||
successful Jenkins builds. They include the real source/configuration SHAs,
|
||||
digest, environment, expected version/total, build URL and creation time.
|
||||
They pass `release.py verify` and need review/commit before recovery. Earlier
|
||||
failed-attempt records were not substituted. Full reports and actual approval
|
||||
records remain archived in Jenkins; exact local copies are retained in ignored
|
||||
`build/evidence/assignment8-execution/jenkins-{5,6}/`.
|
||||
[Machine-readable summary](releases-20261115.json) includes recaps, timestamps,
|
||||
scan counts and full image-report SHA-256 hashes.
|
||||
|
||||
## Production monitoring, applied only after healthy v1
|
||||
|
||||
At 03:08:11 the previously reviewed production `/health` target and panel 8
|
||||
were applied. The guarded helper required healthy production, compared earlier
|
||||
probes/panels, validated the candidate with installed promtool, saved protected
|
||||
backups and preserved both bind-mounted file inodes. Prometheus reloaded via
|
||||
SIGHUP; Grafana provisioned the changed file. No container, volume, retention,
|
||||
allowlist, credential or existing alert rule was replaced. The first dry-run
|
||||
cleanup needed root inside Prometheus because docker cp created a root-owned
|
||||
temporary file; that was corrected before active application.
|
||||
|
||||
[Applied metadata](monitoring-applied-20261115.json) records hashes and backup
|
||||
`/root/ssw590-delivery-bootstrap/monitoring-20261116/`.
|
||||
[Actual samples and targets](monitoring-runtime-20261115.json), observed at
|
||||
03:14:11, showed production, Gitea and Jenkins probe_success=1, all six scrape
|
||||
targets up and successful reload=1. The dashboard source retained its previous
|
||||
seven panels; the actual Grafana UI also displayed the new pricing panel and
|
||||
its data. A legacy SQL dashboard lookup returned no row, so it was not used
|
||||
as proof of provisioning.
|
||||
|
||||
Prometheus supports [runtime SIGHUP reload](https://prometheus.io/docs/prometheus/latest/configuration/configuration/).
|
||||
Grafana's [file provisioning](https://grafana.com/docs/grafana/latest/administration/provisioning/)
|
||||
detects dashboard changes; visible runtime verification was performed separately.
|
||||
|
||||
## Observed availability during v2 promotion
|
||||
|
||||
The [post-release capture](runtime-20261115.json) at 03:28:08 verified both
|
||||
environments as healthy v2 with the exact source SHA, HTTP 200 for identity,
|
||||
health and total 36, and HTTP 400 for quantity 0. Both containers had zero OOM
|
||||
events and no observed memory-limit events in that capture.
|
||||
|
||||
The production probe history contains one failed sample at **03:11:54.602**
|
||||
during v2's 03:11:21.802–03:12:28.037 deployment window. Adjacent successful
|
||||
samples were 03:11:24.602 and 03:12:24.602. The capture preserves exact HTTP
|
||||
status and duration samples. A single failed 30-second-cadence sample does
|
||||
not establish an exact 30-second outage or zero downtime between other samples.
|
||||
The interval is shorter than the existing one-minute alert duration; no alert
|
||||
firing or notification is claimed without separate evidence. The single-host
|
||||
Compose replacement is not blue/green or highly available deployment.
|
||||
|
||||
The Grafana screenshot is retained in the manual's image folder. Production
|
||||
rollback and deliberate staging failure/recovery remain **unexecuted** pending
|
||||
review of the successful records and preserved staging-only configuration fault.
|
||||
See [the recovery exercise instructions](../exercises/README.md).
|
||||
Reference in New Issue
Block a user