Repository navigation
feat(fleet-queue): #13507 A1 — block payload dual-key needs_user (write new, read both) - #17392
Merged
Merged
Conversation
…user (write new, read both, prefer new)
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
4 tasks
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 #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 keyneeds_drewbecomesneeds_user, with the alias rule — write the new key, read both, prefer the new one.needs_user::from_block_request(broker-side reader): readsneeds_userfirst, falls back toneeds_drew; new-key-wins test + new-key-only test added. Oracle: the A1 inventory rule.cmd_blockwriter: 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).queue_broker.rsupdated 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-botwith what you need.