Skip to content

E13 — Public data ingestion and transfer for configurable datasets #523

Done
2 of 2 issues completed

Description

@athvin

Product stack rank 3 of 37 · roadmap #1008 · priority P0 · release mvp

Customer outcome

Any supported customer dataset can receive JSON records and files through a documented, reliable API, then reach a deduplication result. This is core product work and has no AppExchange prerequisite.

Existing foundation

POST .../records/ingest, POST .../imports, import receipts, source mapping, the S3 cursor and the execution path already exist. This epic makes their external contract complete; it does not start a second ingestion engine.

Implementation work

Completion

SFTP ingress #1014 reuses this contract and is separately ranked expansion. The parent estimate is cleared; size children after their gap audits and do not add a second parent total.

Historical planning — superseded scope, ordering and estimates

Epic E13 from the DataGroomr Feature Parity Spec · spec phase 2 · historical parity rank 13 of 30

Spec units 3.1-3.24
Spec size (greenfield) 12 eng-weeks
Our coverage today ~55%
Estimated remaining 5.5 eng-weeks (54% saved by what exists)
Owning component DuckDB read_csv_auto, S3/SFTP pullers, mapping UI, Data Integrity checks, Ingestion API
Release post-appexchange

What we already have

er-ingest, ingest_batch, s3_ingest_cursor, the /sources and /sources/new screens, a suggest-mapping BFF route, and custom-source work merged earlier.

What is missing

SFTP pulling, the Data Integrity check suite, and a public Ingestion API.


Coverage and remaining-weeks figures are an estimate made by reading this repo against the spec on 2026-11-05, not numbers from the spec itself — the spec sizes everything as greenfield. Treat them as a planning input, not a commitment. Spec unit numbers (e.g. 1.6-1.12) refer to the pillar tables in the linked document.


Product context (2026-11-26)

Why this matters for the API product: this is the ingest step. A customer cannot reach any result without it.

Current state: all three implementation children and all three completion children are closed. The capabilities on main:

Capability On main
JSON push POST …/records/ingest, up to 10,000 records per push
File import POST …/imports, up to the 256 MiB import cap
Retry/replay Idempotency-Key returns the original receipt (#1267). A different payload under the same key gets 409.
Mode upsert only. full_refresh is refused by name with 422 (#1267).
Bulk transfer POST/PUT/GET/DELETE …/uploads… and …/complete: 64 MiB parts, 10,000 parts, 24 h session (#1270)
Receipts GET …/imports, …/imports/recent, …/jobs/{id}
Deletion records/delete and records/undelete
Config identity every run records its config_hash (RunItem.config_hash)
End-to-end proof pg_launch_proof covers inline and bulk delivery through to results (#1273)

What is missing: openapi.public.json declares zero header parameters. It lists only 2XX and default responses for all 123 operations, and the ingest description is null. The retry contract, Idempotent-Replayed, and the 409/413/422/503 statuses exist only in rustdoc (er-server/src/lib.rs:9338, :9501) and on the /docs page. A client generated from the contract cannot see them.

Definition of done: as above. Before closing, file one follow-up ticket: "OpenAPI declares request/response headers and the documented error statuses".

Dependencies / sequencing: none open. SFTP (#1014) is pruned.

Size: 0 for this epic. The follow-up is about 1 engineer-week (unverified).

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    post-appexchange
    epic
    on Nov 5, 2026
  2. athvin commented on Nov 5, 2026

    @athvin
    OwnerAuthor

    docs/connectors.md §5 specifies two baseline connectors that "fall out of the generic seam with little or no provider-specific work": file upload (the import wizard — upload → profile → column-map → preview → commit, which is the §3.1 drop-dir push seam with a UI) and S3 / object-store drop (point a connection at a bucket prefix, synced on a schedule, no provider API at all).

    Both are substantially shipped — .../imports, .../s3-ingest, /sources, suggest-mapping — which is why this epic's coverage is ~55% rather than zero. §5 also notes they serve as the reference implementation of the connector contract for any future connector.

  3. removed
    post-appexchange
    on Nov 9, 2026
  4. changed the title [-]E13 — Transfer and import[/-] [+]E13 — Public data ingestion and transfer for configurable datasets[/+] on Nov 9, 2026
  5. added
    mvp
    on Nov 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    epicmvp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions