Repository navigation
pm-stack: dual-read needs-user answer wire keys - #15714
Merged
Merged
Conversation
…agent-next-21/13507-agg-notify-dualread
…agent-next-21/13507-agg-notify-dualread
…agent-next-21/13507-agg-notify-dualread
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 10 minutes. View limit details
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. |
4 tasks
developing-today-fleet Bot
pushed a commit
that referenced
this pull request
Nov 30, 2026
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.
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.
Summary
needsDrew/needs-drew:<id>andneedsUser/needs-user:<id>mirrored questions.Evidence
dezren39/fleet#45882334526failed the new wire-format test with HTTP 403 where the legacy answer flow returns HTTP 200.9c6c9e491b2: Fleetdeveloping-today-forks/fleet#45888232384— 12 aggregator edge-answer tests and 23 notify-relay answer tests passed.cd pm-stack/aggregator && bun install --frozen-lockfile && PM_AGG_SOURCE=fixtures PM_AGG_DEV=1 PM_AGG_NEEDS_DREW_FILE=/tmp/needs-drew-route-compat.json bun test test/edge-answers.test.tscd pm-stack/notify-relay && bun install && bun test test/answers.test.tsMerge Danger
Old links and mirrored identifiers remain accepted. New links resolve to the same answer handler. The state file, alert intake extension, and upstream producer stay on their existing names for the next compatibility slices.
Refs #13507
{ "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-26T20:08:58Z", "session_id": null, "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/13507-agg-notify-24225", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/13507-agg-notify-24225", "repo": "developing-today/code", "branch": "agent-next-21/13507-agg-notify-dualread", "sha": "9c6c9e491b213b340c0572b86b0da3718f643913" }, "auth_subject": "code-g", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.