Skip to content

API: restore a dataset's results to an earlier run, and document the recovery operations #530

Done

Description

@athvin

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:

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:

  1. A customer can restore results to a named earlier run, or the board records that republish-and-rebuild is the supported path.
  2. The docs list each failure and its recovery call.
  3. 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

  1. added
    post-appexchange
    epic
    post-mvp
    and removed
    post-appexchange
    on Nov 5, 2026
  2. changed the title [-]E18 — Rollback and retry[/-] [+]API: restore a dataset's results to an earlier run, and document the recovery operations[/+] on Nov 27, 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

    epicpost-mvp

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions