Skip to content

API launch proof: executable tenant-key workflow test (#1013, part 1) #1187

Closed

Description

@athvin

Parent: #1013.

The first slice of #1013: a checked-in executable proof (rust/crates/er-server/tests/pg_launch_proof.rs). After the single onboarding call (POST /v1/orgs, which returns the one-time admin key; self-serve minting is #866), a tenant uses only its own API key, with no SQL, operator token, drop directory or CLI:

  • publishes a config change;
  • pushes JSON and uploads CSV;
  • follows deliveries and jobs to completion;
  • reads duplicate groups (paginated), golden records (Arrow) and per-entity lineage.

It also covers an invalid-column refusal, an idempotent redelivery, and cross-org denial.

Out of this slice, and still on #1013: customer-facing docs (acceptance vs completion vs writeback), limits and the readiness checklist, query parameters in OpenAPI (#857), bulk export (#521), and the strict-contract, key and security gates (#658/#866/#868).

Found while building it: #1186 (the first publish's train fails on an empty dataset).

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions