-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Parent epic
Description
Write Viceroy-based integration tests covering the full identity lifecycle across multiple handlers.
Scope: tests/ (integration test crate or new test module)
Acceptance criteria
- Full flow: Page load → EC generated → pixel sync writes partner UID →
/identifyreturns UID → auction includes EID. - Consent withdrawal: Denied consent clears EC cookie + writes KV tombstone in same request; subsequent
/identifyreturns403(consent denied → §11.4); batch sync returnsconsent_withdrawnwithin tombstone TTL. - KV create failure: EC cookie still set when
create_or_revive()fails./identifyreturns200withdegraded: false, emptyuids/eids. - KV read failure:
/identifyreturns200withdegraded: true, emptyuids/eids. - Concurrent writes: Two simultaneous EC creates resolve without data loss (CAS retry).
- Rate limits: Pixel sync
429aftersync_rate_limitexceeded; batch sync429afterbatch_rate_limitexceeded. - Pull sync no-op: Partner returning
{ "uid": null }→ no KV write, no error log. - All tests pass under
cargo test --workspacewith Viceroy.
Spec ref
docs/internal/ssc_technical_spec.md §18.2
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels