Repository navigation
Description
Product stack rank 17 of 37 · roadmap #1008 · priority P2 · release post-mvp
Current planning boundary
This outcome retains its identity and implementation history. Its live product order is #1008; historical Salesforce-parity ordering and release estimates below are superseded. Audit the current code and linked work before starting, then replace stale coverage claims with executable acceptance criteria. An unset estimate is deliberate until that audit; no historical percentage is a delivery commitment.
Historical planning — superseded scope, ordering and estimates
Epic E18 from the DataGroomr Feature Parity Spec · spec phase 2 · historical parity rank 20 of 30
| Spec units | 2.24, 2.26 |
| Spec size (greenfield) | 5 eng-weeks |
| Our coverage today | ~40% |
| Estimated remaining | 3.0 eng-weeks (40% saved by what exists) |
| Owning component | Pre-merge snapshot to Salesforce Files library; retry from audit |
| Release | post-appexchange |
What we already have
fixup with a gated Kind contract, record_overlay, and a correction pass that is proven to work.
What is missing
Pre-merge snapshots into the Salesforce Files library, and retry driven from the audit log. Depends on E9.
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 recover step. A customer who publishes a bad config or delivers bad data needs a documented way back.
Current state: the historical scope no longer applies. Pre-merge snapshots into the Salesforce Files library belong to Salesforce writeback, and #514 is pruned. The "retry" half is mostly built and public:
- Job retry:
jobs/{id}/resume,jobs/{id}/cancel, andjobs/{id}/tasks/{task}/clear, which re-runs one task and everything downstream of it. - Delivery retry:
Idempotency-Keyreplay (feat(api): delivery Idempotency-Key replay and an explicit upsert mode (#1011) #1267). - Config rollback: per the
/docspage, a customer re-publishes an earlier version, which is classified and rebuilt (frontend/src/app/(marketing)/docs/page.tsx:316-326, feat(api): tenant-admin dataset configuration — validate, dataset-scoped publish (#1010) #1266). - Undoing a merge:
golden-records/{id}/unmerge,records/unmatch,records/undelete, andDELETE assertions/{id}. - Reading history:
RunItem.snapshotand?snapshot=onduplicatesandgolden-recordsread any earlier run's results (feat(api): run-to-snapshot identity and explicit snapshot reads (#1229) #1236).
Missing: there is no way to make an earlier run's snapshot the current result without a full rebuild. Retry from the audit log has no spec on the API side. The recovery operations are not described together anywhere.
Definition of done:
- A customer can restore results to a named earlier run, or the board records that republish-and-rebuild is the supported path.
- The docs list each failure and its recovery call.
- A
pg_*test runs bad publish → rollback → results matching the earlier run.
Dependencies / sequencing: #561 (refresh path), #1288 (run_all_full on a lagging lake). Snapshot expiry limits how far back a restore can go.
Open product decision: is republish-and-rebuild enough as "rollback", or do customers need a restore to a prior snapshot without recompute?
Size: 0.5 engineer-weeks if docs only; about 2 for a snapshot restore (unverified).
Activity
[-]E18 — Rollback and retry[/-][+]API: restore a dataset's results to an earlier run, and document the recovery operations[/+]fix(config): republishing an earlier version rebuilds again — the rol…