forked from mtusi2026/mtusi2026lab7
90 lines
3.0 KiB
JSON
90 lines
3.0 KiB
JSON
{
|
|
"commands": [
|
|
{
|
|
"built_with": "go1.27.3",
|
|
"command": "make lint",
|
|
"golangci_lint": "2.15.0",
|
|
"result": "0 issues"
|
|
},
|
|
{
|
|
"command": "make unit-test",
|
|
"flags": [
|
|
"-race",
|
|
"-shuffle=on",
|
|
"-count=1",
|
|
"-timeout=5m"
|
|
],
|
|
"result": "reported package tests passed"
|
|
},
|
|
{
|
|
"command": "make build",
|
|
"image": "mtusi-messenger:lab7",
|
|
"image_manifest": "sha256:6445f3422b2d1b393e2e5b28f1f90e3b12d4a417a27991b2ff8bb01780926f2d",
|
|
"result": "linux/arm64 image built"
|
|
},
|
|
{
|
|
"command": "make check validate PYTHON=.venv/bin/python",
|
|
"result": "offline contract/Python syntax and OpenAPI3.1/JSON Schema validation passed"
|
|
},
|
|
{
|
|
"command": "make test test-security",
|
|
"result": "public API scenario passed; trusted HTTPS passed; untrusted CA rejected"
|
|
},
|
|
{
|
|
"command": "make test-lab7",
|
|
"evidence": "security.json",
|
|
"result": "all 13 live security groups passed"
|
|
},
|
|
{
|
|
"command": "make test-attachments",
|
|
"result": "negative attachment checks passed"
|
|
},
|
|
{
|
|
"command": "make test-presign",
|
|
"result": "direct HTTPS PUT, queued completion, foreign404, checksum409, oversized403/409, repeated complete idempotent"
|
|
},
|
|
{
|
|
"command": "make test-queue",
|
|
"result": "worker/broker downtime, outbox recovery, stack restart and reprocess precedence scenarios passed"
|
|
},
|
|
{
|
|
"command": "make test-idempotency",
|
|
"result": "12 parallel replay workers across2replicas create one message; conflicting bodies accept1 and reject11"
|
|
},
|
|
{
|
|
"command": "make test-observability",
|
|
"result": "signals, trace/log correlation, labels, Grafana, rules and privacy sentinels passed"
|
|
},
|
|
{
|
|
"command": "make test-persistence ACTION_SCRIPT=scripts/restart.sh",
|
|
"evidence": "restart-scope.json",
|
|
"result": "confirmed message, complete attachment bytes and existing session preserved",
|
|
"seconds": 43.59
|
|
},
|
|
{
|
|
"command": "make test-failover ACTION_SCRIPT=scripts/stop-one.sh",
|
|
"evidence": "failover-scope.json",
|
|
"failed_attempts": 0,
|
|
"first_recovery_seconds": 0.815,
|
|
"result": "confirmed data and existing session preserved",
|
|
"successful_writes": 92
|
|
},
|
|
{
|
|
"command": "make integration-test",
|
|
"evidence": "integration.txt",
|
|
"result": "PostgreSQL16.982s and Redis1.239s existing tagged integration suites passed over verified local TLS"
|
|
},
|
|
{
|
|
"command": "python3 scripts/lab7_scan.py",
|
|
"evidence": "scans/summary.json",
|
|
"result": "all13image scanner exits0; source symbol/package-only findings0, required-module-only GO-2026-5932"
|
|
},
|
|
{
|
|
"command": "targeted missing established S3 readiness object",
|
|
"evidence": "readiness.json",
|
|
"result": "404; bounded2.000884750s failure; no reseed; original marker and full bytes restored"
|
|
}
|
|
],
|
|
"scope": "Authorized local synthetic stand; no disabled certificate checks."
|
|
}
|