Skip to content

feat(fleet-queue): broker signed decide envelope + via label (S1 of #14043) - #14104

Merged
dezren39 merged 1 commit into
mainfrom
queue/21653-14043-signed-decide-envelope
Nov 24, 2026
Merged

dezren39 merged 1 commit into
mainfrom
queue/21653-14043-signed-decide-envelope

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Part of #14043

S1 broker half of the answer-writeback design (doc/2026-11-24_design_pm14043_answer_writeback.md §2, §6).

  • Accept sig on /actions-exec-extend-decide; verify lowercase-hex HMAC-SHA256 over handle|approve|answer_id|answered_at against the named fleet-secrets key (default pm-aggregator.actions-exec-apply-key, override FLEET_ACTIONS_EXEC_APPLY_KEY_NAME); enforce 600s back / 60s future-skew window; fail closed.
  • Unsigned seat calls byte-identical (now labelled via seat); signed calls labelled via signed-apply; silence-approved/no-pending terminal outcomes unchanged.
  • Client helper ae_extend_decide_signed for the applier (S3).
  • Tests: signed_decide_message_is_canonical pins the cross-language contract; valid / bad-sig / stale+future / unsigned-seat cases; full fleet-queue suite 619 passed.

Worker does NOT 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-24T05:38:26Z",
    "session_id": "ses_e5df41ff89bffeJWncgxN8BlWI",
    "lane": null,
    "host": "amd",
    "worktree": "/home/user/git/code",
    "model": null,
    "lane_start_issues": [],
    "workspace_ref": {
      "kind": "worktree",
      "id": "/home/user/git/code",
      "repo": "developing-today/code",
      "branch": "code-j/9079-design-nine-point-conformance",
      "sha": "9f3485b56d09962a3eeb07dc3dde2be479fba9dd"
    },
    "auth_subject": "oc-code-08",
    "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 24, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You'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 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

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: 296c9462-ac65-4085-974d-bd99e1f1a245
Commits

Reviewing files that changed from the base of the PR and between a892b0e and 91abb87.

Files selected for processing: 2

  • pkgs/fleet/crates/fleet-queue/src/client/actions_exec.rs
  • pkgs/fleet/crates/fleet-queue/src/turso_queue/actions_exec.rs
  • 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

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