Repository navigation
feat(duckfleet): run one resolution task through remote compute (#1132) - #1154
Merged
Merged
Conversation
athvin
marked this pull request as ready for review
November 21, 2026 06:52
athvin
temporarily deployed
to
marketing-preview
November 21, 2026 07:05 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1132
What
Extract golden-record generation into its own DAG task and allow an operator-selected DuckFleet backend for account datasets. Both account backends share survivorship SQL and atomic publication; the default remains embedded.
Why
Prove one complete task with temporary state and lake writes through the existing resolution job lifecycle.
Proof
Actual API → dispatcher → exec-task → DuckFleet integration passed: four golden records, sixteen lineage rows, matching evidence preserved, remote rerun equality, worker-history ID correlation, writer exclusion and terminal unsupported-capacity failure.
make checkandmake check-e2epassed. The final candidate image also passed the real remote task proof and the controlled 65-second statement proof. Upstream dependency athvin/duck-fleet#125 merged as6fd3e48; its tree matches the pinned proof.make check-duckfleet-taskpassed from a fresh checkout, and Clippy passed withdisposable-proof. The final CI migration-report race passed on one failed-leg rerun and is tracked in #1155.Risk & rollback
Remote selection is default-off and account-only. The added DAG node changes the structural fingerprint; old planned runs retain the existing incompatibility refusal. Production backend adoption remains gated by #1133/#1134. Remove the task policy for newly launched embedded tasks; reconcile uncertain remote outcomes before retrying. Revert the merge for the DAG change.
Post-merge ledger
Closed by: Codex · session
01a1fb62-5950-78d2-982c-5ecb2cd40d30onbrians-MacBook-Pro.local· 2026-11-21T07:45:11Zmainis green with this change on it — mergedb784c21a2cf746e7151d2ed71f0e6550393a9ea0at 2026-11-21T07:05:26Z. Rust 44878597932, frontend 44878597893 and infra 44878597946 passed; the 30-minute watch completed at 2026-11-21T07:35:56Z, with every run on the merge green and no new regression.images— 44878597961 published API digestsha256:a0e0116ef924a46714fe220383a303768b8d135d88994835dd3144efe369d4cb.deploy— 44878971942 passed dev and prod. Production public readiness stayed healthy for three minutes; traffic switched to blue and old targets drained. Devweb-api-green-d5cf89c58-dcjqzemitteder-server listeningat 07:11:34.285776Z and both live selectors route green. Prodweb-api-blue-789b56bcf6-g7tdzemitted it at 07:11:45.635Z with the new image digest (CloudWatch query03988665-e35a-42c6-a5ab-90fc71ce039a).aba70adb-9b7b-474a-9d37-ddbc8ac62187(dev) and856b5738-add9-4340-b873-455bcfcff01d(prod) found no API error or panic logs after rollout; both scanned populated log groups.make check-duckfleet-taskreproduced the proof from a fresh pinned checkout. Full backend, Postgres/DuckLake and feature-enabled Clippy gates passed.Specific to this change
6fd3e48matches the tested source tree; later main756c5c4contains it and passed Docker/dbt, Kubernetes (44879869214) and infrastructure (44879869278). AWS preflight 44879869347 reproduced the pre-existing scale permission failure, explicitly deferred to Restore scoped deployment scale access for the AWS development harness duck-fleet#126 and rollout DuckFleet: qualify the full API workflow and decide production rollout #1134; no AWS deployment success is claimed.Context — plan, discoveries, measurements, files
Plan
Discoveries
assemblecombined survivorship with reviews/metrics/quality, sogoldenis now a separate ordered writer task. Person override behavior stays embedded.assembled_atis explicitly volatile: rollback equality includes it; successful-rerun equality excludes it.Measurements
scripts/duckfleet/task.pyagainst upstreamac894b551e6d802e4c4f88422881c6aaac6e4f4b, worker imagesha256:d00f37fe9e8d272e277b7becfd1e44c3f24fa9c2b3b9e53478a56c732a490040: 4 records, 16 lineage rows, 3 matching scores, 9 correlated queries; rerun, writer-exclusion and terminal capacity-failure checks passed.scripts/test-long-deadline.pyagainst the same image: 65.128 seconds with a 120-second deadline; 601 refused; one-second deadline settledtimed_outafter 65.203 seconds of blocking external I/O. No immediate cancellation or rollback guarantee is claimed.Files