Skip to content

feat(fleet-queue): broker door-shadow dual-read comparison for CF-2b - #16163

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
oc-code-01/14987-cf2b-shadow-compare
Nov 27, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
oc-code-01/14987-cf2b-shadow-compare

Conversation

@developing-today-fleet

@developing-today-fleet developing-today-fleet Bot commented Nov 27, 2026 •

Copy link
Copy Markdown
Contributor

Slice of #14987 — does not close it (live cutover, broker end-state and rollback acceptance remain; FDR-0010).

What

New read-only broker route POST /door-shadow: answers the same /list request from the local Turso plane (live-traffic path) and the hosted door, and reports the id-set divergence the cutover decision needs: divergent, complete, per-plane counts/totals, only_in_turso / only_in_door (capped at 25), unkeyed row counts. No writes, no traffic reroute.

Tests

New oracles: shadow_diff_reports_id_set_divergence, door_shadow_without_door_is_config_error, door_shadow_without_backend_is_not_ready. Full fleet-queue lib (queue-broker): 831 passed, 0 failed.

{
  "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-27T13:12:05Z",
    "session_id": "ses_e5de31d9508ffeX2wJzjBrFkdl",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code-oc-code-01-14987",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code-oc-code-01-14987",
      "repo": "developing-today/code",
      "branch": "oc-code-01/14987-cf2b-shadow-compare",
      "sha": "783b8ded87fef1807ae308739dc61cd4cbba4893"
    },
    "auth_subject": "oc-code-03",
    "stamped_by": "fleet 0.1.0 (native)"
  }
}

Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 77f42edf-4f54-437c-ad87-113330e435f2

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@developing-today-fleet
developing-today-fleet Bot merged commit 320db21 into main Nov 27, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the oc-code-01/14987-cf2b-shadow-compare branch November 27, 2026 14:25
dezren39 added a commit that referenced this pull request Nov 27, 2026
…conflict with door-shadow (#16163) and door-timeline (#16243)

Lane 1322-I (delta PRESS) conflict resolution: main's door-shadow/door-timeline text and routes kept verbatim; the branch's /door-show dispatch arm, doc mentions, and its two door_show oracle tests applied on top. No other change.
dezren39 added a commit that referenced this pull request Nov 27, 2026
…a Git-API

Tree is main's tree with queue_broker.rs replaced by the conflict-resolved file: main's door-shadow (#16163) and door-timeline (#16243) content verbatim, plus this branch's /door-show dispatch arm, doc mentions, and two door_show oracle tests. Lane 1322-I (delta PRESS) stall fix for PR #16158.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant