Repository navigation
Description
Parent: #1127
Sequence: 5 of 7 within this initiative. Depends on: #1130, #1131, #1129
Planning: unscheduled backlog; no delivery commitment or estimate until discovery/refinement. This sequence is not a product-wide stack rank; see #1008.
Customer / product need
As a customer running resolution, I need a task executed on DuckFleet to produce the same persisted output and job status as the embedded path, without changes to how I submit or observe the job.
Scope
Select one representative SQL-heavy pipeline task with real temporary state and lake writes. Integrate it with the existing task executor while keeping orchestration and ER algorithms in this product. Publish the supported pilot workload and limits.
Acceptance criteria
- The selected task runs through the normal job submission path with a server-selected backend and a pinned remote session for all shared temporary state.
- Resource sizing selects suitable persistent or isolated compute. Unsupported capacity is reported clearly and never silently downgraded.
- Configurable, bounded statement deadlines support the selected workload, including a controlled statement longer than DuckFleet's assessed 60-second ceiling; required upstream changes are linked.
- Output records, matching evidence and persisted state match the embedded fixture, including rerun determinism where the existing contract requires it.
- The existing one-active-writer-per-dataset guarantee and dedicated write transactions hold.
- Job/task/query identifiers correlate across the two services; successful completion and failures settle the existing job lifecycle correctly.
- make check and the relevant Postgres/DuckLake/executor integration gates pass against the actual remote path.
Boundaries
This is one task, not a claim that training or the entire pipeline is remote-ready. Keep embedded execution selectable for new runs. Full recovery qualification follows in the next ticket; do not enable general production use on the strength of this happy-path pilot.
Completion evidence
PR #1154 merged as b784c21a; its post-merge ledger is closed. Full make check, make check-e2e, feature-enabled Clippy, and make check-duckfleet-task passed. Dev and prod deployments converged on process-emitted startup evidence, all merge-commit runs passed, and the 30-minute watch completed without a new ER regression.
The selected account golden task uses a pinned remote session and atomic publication. The actual-service fixture matched 4 golden records, 16 lineage rows and 3 matching scores, correlated 9 remote statements, and proved rerun equality, writer exclusion and terminal unsupported-capacity failure. The controlled 65.128-second statement passed a 120-second bound; 601 seconds was refused. The DuckLake skill links the exact-source/image evidence and reproduction command.
Upstream deadline PR athvin/duck-fleet#125 is merged and its source qualification is green on a descendant main. AWS preflight remains blocked by the previously existing scale permission gap in athvin/duck-fleet#126; no remote production cohort is enabled. Recovery/uncertain-commit and cleanup qualification remain #1133, and full-workflow/economics/rollout qualification remains #1134. Existing schema-report and nightly-coverage defects found during validation are separately tracked in #1155/#1156.
Activity
athvin commentedon Nov 21, 2026
Claimed at 2026-11-21T05:54:25.507574+00:00 — working in #1154 (draft). Closing that PR releases the claim. Sequential epic work: #1131 is complete, including its closed post-merge ledger.
athvin commentedon Nov 21, 2026
Implementation is claimed in #1154. The selected pilot task is account golden-record generation, extracted from
assemble; reviews, metrics and quality remain downstream. Both execution backends reuse the same survivorship generators. Person override behavior is outside this pilot and is refused explicitly under remote selection.The client verifies actual worker placement against requested capacity, checks the executor thread/memory budget, and carries job/task/attempt IDs on each request. The remote task does not open a second embedded writer. Native temporary outputs publish in one explicit lake transaction, with attempt-fence checks and cancellation monitoring.
Upstream deadline dependency: athvin/duck-fleet#124 / athvin/duck-fleet#125. An actual DuckDB statement completed through the gateway in 65.1 seconds under a 120-second deadline; a request for 601 seconds was refused. Final short-deadline/reconciliation evidence and full task integration are still being qualified.
Validation so far: 22 client tests passed, account transaction rollback and deterministic-field rerun passed, strict Clippy passed before the latest integration-harness additions. No claim yet that the complete job lifecycle or required final gates have passed.
athvin commentedon Nov 21, 2026
Full make check, make check-e2e, and the pinned make check-duckfleet-task reproduction passed. Final-image evidence is committed in PR #1154. Upstream bounded-deadline PR athvin/duck-fleet#125 merged as 6fd3e48, with exactly the tested source tree. Final CI exposed an existing detached schema-position publication race (#1155); rerunning that failed leg once after recording the diagnosis. No remote production cohort is enabled.
feat: run account golden tasks through DuckFleet