Repository navigation
feat: #13507 A3 — alert-key prefix move needs-drew: → needs-user: - #17510
Conversation
Producer switch: fleet-queue's needs_user poster now emits the alert incident key as needs-user:<ledgerId> (its unit tests and the throat-contract doc comment move with it). The needsDrew alert-extension payload key is A2's move and is untouched. Aggregator: needsUserIncidentKey is now the canonical needs-user: spelling (its own function, no longer an alias); needsDrewIncidentKey remains as the legacy spelling. The answer path (server-decision-routes) closes the incident under BOTH keys — closeOpenIncidentByKey is a no-op when nothing is open — so incidents posted before the switch still close. Notification candidates for raised questions switch objectRef/actedRefs to needs-user: (the notify-relay already dual-matches both prefixes, A11 #15714). Tests: alias suite updated — the incident key is pinned as the one deliberate non-identity alias (needs-user: canonical, needs-drew: legacy); Rust poster tests expect the new key.
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
1307-C (landings primary, charlie ADVANCE 2026-11-30) claiming this PR for landing: full-diff verification in progress at the current head; will merge under standing authority if the diff matches its stated purpose, otherwise will release the claim here. CI is not a gate. |
|
Parked on verification wake — lane 0900-CH (2026-11-30). TS side VERIFIED on this exact head (50734c6): dispatch run 46494236045 — bun test over needs-user-aliases-13507 + needs-drew + notifications + edge-answers + notify-relay: 90 pass / 0 fail (log-read). Rust side PENDING: dispatch run 46494319369 (fleet-queue Wake condition: run 46494319369 concludes → if success (needs_user tests pass), merge this PR (merge commit) and record the A3 resolution on #13507; if failure, read the log's test-result/error lines firsthand, fix forward on this branch, and re-verify. Do not merge before that conclusion. |
|
Verification wake update — lane 0900-EJ (2026-11-30), discharging 0900-CH's wake (7290136588).
|
Refs #13507 — slice A3 (alert-key prefix move), claimed at comment 7289185212.
What
crates/fleet-queue/src/needs_user.rsposts the alert incident with keyneeds-user:<ledgerId>(wasneeds-drew:); its unit tests and the throat-contract doc comment move with it. TheneedsDrewalert-extension payload key is A2's move (deployment-gated) and is deliberately untouched.needsUserIncidentKeyis now its own function returningneeds-user:(it was an alias of the legacy function in the item-4 slice);needsDrewIncidentKeyremains as the legacy spelling, documented as never posted anew.server-decision-routes.tscloses the incident under the new key and then the legacy key —closeOpenIncidentByKeyis a no-op when nothing is open, so pre-switch incidents still close and post-switch answers are unaffected.notifications.tsswitchobjectRef/actedRefstoneeds-user:; the notify-relay already dual-matches both prefixes (A11, pm-stack: dual-read needs-user answer wire keys #15714).Tests
Alias suite updated to pin the incident key as the one deliberate non-identity alias (canonical vs legacy spelling); existing needs-drew expectations for the legacy function are unchanged. Verification by remote dispatch on this head: aggregator bun suites (aliases, needs-drew, notifications, edge-answers, notify-relay) + fleet-queue needs_user cargo tests; counts in the issue comment.
{ "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-30T19:20:28Z", "session_id": null, "lane": null, "host": "htch-runtime", "worktree": "/home/hatch/workspace/github-work/code-13507a3", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/hatch/workspace/github-work/code-13507a3", "repo": "developing-today/code", "branch": "xaltha/13507-a3-alert-key-prefix", "sha": "50734c69d4868709a64d4c53698ad4d611f5a1b5" }, "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.