forked from mtusi2026/mtusi2026lab4
test: verify attachment consistency and memory
This commit is contained in:
@@ -0,0 +1,69 @@
|
||||
{
|
||||
"page_size": 10,
|
||||
"seeded_consistent": 11,
|
||||
"fresh_apply": {
|
||||
"duration_ms": 58,
|
||||
"report": {
|
||||
"metadata_scanned": 206,
|
||||
"objects_scanned": 205,
|
||||
"consistent": 204,
|
||||
"fresh_orphan_objects": 1,
|
||||
"old_orphan_objects": 0,
|
||||
"deleted_orphan_objects": 0,
|
||||
"fresh_missing_objects": 2,
|
||||
"referenced_missing_objects": 0,
|
||||
"old_unreferenced_metadata": 0,
|
||||
"deleted_unreferenced_rows": 0
|
||||
}
|
||||
},
|
||||
"dry_run": {
|
||||
"duration_ms": 65,
|
||||
"report": {
|
||||
"metadata_scanned": 206,
|
||||
"objects_scanned": 205,
|
||||
"consistent": 204,
|
||||
"fresh_orphan_objects": 0,
|
||||
"old_orphan_objects": 1,
|
||||
"deleted_orphan_objects": 0,
|
||||
"fresh_missing_objects": 0,
|
||||
"referenced_missing_objects": 1,
|
||||
"old_unreferenced_metadata": 1,
|
||||
"deleted_unreferenced_rows": 0
|
||||
}
|
||||
},
|
||||
"apply": {
|
||||
"duration_ms": 77,
|
||||
"report": {
|
||||
"metadata_scanned": 206,
|
||||
"objects_scanned": 205,
|
||||
"consistent": 204,
|
||||
"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
|
||||
}
|
||||
},
|
||||
"repeated_apply": {
|
||||
"duration_ms": 38,
|
||||
"report": {
|
||||
"metadata_scanned": 205,
|
||||
"objects_scanned": 204,
|
||||
"consistent": 204,
|
||||
"fresh_orphan_objects": 0,
|
||||
"old_orphan_objects": 0,
|
||||
"deleted_orphan_objects": 0,
|
||||
"fresh_missing_objects": 0,
|
||||
"referenced_missing_objects": 1,
|
||||
"old_unreferenced_metadata": 0,
|
||||
"deleted_unreferenced_rows": 0
|
||||
}
|
||||
},
|
||||
"fresh_preserved": true,
|
||||
"orphan_deleted": true,
|
||||
"unused_metadata_deleted": true,
|
||||
"in_use_metadata_preserved": true,
|
||||
"total_duration_ms": 515
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"replicas": 2,
|
||||
"concurrency": 12,
|
||||
"rounds": 4,
|
||||
"settle_time_ms": 3000,
|
||||
"image_bytes": 3759914,
|
||||
"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
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
Date: 2026-10-02
|
||||
Environment: linux/arm64 containers, Docker Compose, 2 API replicas
|
||||
|
||||
PASS gofmt for changed Go files
|
||||
PASS go test ./...
|
||||
PASS go build ./cmd/...
|
||||
PASS make check
|
||||
PASS make test BASE_URL=http://localhost:8080
|
||||
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 anonymous bucket request returned HTTP 403
|
||||
PASS application credentials can list only the configured bucket and cannot create another bucket
|
||||
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
|
||||
|
||||
The pull request CI runs OpenAPI validation, race tests, lint, integration tests,
|
||||
persistence and API-replica failover on the exact pushed commit.
|
||||
Reference in New Issue
Block a user