Repository navigation
feat(fleet-queue): shadow comparison reports row-content drift (#14987) - #16807
Merged
Merged
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
This was referenced Nov 29, 2026
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.
Refs #14987 (CF-2b slice — the issue stays open: the supervised live cutover remains its own pass).
The broker's
/door-shadowdual-read comparison certified plane parity by task-id set only: two planes could carry identical ids while a shared row's content had drifted, and the comparison reported no divergence. The CF-2 evidence baseline was rows agreeing (8/8 terminal tasks), not just ids present — the shadow window could not check the thing the cutover decision actually rests on.This slice adds the content layer to
shadow_diff(pkgs/fleet/crates/fleet-queue/src/queue_broker.rs):/listbase projection (LIST_BASE_KEYS in the hosted worker, mirrored by the native rich projection since fleet queue: park verb does not retain ready_condition (parked task reads back null) #14317), minus the match key: queue, title, priority, status, dedupe_key, created_at, not_before, platform.drifted_rows, a cappeddriftedid sample, and per-fielddrift_fieldscounts; drift counts towarddivergent.completesemantics unchanged.Tests: new oracle
shadow_diff_reports_row_content_drift(status drift on a shared id is reported with its field count; identical content certifies no drift; one-sided fields and volatile rich fields never count as drift). The existingshadow_diff_reports_id_set_divergenceoracle still passes unchanged.Verification (repo CI venue, fleet-rust-tests workflow_dispatch on the branch):
turso_queue::tests::lease_renewal_guidance_names_heartbeat_only_14653, in code this diff does not touch; it fails identically on the test-only head, i.e. it reproduces on main HEAD content. Filed as fleet-queue regression: lease_renewal_guidance_names_heartbeat_only_14653 fails on main (verb_checkpoint writes lease_until) #16806.{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-29T13:43:57Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch", "repo": "developing-today/code", "branch": "main", "sha": "ac3f377b7f752f50918f491d7443b79e95b5dc34" }, "auth_subject": "felix", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.