Verification page
Test Matrix
The test surface validates correctness, backward compatibility, retries, render determinism, access control, and rollout safety before traffic is moved to the proposed path.
| Area | Test | Failure caught | Required before rollout |
|---|---|---|---|
| Unit | Source hash generation is stable for identical content. | Cache miss explosion and duplicate artifacts. | Yes |
| Contract | POST /v1/documents requires Idempotency-Key. | Client retry creates duplicate versions. | Yes |
| Integration | Publish event creates render job exactly once. | Queue redelivery causes duplicated side effects. | Yes |
| Integration | ACL projection updates without writing a new content version. | Access changes pollute content audit history. | Yes |
| Performance | Public read p95 stays under 120ms from edge cache. | Projected ACL or artifact path adds unacceptable latency. | Yes |
| Chaos | Renderer down for 10 minutes while publish API remains available. | Synchronous dependency still exists in write path. | Yes |
| Migration | Backfilled versions match legacy document body by checksum. | Historical content mismatch. | Yes |
| Security | Invite-only document cannot be fetched by anonymous read path. | ACL projection incorrectly grants public access. | Yes |
Smoke script
1. Create document with invite-only access 2. Retry same request with same Idempotency-Key 3. Assert same documentId and versionId 4. Poll version state until ready 5. Fetch rendered artifact by public URL 6. Assert anonymous user is blocked 7. Grant domain access 8. Assert projection version increments 9. Fetch with domain-authenticated user 10. Confirm trace contains request → event → job → artifact
Release SLOs
Publish API availability99.95%
Public read p95<120ms
Render success within 60s99.5%
Duplicate side effects0