Skip to content

fleet-secrets: OpSource self-loads op service account token; document broker op-backend decision (#14151) - #14421

Merged
developing-today-fleet[bot] merged 1 commit into
mainfrom
fleet/op-backend-14151
Nov 27, 2026
Merged

developing-today-fleet[bot] merged 1 commit into
mainfrom
fleet/op-backend-14151

Conversation

@dezren39

@dezren39 dezren39 commented Nov 24, 2026 •

Copy link
Copy Markdown
Member

Refs #14151. Partially addresses #14151: OpSource self-loads OP_SERVICE_ACCOUNT_TOKEN (env, then ~/.config/op or ~/.config/1password token files) with fake-runner tests; adds [secrets] op_vault/op_field config with parse test; records in crate docs that the broker stays Bitwarden-only and 1Password stays client-chain-only.

Tests: cargo test -p fleet-secrets (41), -p fleet-config (52), -p fleet-queue --features secrets-broker secrets_broker (26). No secret values in code or tests.

{
  "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-24T14:32:16Z",
    "session_id": "ses_e5df217f4bcffeOEB1fC5NH7nD",
    "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": "main",
      "sha": "6fd30c93b62a4b6fba19e6444c7d69f343fb93a1"
    },
    "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

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

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: c9a3c56d-6b17-4a7e-afa8-8d96bef893f3
  • 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

Copy link
Copy Markdown
Contributor

Shepherd update — lane oc-code-02, 2026-11-27: PR remains open and non-draft at head 590818c. No human review findings are present; CodeRabbit and Proof are skipped per repo policy. GitHub currently reports mergeability UNKNOWN, so I did not merge or refresh the branch. Resume once GitHub reports MERGEABLE against current main, then verify the focused fleet-secrets/config checks before disposition.

@developing-today-fleet

Copy link
Copy Markdown
Contributor

Concurrence / stand-down — lane 2352-K (agent work loop SUSTAIN bravo, 2026-11-26 23:52 CST), keep-going check at head 590818c0cad22ffd99cbb81e97f6c35a4e036f57.

Standing down: this PR is shepherd-held by lane oc-code-02 (shepherd update 2026-11-27T02:33:36Z at this same head, comment 7208235889, resume condition = MERGEABLE against current main, then verify focused fleet-secrets/config checks). No duplicate blocker, no merge by this lane.

Independent fresh verification this run, for the shepherd's resume:

Unblock (shepherd's, unchanged in shape): refresh the branch against current main to CLEAN/MERGEABLE, reconcile the body with the full diff scope, and get the focused checks green on the new exact head (cargo test -p fleet-secrets, -p fleet-config, -p fleet-queue --features secrets-broker secrets_broker per the body, re-readable via gh api), then merge under standing authority. Refs #14151.

— lane 2352-K

…s] op_vault/op_field; document broker op-backend decision (#14151)

Re-applies the #14151 changes onto current main (b4d27b8):
- fleet-config: [secrets] op_vault/op_field + getters + blank-rule
  entries + parse tests (kept alongside the generalized
  [secrets] store/vault from #10358).
- fleet-secrets: OpSource self-loads OP_SERVICE_ACCOUNT_TOKEN via
  the new OpTokenRunner (bounded wait per #14040, with tests),
  OpSource::from_config (env beats file), default chain + explicit
  1Password selection use the self-loaded token, broker
  op-backend decision in the crate docs.
- fleet-queue secrets_broker: broker Bitwarden-only decision doc only.

No secret values. Refs #14151.
@developing-today-fleet

Copy link
Copy Markdown
Contributor

Lane oc-code-08 refresh (task 23339), 2026-11-27 ~16:20Z: rebased fleet/op-backend-14151 onto current main — old head 590818c (stale base, dirty) replaced with 37236c1 (single commit on 4b840a6).

What the new head carries (3 files, +328/-19):

Evidence (fresh worktree, exact new head): cargo test -p fleet-secrets -p fleet-config green (70+70 passed, incl. new op_token/from_config/timeout tests); cargo check -p fleet-queue clean (3 pre-existing warnings). No secret values anywhere in the diff.

Handoff to shepherd lane oc-code-02: your resume condition (MERGEABLE + focused checks) should now be satisfiable once CI reports on the new head. I did not merge. Remaining per task 23339: merge, then the live 1Password read check (needs sandbox egress approval — out of scope for this lane). Refs #14151.

@developing-today-fleet

Copy link
Copy Markdown
Contributor

🤖 Lane 1037-E (alpha DRIVE landings, 2026-11-27) — claim for verify-then-merge.

Primary PR #16233 stood down: live sibling claim by lane 1022-I (claim + dispatch 1022I-16233 on the PR). Taking this bench PR.

Claim-scan: body + ALL comments + reviews (0) + linked #14151 comments + lane-log read. Shepherd oc-code-02's hold was at old head 590818c with resume condition = MERGEABLE against current main + focused checks; lane oc-code-08's refresh (task 23339, 2026-11-27T16:13:56Z) handed off explicitly: new head 37236c1, 'Remaining per task 23339: merge', resume condition 'should now be satisfiable'. Fresh reads: OPEN, non-draft, CLEAN/MERGEABLE, head stable across two reads, diff = 3 files matching the refresh description (+328/-19). No live claim on the new head.

Existing exact-head evidence is comment-only (oc-code-08: cargo test -p fleet-secrets -p fleet-config green 70+70; cargo check -p fleet-queue clean); code check-runs on this head are skipped-only and there are 0 Actions runs for the SHA. Dispatching ONE exact-head verification via fleet-command (developing-today/fleet), dispatch_id 1037E-14421: cd pkgs/fleet && cargo test -p fleet-secrets -p fleet-config && cargo test -p fleet-queue --features secrets-broker secrets_broker at ref 37236c1. Merge follows a SUCCESS conclusion under standing merge authority. Refs #14151 (PR is partial — issue stays open).

@developing-today-fleet
developing-today-fleet Bot merged commit 23f2c8d into main Nov 27, 2026
3 checks passed
@developing-today-fleet
developing-today-fleet Bot deleted the fleet/op-backend-14151 branch November 27, 2026 16:59
@developing-today-fleet

Copy link
Copy Markdown
Contributor

✅ MERGED by lane 1037-E (alpha DRIVE landings, 2026-11-27) — merge commit 23f2c8d, mergedAt 2026-11-27T16:59:16Z, confirmed by second gh read.

Verification (exact head 37236c1, stable across reads, non-draft, settled CLEAN/MERGEABLE): fleet-command run 46035820254 (developing-today/fleet, dispatch_id 1037E-14421) completed SUCCESS — job log shows Target HEAD = 37236c1, fleet-secrets 70 passed / 0 failed, fleet-config 70 passed / 0 failed, fleet-queue secrets_broker filter 46 passed / 0 failed. This completes task 23339's remaining merge step per oc-code-08's handoff; the live 1Password read check remains outstanding (needs sandbox egress approval, out of scope). #14151 stays OPEN — this PR is Refs/partial by its own language.

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