forked from mtusi2026/mtusi2026lab6
2.0 KiB
2.0 KiB
Lab 6 — final audit
Date: 2026-11-12.
Confirmed fixes from the audit
- SLO policy window previously said 30 days while Prometheus retained 7 days. The policy is now explicitly 7 days and has verifiable
messenger:slo_*_ratio_7drecording rules. - The skeleton-only CI had no application job. CI now builds the complete Compose stack, waits for readiness, runs the public smoke and telemetry-path tests, prints logs on failure and removes ephemeral volumes.
- Histogram calibration was added to guard against seconds/milliseconds and default-bucket mistakes.
govulncheckfound 19 reachable vulnerabilities in the original AMQP and image dependencies.github.com/rabbitmq/amqp091-gowas upgraded to v1.14.0 andgolang.org/x/imageto v0.45.0. Fixed transitive versions ofgrpc,x/net,x/cryptoandklauspost/compressremoved six additional non-reachable findings.
Verification
git diff --check: PASS.git add --dry-run .:.env,secrets/,__pycache__and build artifacts excluded.- Secret scan: no committed local credential value found.
go test -race -count=1 ./...: PASS.go vet ./...,go build ./...,go mod verify: PASS.govulncheck -show verbose ./...: PASS; no symbol, package or module vulnerabilities found.- Python compileall: PASS.
- frontend
npm ci,npm test,npm run build: PASS; npm reported 0 vulnerabilities. - Compose config and all dashboard JSON files: PASS.
- Prometheus
promtool: PASS, 17 rules. - Public smoke, grade-4 telemetry regression, grade-5 SLO experiment: PASS.
- Histogram calibration: PASS; HTTP client/Prometheus p95 3.570/4.910 ms, ready p95 1.013/0.946 s, worker p95 97.5 ms.
Remaining limitations
- The seven-day SLO policy is locally verifiable but the burn windows are intentionally compressed for the laboratory experiment.
- No independent human performed the runbook drill; the black-box scenario follows it automatically.
- Repository shell scripts passed
bash -nand ShellCheck 0.11.0 after resolving four SC1007 warnings.