Migrated from docs/pending-work-plan.md §2.4.
Problem
The repository currently has only a port-level health check for Blossom. A reachable HTTP 200 is insufficient evidence that uploads work. We need a testable upload matrix that exercises the real failure modes.
Required test coverage
At minimum, the matrix must cover:
- Accepted authenticated upload (happy path)
- Missing authentication → rejected
- Wrong auth event type → rejected
- Missing SHA-256
x tag binding → rejected
- Mismatched SHA-256 (declared vs. computed) → rejected
- Oversized payload (>10 MB) → rejected
- Rejected MIME type → rejected
- Duplicate blob behavior (idempotency / dedup)
- Retrieval of the accepted blob
- Deletion authorization (owner can delete, non-owner cannot)
Where the tests must run
- Local test storage backend by default.
- Staging S3 bucket only when explicitly configured (via env var / secret).
- Never against production S3 or production data.
Deployment verification step
A safe functional probe must:
- Use a generated disposable blob (random bytes, small size).
- Use a test identity (not a real user's private key).
- Upload, verify retrieval, then clean up the blob.
- Mark upload verification as manual if no safe automated credential is available, rather than reporting the service fully verified.
Acceptance criteria
- All 10 matrix cases covered by automated tests.
- Tests run in CI without requiring production credentials.
- Deployment script performs the safe functional probe and reports upload status separately from process status.
Dependencies
Source
Migrated from docs/pending-work-plan.md §2.4.
Migrated from
docs/pending-work-plan.md§2.4.Problem
The repository currently has only a port-level health check for Blossom. A reachable HTTP 200 is insufficient evidence that uploads work. We need a testable upload matrix that exercises the real failure modes.
Required test coverage
At minimum, the matrix must cover:
xtag binding → rejectedWhere the tests must run
Deployment verification step
A safe functional probe must:
Acceptance criteria
Dependencies
Source
Migrated from
docs/pending-work-plan.md§2.4.