forked from mtusi2026/mtusi2026lab4
This commit is contained in:
@@ -2,11 +2,17 @@
|
||||
"page_size": 10,
|
||||
"seeded_consistent": 11,
|
||||
"fresh_apply": {
|
||||
"duration_ms": 58,
|
||||
"duration_ms": 4,
|
||||
"report": {
|
||||
"metadata_scanned": 206,
|
||||
"objects_scanned": 205,
|
||||
"consistent": 204,
|
||||
"metadata_scanned": 14,
|
||||
"objects_scanned": 13,
|
||||
"consistent": 12,
|
||||
"fresh_pending_attachments": 1,
|
||||
"old_pending_attachments": 0,
|
||||
"deleting_attachments": 0,
|
||||
"fresh_unreferenced_attachments": 11,
|
||||
"old_unreferenced_attachments": 0,
|
||||
"deleted_attachment_objects": 0,
|
||||
"fresh_orphan_objects": 1,
|
||||
"old_orphan_objects": 0,
|
||||
"deleted_orphan_objects": 0,
|
||||
@@ -17,11 +23,17 @@
|
||||
}
|
||||
},
|
||||
"dry_run": {
|
||||
"duration_ms": 65,
|
||||
"duration_ms": 5,
|
||||
"report": {
|
||||
"metadata_scanned": 206,
|
||||
"objects_scanned": 205,
|
||||
"consistent": 204,
|
||||
"metadata_scanned": 14,
|
||||
"objects_scanned": 13,
|
||||
"consistent": 11,
|
||||
"fresh_pending_attachments": 0,
|
||||
"old_pending_attachments": 1,
|
||||
"deleting_attachments": 0,
|
||||
"fresh_unreferenced_attachments": 11,
|
||||
"old_unreferenced_attachments": 0,
|
||||
"deleted_attachment_objects": 0,
|
||||
"fresh_orphan_objects": 0,
|
||||
"old_orphan_objects": 1,
|
||||
"deleted_orphan_objects": 0,
|
||||
@@ -32,26 +44,38 @@
|
||||
}
|
||||
},
|
||||
"apply": {
|
||||
"duration_ms": 77,
|
||||
"duration_ms": 13,
|
||||
"report": {
|
||||
"metadata_scanned": 206,
|
||||
"objects_scanned": 205,
|
||||
"consistent": 204,
|
||||
"metadata_scanned": 14,
|
||||
"objects_scanned": 13,
|
||||
"consistent": 11,
|
||||
"fresh_pending_attachments": 0,
|
||||
"old_pending_attachments": 1,
|
||||
"deleting_attachments": 0,
|
||||
"fresh_unreferenced_attachments": 11,
|
||||
"old_unreferenced_attachments": 0,
|
||||
"deleted_attachment_objects": 1,
|
||||
"fresh_orphan_objects": 0,
|
||||
"old_orphan_objects": 1,
|
||||
"deleted_orphan_objects": 1,
|
||||
"fresh_missing_objects": 0,
|
||||
"referenced_missing_objects": 1,
|
||||
"old_unreferenced_metadata": 1,
|
||||
"deleted_unreferenced_rows": 1
|
||||
"deleted_unreferenced_rows": 2
|
||||
}
|
||||
},
|
||||
"repeated_apply": {
|
||||
"duration_ms": 38,
|
||||
"duration_ms": 1,
|
||||
"report": {
|
||||
"metadata_scanned": 205,
|
||||
"objects_scanned": 204,
|
||||
"consistent": 204,
|
||||
"metadata_scanned": 12,
|
||||
"objects_scanned": 11,
|
||||
"consistent": 11,
|
||||
"fresh_pending_attachments": 0,
|
||||
"old_pending_attachments": 0,
|
||||
"deleting_attachments": 0,
|
||||
"fresh_unreferenced_attachments": 11,
|
||||
"old_unreferenced_attachments": 0,
|
||||
"deleted_attachment_objects": 0,
|
||||
"fresh_orphan_objects": 0,
|
||||
"old_orphan_objects": 0,
|
||||
"deleted_orphan_objects": 0,
|
||||
@@ -65,5 +89,6 @@
|
||||
"orphan_deleted": true,
|
||||
"unused_metadata_deleted": true,
|
||||
"in_use_metadata_preserved": true,
|
||||
"total_duration_ms": 515
|
||||
"abandoned_attachment_deleted": true,
|
||||
"total_duration_ms": 328
|
||||
}
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
"upload_rate_bytes_per_second": 1572864,
|
||||
"successful_uploads": 48,
|
||||
"failed_uploads": 0,
|
||||
"duration_ms": 12629,
|
||||
"heap_baseline_bytes": 181133200,
|
||||
"heap_peak_bytes": 202374848,
|
||||
"heap_delta_bytes": 21241648,
|
||||
"rss_baseline_bytes": 241922048,
|
||||
"rss_peak_bytes": 381063168,
|
||||
"rss_delta_bytes": 139141120
|
||||
"duration_ms": 12974,
|
||||
"heap_baseline_bytes": 153985824,
|
||||
"heap_peak_bytes": 202505208,
|
||||
"heap_delta_bytes": 48519384,
|
||||
"rss_baseline_bytes": 335298560,
|
||||
"rss_peak_bytes": 345976832,
|
||||
"rss_delta_bytes": 10678272
|
||||
}
|
||||
|
||||
@@ -1,19 +1,30 @@
|
||||
Date: 2026-10-02
|
||||
Environment: linux/arm64 containers, Docker Compose, 2 API replicas
|
||||
Date: 2026-10-09
|
||||
Source commit: 37d93c340e394ed4a923972accc6c872abb96076
|
||||
Result collection state: application, migrations, Compose and Nginx configuration matched the source commit; REPORT.md and evidence/ were refreshed afterward
|
||||
Environment: Docker 29.2.1, linux/arm64, 2 CPUs, 2054299648 bytes RAM
|
||||
Application topology: 2 API replicas, 512 MiB limit per replica
|
||||
|
||||
PASS gofmt for changed Go files
|
||||
PASS go test ./...
|
||||
PASS go build ./cmd/...
|
||||
PASS gofmt for changed Go packages
|
||||
PASS go test ./internal/...
|
||||
PASS go build ./cmd/messenger and ./cmd/lab4experiment in Docker build
|
||||
PASS make check
|
||||
PASS make test BASE_URL=http://localhost:8080
|
||||
PASS docker compose config --quiet
|
||||
PASS sh -n scripts/rolling-update.sh
|
||||
PASS make test BASE_URL=http://127.0.0.1:28080
|
||||
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
|
||||
PASS MinIO server RELEASE.2025-10-15T17-29-55Z built from the official source tag
|
||||
PASS mc RELEASE.2025-08-13T08-35-41Z built from the official source tag
|
||||
PASS bucket bootstrap executed twice without an error
|
||||
PASS PostgreSQL and Valkey integration suites
|
||||
PASS MinIO bootstrap completed twice without an error
|
||||
PASS anonymous bucket request returned HTTP 403
|
||||
PASS application credentials can list only the configured bucket and cannot create another bucket
|
||||
PASS real pending -> deleting -> delete on PostgreSQL
|
||||
PASS stale pending candidate cannot claim an attachment already changed to ready
|
||||
PASS 48 of 48 uploads succeeded in 4 waves with concurrency 12
|
||||
PASS reconciler preserved fresh and referenced anomalies, removed safe old anomalies, and repeated apply made no changes
|
||||
PASS reconciler preserved fresh and referenced anomalies
|
||||
PASS reconciler deleted an old orphan, old unreferenced missing metadata, and old pending data
|
||||
PASS repeated reconciliation apply made no further changes
|
||||
PASS Nginx accepted the candidate upstream with nginx -t and atomic reload
|
||||
PASS 20 of 20 health requests returned HTTP 200 from only the two candidate API instances
|
||||
|
||||
The pull request CI runs OpenAPI validation, race tests, lint, integration tests,
|
||||
persistence and API-replica failover on the exact pushed commit.
|
||||
CI additionally runs full OpenAPI validation, race tests, golangci-lint,
|
||||
persistence and API-replica failover on the exact pushed commit. Production
|
||||
deployment publishes verified images and passes immutable repository@sha256
|
||||
references to the manually approved environment job.
|
||||
|
||||
Reference in New Issue
Block a user