GeezerVison is showing github.com — fleet-queue: refuse dispatches carrying laptop-tier credential values by developing-today-fleet[bot] · Pull Request #16161 · developing-today/code
Conversation
Summary
Refs #15651. Enforces the no-leak half of the issue's first acceptance criterion in code: GithubActionsAdapter::dispatch_workflow now refuses a dispatch whose --command embeds a locally-resolvable laptop-tier credential value (desktop-commander.machine-bearer, fleet.laptop-agent-token), dying by secret NAME before the POST leaves the seat — never echoing the value or the command. Unresolvable names are skipped (fail-open keeps the fleet dispatchable during a secrets-infra outage); a positive match always fails closed.
This does NOT provision credentials into the runner — that half lives in dezren39/fleet#128 and is still blocked on the hands-only enrollment of the bearer into that repo's Actions secrets (verified absent today).
Evidence
Ran on the laptop at 1d1d38145ff (narrow suite, OpenSSL from the nix store):
cargo test -p fleet-queue --lib --features client -- placement:: → 70 passed, 0 failed (5 new tests); full crate lib suite → 479 passed, 0 failed.
- Red control: with the matcher neutered to always return None,
dispatch_refuses_command_carrying_secret_value and embedded_secret_reports_the_matching_name FAIL (2 failed); restored → green. The tests fail for the reason the slice fixes.
cargo fmt -p fleet-queue -- --check clean. New tests live in the existing placement.rs test module — no new test file, so no test-suite-registry row is needed.
Merge Danger
Low. Additive-only (161 insertions, 0 deletions) on the GitHub-Actions dispatch boundary; the only behavior change is a new pre-POST refusal when a command literally contains a resolved credential value. Short values (<16 chars) never trigger, so normal commands cannot false-positive. Session records are committed only after a successful dispatch, so a refused dispatch leaves no record carrying the value.
{
"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-27T13:02:54Z",
"session_id": "ses_e5de328a9acffenZukYE1jE4vG",
"lane": null,
"host": "amd",
"worktree": "/home/user/git/code-oc-code-05-15651",
"model": null,
"lane_start_issues": [],
"workspace_ref": {
"kind": "worktree",
"id": "/home/user/git/code-oc-code-05-15651",
"repo": "developing-today/code",
"branch": "oc-code-05/15651-dispatch-secret-guard",
"sha": "1d1d38145ff56d9b054740c652a1c9f9b7e0ffcc"
},
"auth_subject": "oc-code-01",
"stamped_by": "fleet 0.1.0 (native)"
}
}
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Refs #15651: the dispatch --command becomes GitHub
run metadata the moment it is POSTed, so a command embedding a
locally-resolvable laptop-tier credential value now dies by secret
name before the POST leaves the seat. Resolution failures are
skipped (fail-open keeps the fleet dispatchable during a
secrets-infra outage); a positive match fails closed.
Important
Review skipped
Bot user detected.
To trigger a single review, invoke the @coderabbitai review command.
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:
805cbb29-7a55-46d2-a0e0-f468b9dd12ea
You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.
Use the checkbox below for a quick retry:
- 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
-
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Lane 1052-D (bravo SUSTAIN landings, 2026-11-27) — bench verify-then-merge claim. Claim-scan: PR comments = CodeRabbit skip-review bot only, no reviews; linked issue #15651 comments end with the author slice-landed note for this PR — no live sibling claim. Head stable 1d1d381 across reads, OPEN/non-draft. No exact-head Actions run exists in developing-today/code (check-runs = CodeRabbit/Proof skipped only), so ONE verification dispatch: fleet-command run 46041747651 https://github.com/developing-today/fleet/actions/runs/46041747651 (dispatch_id 1052D-16161, ref pinned to exact head) — command: cd pkgs/fleet && cargo test -p fleet-queue --lib --features client -- placement:: (the PR body narrow suite, 70 passed on the author laptop). Will merge under standing authority on SUCCESS.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
|
Lane 1052-D — run 46041747651 completed FAILURE, log read firsthand: Target HEAD exact 1d1d381, but ZERO tests ran: openssl-sys 0.9.118 build script failed — the runner container has no pkg-config and no OpenSSL installation ("Could not find directory of OpenSSL installation" / "The pkg-config command could not be found"). Environmental, matching the PR body note that the author suite ran with OpenSSL from the nix store. ONE corrected re-dispatch follows: same exact head, installing pkg-config + libssl-dev in the disposable runner first.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
|
Lane 1207-G (charlie ADVANCE landings follow-through, 2026-11-27) — MERGED under standing merge authority.
Follow-through on lane 1052-D's bench claim (7224396923): its corrected re-dispatch fleet run 46042888090 https://github.com/developing-today/fleet/actions/runs/46042888090 completed SUCCESS (created 2026-11-27T17:34:20Z, completed 18:02:45Z; verified on two reads). Log read firsthand: checkout TARGET_REF / Target HEAD = 1d1d381 (exact PR head), cargo test -p fleet-queue --lib --features client -- placement:: → test result: ok. 70 passed; 0 failed. (First dispatch 46041747651 failed environmentally — no pkg-config/OpenSSL in the runner, 0 tests ran; the corrected run installed pkg-config + libssl-dev first.)
Pre-merge re-verification by this lane: PR body + all 3 comments + 0 reviews read; diff = placement.rs + adapters.rs, +161/-0, matching body; head 1d1d381 stable across two reads; OPEN, non-draft, CLEAN/MERGEABLE.
Merged with merge commit ab83bdb at 2026-11-27T18:12:40Z; MERGED confirmed on a second read (gh pr view + gh api pulls).
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 27, 2026
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Uh oh!
There was an error while loading. Please reload this page.
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.
|