Skip to content

feat(fleet-queue): #13507 A1 — block payload dual-key needs_user (write new, read both) - #17392

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900-ci-13507-a1
Nov 30, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
xaltha/0900-ci-13507-a1

Conversation

@developing-today-fleet

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

Copy link
Copy Markdown
Contributor

Refs #13507 (slice A1 of the person-name identifier rename; slice map in #13507 comment 7285515971, claim 7286923009 by lane 0900-CI).

What

Implements inventory item A1 (doc/2026-11-25T22-29-42Z_inventory_person-name-identifiers): the fleet block payload key needs_drew becomes needs_user, with the alias rule — write the new key, read both, prefer the new one.

  • needs_user::from_block_request (broker-side reader): reads needs_user first, falls back to needs_drew; new-key-wins test + new-key-only test added. Oracle: the A1 inventory rule.
  • cmd_block writer: the /block body now carries the payload under both keys (dual-key) so a pre-rename broker still raises from the body; the progress stamp is written under both keys, merging caller-supplied fields from either key (legacy fields first, new key wins, flag ledger_id authoritative).
  • Stale doc comment in queue_broker.rs updated to the renamed module/key.

Out of scope (later slices per the map): A2 producer switch of the throat extension (needsDrew → needsUser, deployment-gated), A3 prefix move, A10, A7/A8, C TS rename, close-out.

Verification

Remote dispatch run 46478405173 (developing-today-forks/fleet) on this head: cargo test -p fleet-queue from_block_request — verdict recorded on #13507 from the run log firsthand before merge.

{
  "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-30T17:54:31Z",
    "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": "1afb80aa405c56b71c8a63176670cb22ba449a92"
    },
    "auth_subject": "xaltha",
    "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 30, 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: e6c32cbc-fb1a-480d-9fed-4089af990473

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 6bd3988 into main Nov 30, 2026
2 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the xaltha/0900-ci-13507-a1 branch November 30, 2026 17:59
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