Repository navigation
Description
Product outcome
Customers can run supported resolution workloads on DuckFleet-backed compute through the existing deduplication API, with the same correct results, dataset isolation and recoverable job lifecycle they receive from embedded execution. Operators can choose the backend using measured reliability, latency and cost evidence.
Why this matters
DuckFleet offers persistent and isolated SQL workers, session affinity, resource sizing and execution metering. Integrating it could reduce the compute-management work owned by the ER product. That benefit is a hypothesis to validate: network round trips, cold starts and a second execution service may also increase cost or failure modes.
The ER product continues to own customer authorization, dataset configuration, algorithms, job orchestration and public results. DuckFleet owns remote SQL execution. Sharing PostgreSQL/S3 alone does not deliver this outcome.
Scope and release boundary
Start with a disposable dataset and one generated read, then one complete pipeline task, then a qualified end-to-end pilot. Keep embedded execution available. Production adoption follows explicit compatibility, isolation, recovery and economics gates.
This is an unscheduled platform initiative on the Product Roadmap, related to the product direction in #1008. It has no product stack rank or committed release date and does not become an API MVP prerequisite by being filed. Child sequence expresses dependency order within this epic, not priority over existing customer API work. Estimates remain unset pending discovery; do not count this parent as additional implementation effort.
Definition of done
- A supported engine/extension/catalog combination passes repeatable compatibility and deterministic-result checks.
- Dataset bindings and credentials prevent cross-dataset access, including history and artifacts.
- The public configure → ingest → resolve → retrieve workflow passes against both supported backends.
- Cancellation, worker loss and uncertain commits have tested recovery outcomes without duplicate effects.
- Representative performance and cost measurements support a recorded adoption decision.
- If adoption proceeds, the pilot, observability, rollback and operational ownership are proven before broader enablement. A no-go decision explicitly re-scopes or closes remaining children rather than reporting unbuilt capabilities as shipped.
Existing work to reuse
#1082 and #1086 already delivered DuckFleet development infrastructure foundations. This epic does not recreate them. Reuse delivery and export contracts from #1011, #1012 and #521; coordinate operational evidence with #650 and cost attribution with #667. DuckFleet execution metering does not define customer entitlements or pricing owned by #518.
Investigation baseline
Source assessment: ER 5723b006a49f33196ed150ada364510e23733220; DuckFleet 672b3e3. This was code inspection, not a successful integration run. Revalidate current behavior before implementation. Known gaps include local connection coupling, engine-version mismatch, a single-lake trust model, statement/result limits and worker-local file access.
Delivery sequence
- DuckFleet: prove engine and catalog compatibility before adoption #1128 — prove engine and catalog compatibility before adoption
- DuckFleet: define and enforce dataset isolation for remote execution #1129 — define and enforce dataset isolation for remote execution
- DuckFleet: execute generated dataset reads through HTTP and Arrow #1130 — execute generated dataset reads through HTTP and Arrow
- DuckFleet: make ingestion and result artifacts accessible to remote workers #1131 — make ingestion and result artifacts accessible to remote workers
- DuckFleet: complete one resolution task with remote compute #1132 — complete one resolution task with remote compute
- DuckFleet: recover remote jobs safely after cancellation or worker loss #1133 — recover remote jobs safely after cancellation or worker loss
- DuckFleet: qualify the full API workflow and decide production rollout #1134 — qualify the full API workflow and decide production rollout
Compatibility discovery comes first. Isolation, the read adapter and artifact access can then progress in parallel on disposable data. The task pilot requires all three; recovery qualification precedes full-workflow and rollout qualification. Each child lists its dependencies and acceptance evidence.
Activity
athvin commentedon Nov 21, 2026
Delivery update: #1128 and #1129 are complete, and #1130 is now complete with #1139 merged and its post-merge ledger closed. The read work also landed upstream athvin/duck-fleet#117 for exact floating-point parameter transport and the separate marketing audit fix #1147 needed to restore the main gate. Both follow-up watches are complete.
Next is #1131, followed sequentially by #1132, #1133 and #1134. This is still a disposable/opt-in integration: full-pipeline compatibility and production adoption have not been claimed. Production pilot secret-key verification is tracked in #1134; the distinct saved-light-theme accessibility finding is #1150.
athvin commentedon Nov 21, 2026
#1131 is complete in #1153: merged and deployed at
6e81a419f553c0275f164370b2e00ea865afcdc9, main and deployment checks passed, the 30-minute watch completed, and the post-merge ledger closed at 2026-11-21T05:52:03Z. Both board cards reached Done through automation.#1128–#1131 are finished. #1132 is now claimed in draft #1154, selecting the account golden-record task for the first remote write pilot. #1133 and #1134 remain open; production adoption remains unqualified.
athvin commentedon Nov 21, 2026
Completed the fifth child, #1132, in PR #1154 (b784c21). The account golden task now has an operator-selected, default-off remote path with pinned-session atomic publication. Real-service parity/rerun/writer-exclusion/failure-settlement proof, full local and CI gates, both deployments, and the post-merge watch passed; ledger closed. Upstream deadline PR #125 is merged and qualified, with the existing AWS scale permission gap explicitly deferred to rollout qualification. Next: #1133 recovery and uncertain outcomes, then #1134 full-workflow/economics go/no-go. No production remote cohort is enabled.
roy-tong commentedon Nov 21, 2026
Remote execution plus isolation recovery is two guarantees, and they should be tested separately: a task that survives a worker restart, and a task that fails cleanly when isolation cannot be restored. Mixing them into one health check hides the second failure mode.
athvin commentedon Nov 23, 2026
Closing the initiative with all seven delivery children complete. #1134 recorded an explicit NO-GO for production remote execution in
b809525f56c67eb07e87788f0e153e32d3c4cf17: embedded remains the default, with only generated reads and account golden generation inside the qualified remote envelope. The remaining unqualified paths stay refused rather than being reported as shipped. Compatibility, dataset isolation, generated reads, artifact access, task execution, recovery and the full-workflow adoption review are complete; the conditional production-enablement scope is not proceeding under this epic.