Store private attachments in S3 with bounded uploads and safe reconciliation
This commit is contained in:
@@ -0,0 +1,173 @@
|
||||
{
|
||||
"public_smoke": "PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.",
|
||||
"negative_uploads": {
|
||||
"oversize": 413,
|
||||
"corrupt": 415,
|
||||
"truncated": 415,
|
||||
"mismatch": 415,
|
||||
"unsupported": 415,
|
||||
"path": 400,
|
||||
"backslash": 400,
|
||||
"control": 400,
|
||||
"pixels": 413
|
||||
},
|
||||
"attachment_acl_and_canonical_body": "foreign/unknown attachments 404; absent and [] attachment_ids replay same message",
|
||||
"private_bucket": {
|
||||
"anonymous_get": 403,
|
||||
"api_create_other_bucket": 403,
|
||||
"api_write_outside_prefix": 403
|
||||
},
|
||||
"upload_then_stop_download": {
|
||||
"stopped_container": "a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62",
|
||||
"uploader_instance": "f47f01494e104a8cb695f06e3fb350cb",
|
||||
"downloader_instance": "7f5408689e7e4d9ea143d3308938f777",
|
||||
"sha256_matches": true
|
||||
},
|
||||
"interrupted_upload": "partial body closed: no attachment metadata",
|
||||
"s3_down_status": 503,
|
||||
"bootstrap_repeat": "Private bucket ready; bootstrap is repeatable",
|
||||
"public_persistence": "Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.\nPASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.",
|
||||
"public_failover": "Executing explicit failover hook; hook output suppressed to avoid leaking secrets.\n{\"observed_instances_before\": 2, \"successful_writes\": 97, \"failed_attempts\": 2, \"first_recovery_seconds\": 4.39}\nPASS: failover preserved confirmed data and existing session. Hook scope needs operator evidence.",
|
||||
"concurrent_uploads": {
|
||||
"clients": 10,
|
||||
"bytes_each": 8104028,
|
||||
"before_memory_kib": {
|
||||
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165": {
|
||||
"VmRSS": 96168,
|
||||
"VmHWM": 128148
|
||||
},
|
||||
"a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62": {
|
||||
"VmRSS": 93304,
|
||||
"VmHWM": 119040
|
||||
}
|
||||
},
|
||||
"after_memory_kib": {
|
||||
"346658d6ea74c68d5f3286701db46add73316e3766e62a104dccf47688871165": {
|
||||
"VmRSS": 143676,
|
||||
"VmHWM": 143744
|
||||
},
|
||||
"a6b9b7e0474a809dc487dadc70b769a3fc7b271a47ee9045f7999e7514465a62": {
|
||||
"VmRSS": 132760,
|
||||
"VmHWM": 132828
|
||||
}
|
||||
},
|
||||
"uploads": [
|
||||
{
|
||||
"i": 0,
|
||||
"seconds": 5.971,
|
||||
"statuses": [
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 1,
|
||||
"seconds": 3.902,
|
||||
"statuses": [
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 2,
|
||||
"seconds": 3.925,
|
||||
"statuses": [
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 3,
|
||||
"seconds": 5.541,
|
||||
"statuses": [
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 4,
|
||||
"seconds": 5.485,
|
||||
"statuses": [
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 5,
|
||||
"seconds": 5.879,
|
||||
"statuses": [
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 6,
|
||||
"seconds": 5.305,
|
||||
"statuses": [
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 7,
|
||||
"seconds": 5.386,
|
||||
"statuses": [
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
503,
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 8,
|
||||
"seconds": 3.839,
|
||||
"statuses": [
|
||||
201
|
||||
]
|
||||
},
|
||||
{
|
||||
"i": 9,
|
||||
"seconds": 3.899,
|
||||
"statuses": [
|
||||
201
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"passed": true
|
||||
}
|
||||
Reference in New Issue
Block a user