GeezerVison is showing github.com — fleet actions exec: workflow dispatch fails from sandbox seat - invalid peer certificate UnknownIssuer · Issue #15575 · developing-today/code
fleet actions exec: workflow dispatch fails from sandbox seat - invalid peer certificate UnknownIssuer #15575Descriptionagent-note:v1 — observed 2026-11-26 ~06:35 CST, lane RK (Muse sandbox seat), while trying to verify draft PR #15521 for #14987.
fleet actions exec start --repo dezren39/fleet --target-repo developing-today/code --ref lane/agent-next-24-local/cf2b-door-client --timeout 1800 --detach failed twice in a row with:
fleet actions: workflow dispatch: github api POST /repos/dezren39/fleet/actions/workflows/fleet-exec.yml/dispatches: transport: io: invalid peer certificate: UnknownIssuer
Effect: no Actions exec session could be started from this seat, so no remote verification run could be obtained via that route this pass. fleet gh / gh calls to the same GitHub API worked in the same window, so the failure is specific to the actions-exec dispatch transport from this seat (CA trust on that path), not a general GitHub outage.
Wake/verify: retry the same dispatch from a seat where it succeeds, or fix the CA trust on the fleet binary's direct GitHub API transport on sandbox seats; close when a dispatch from a sandbox seat reaches a runner.
Acceptance criteria
- The invalid-peer-certificate failure when dispatching fleet actions exec workflows from the sandbox seat is root-caused (proxy CA, runner trust store, or dispatch endpoint).
- Workflow dispatch from the sandbox seat succeeds, or fails with an actionable error naming the trust problem.
- The fix or workaround is recorded on this issue so other seats can apply it.
Activitydeveloping-today-fleet commented on Nov 26, 2026 agent-note:v1 — graph hygiene audit slice N2 under #14863 (queue-lane-SC, 2026-11-26)
State correction (comment-only): label taxonomy incomplete. This issue carries only app/fleet — no kind/, priority/, status/, or effort/ label — so it is invisible to label-driven queue and triage views (same defect class as #9378 in slice 10 and #15022 in slice N1). The underlying report is concrete and evidenced (fleet actions exec workflow dispatch failing with TLS UnknownIssuer from the sandbox seat, twice in a row, while verifying PR #15521 for #14987). Flagged for the owning lane to label; no label change made by the audit. Refs #14863 added kind/bugSomething isn't working (prefixed form of the classic bug label) effort/sSmall: expected under 2 hours of work meta/enrichedIntake review done: acceptance criteria, links, and normalized labels added on Nov 26, 2026developing-today-fleet commented on Nov 26, 2026 Intake review
🤖 Agent note · filed
- Agent: fleet monitor (repo-fleet-monitor)
- Session / ID: repo-fleet-monitor run 2026-11-26 07:14 CST
- Found via: monitor reconciliation (intake enrichment, protocol §5)
- Task: Intake pass — acceptance criteria appended to the issue body, labels normalized (priority/high, effort/s, meta/enriched).
- Expectation: a queue worker or sweep picks this up with the criteria above as the definition of done.
- Links: n/a
Notes: fleet actions exec is the fleet's default build/test route, so a sandbox-seat dispatch failure blocks the CI-first workflow. Suggested approach: reproduce the dispatch, capture which certificate chain fails validation, and check it against the sandbox proxy/CA setup. Risk: an infra-side CA rotation could make this transient — verify it still reproduces before deep work.
Verified live: no merged PR found in this pass that explicitly resolves this issue, so it stays open. If a candidate fix surfaces, link it here before closing.
developing-today-fleet commented on Nov 27, 2026 Triage verdict — root-caused, fix proposed
Root cause: seat-side TLS roots, not the proxy or GitHub. fleet actions exec start dispatches via gh_api in pkgs/fleet/crates/fleet/src/actions.rs:236, which built its client with ureq::agent() defaults (webpki roots only). The sandbox seat's TLS-intercepting egress proxy presents its own CA, which lives only in the platform store — hence invalid peer certificate: UnknownIssuer, while gh (platform roots) worked in the same window. Same defect class as code#13122, which fixed the gh App leg, the queue placement path, and dispatch-test the same way; the actions seat half was missed.
Fix: PR #15841 (lane/oc-code-02/fix-actions-exec-tls-15575) builds the gh_api agent with RootCerts::PlatformVerifier, mirroring gh.rs RawMinter exactly. One call site; the runner-side ureq calls (OIDC fetch, agent→broker, R2 put) run where egress is not proxy-intercepted and are untouched. Carries Closes #15575.
Validation status: remote fleet queue dispatch of cargo check -p fleet from this seat currently fails with dispatch to fleet-forks failed: HTTP 403 Resource not accessible by integration (placement-route permission, unrelated to this change — recording in case it reproduces for others). Verification therefore rides on PR CI; merging once green closes this issue.
Workaround until merge: none needed beyond the fix; sandbox seats on a current binary get it automatically. Seats seeing UnknownIssuer on any fleet verb should first re-run scripts/muse/bootstrap.sh (pre-#13122 binaries have the same symptom everywhere). developing-today-fleet commented on Nov 27, 2026 developing-today-fleet commented on Nov 27, 2026 agent-note:v1 — recurrence recorded by lane 2152-B (SUSTAIN bravo queue-truth run, 2026-11-26 21:52 CST), reporting lane 2137-H's evidence
Recurrence after close
This issue was closed 2026-11-27T02:52:56Z as implemented (fix PR #15841, merge commit 87658da; closing comments 2026-11-27T02:51:33Z / 02:52:54Z). After that close, lane 2137-H hit the same failure twice while verifying fleet queue task 23461 / issue #13481 #13481 :
Effect: #13481-class acceptance could not be verified via the Actions exec route, and queue task 23461 was parked (verified by lane 2152-B this run: status=parked, worker_id=null, lease_until=null, not_before=2026-11-27T04:43:43Z).
Open question for the next lane (hypothesis, not proven): the earlier triage said seats on a current binary get the #15841 fix automatically — so this recurrence may mean 2137-H's seat was still running a pre-fix binary, or another dispatch path still lacks platform roots. Please verify the seat's binary revision before re-closing.
Action taken by 2152-B
Re-opened this issue via the gh CLI (fleet gh issue reopen succeeded; verified state=OPEN, stateReason=REOPENED, updatedAt 2026-11-27T03:57:55Z). No duplicate issue filed. dezren39 commented on Nov 27, 2026 agent-note:v1 — lane 2307-C-C (charlie ADVANCE, 2026-11-26 23:07 CST run), recurrence premise check
Audit of main (2026-11-27 ~05:1xZ, via gh API, no CI logs read)
No second seat-side dispatch path lacks platform roots. Every seat-side GitHub API ureq agent on current main builds with RootCerts::PlatformVerifier:
Remaining default-roots ureq calls are not seat-side GitHub calls: runner-side OIDC/agent→broker/R2 in actions.rs (egress not proxy-intercepted, per #15841's scope), a localhost OpenCode probe in session_state.rs, and fleet-search's service client (non-GitHub base URL).
This seat's binary confirms the stale-binary hypothesis
Xaltha seat, checked this run:
~/tools/fleet is a 2026-11-23 local build: 0.1.0-dev.15618+gf7f45d6.xaltha-13091-broker-double-serve, sha256 2fb5a18134da04ede54f925dfec3fe41e0152fdd3baa067e095f937169aa70ae (matches the ~/tools/fleet.local-build guard marker)
- It predates PR fix(fleet): actions exec dispatch uses platform TLS roots #15841 (merged 2026-11-27T01:43Z, merge commit 87658da) — and predates the actions domain entirely:
fleet actions exec start --help → error: unrecognized subcommand 'actions'
So a seat on a pre-#15841 binary reproduces UnknownIssuer (or lacks the verb) regardless of the merged fix. Lane 2137-H's recurrence fits this exactly; no evidence of a remaining code defect was found.
Disposition
Repo-side work is complete (#15841 merged; audit above). Remaining blocker is binary deployment to sandbox seats: a fleet release/build carrying #15841 must reach seats and replace pre-fix binaries (on this seat, that replacement must also update the fleet.local-build guard marker, or muse-boot's bootstrap will keep restoring the pinned pre-fix build). Wake/verify: install a post-#15841 build on a sandbox seat, then fleet actions exec start dispatch reaches a runner — close on that evidence. Keeping this issue OPEN until that seat-side verification lands; do not re-close on the merge alone. developing-today-fleet commented on Nov 27, 2026 agent-note:v1 — lane code-g slice (2026-11-27): actionable-error half of criterion 2.
PR #16190 routes seat-side gh_api transport errors (POST + GET) through a new gh_transport_err helper in pkgs/fleet/crates/fleet/src/actions.rs: certificate-looking failures now append a hint naming the trust problem and the remedy (code#15575, re-run scripts/muse/bootstrap.sh); non-TLS errors keep their exact terse form (asserted byte-for-byte). Red→green evidence on the PR: 3 unit tests passed on the laptop.
After merge, a sandbox seat hitting UnknownIssuer gets an actionable error instead of a bare transport string. Full close still needs the issue's standing disposition: a post-fix binary on a sandbox seat dispatching to a runner. Next slice for whoever picks this up: seat-side dispatch verification. developing-today-fleet commented on Nov 27, 2026 agent-note:v1 — lane 0922-K (delta PRESS, 2026-11-27 09:22 CST run) — premise DECIDED from live evidence
Verdict: premise ALIVE at seat level — issue must STAY OPEN; do not re-close on the merge alone
Full record read (issue + all 8 comments), plus live checks this run:
- Code fix merged. PR fix(fleet): actions exec dispatch uses platform TLS roots #15841 MERGED 2026-11-27T01:43:25Z, merge commit 87658da. Verified on current main (440537c, 2026-11-27T15:25:38Z):
pkgs/fleet/crates/fleet/src/actions.rs gh_api builds with RootCerts::PlatformVerifier (line 258). This matches the 2307-C-C audit: no remaining seat-side GitHub API path on main lacks platform roots.
- Live reproduction from THIS sandbox seat, today. At ~2026-11-27T15:28Z:
fleet actions exec start --repo dezren39/fleet --target-repo developing-today/code --ref main --timeout 300 --detach → fleet actions: workflow dispatch: github api POST /repos/dezren39/fleet/actions/workflows/fleet-exec.yml/dispatches: transport: io: invalid peer certificate: UnknownIssuer, exit 1. Same failure as the original report and the 2137-H recurrence.
- Root cause of the live failure is the seat binary, not main. This seat runs
fleet 0.1.0, derived version 0.1.0-dev+g74eee89 (binary file dated Nov 24) — a pre-fix(fleet): actions exec dispatch uses platform TLS roots #15841 build, so it cannot carry the platform-roots fix. This independently confirms the stale-binary hypothesis from the reopen and the 2307-C-C audit.
- One code slice still in flight. PR fleet actions exec: actionable TLS-trust hint on dispatch transport failures (#15575) #16190 (actionable TLS-trust hint, criterion 2's second disjunct) is OPEN at head c576a85, not merged as of this check.
Unblock / wake condition (unchanged in kind, now re-verified live)
Deploy a post-#15841 fleet binary (ideally also carrying #16190 once merged) to the sandbox seats, replacing pre-fix binaries, then re-run fleet actions exec start from a sandbox seat: close this issue only when that dispatch reaches a runner. Until then the acceptance criteria are not met on any sandbox seat this lane can test.
No claim taken by 0922-K: the remaining work is binary deployment + seat re-verification, not a new code slice, and #16190 is already another lane's open PR. developing-today-fleet commented on Nov 27, 2026 Reopening — PR #16190 merged, seat-level verification still outstanding (lane 0937-K, 2026-11-27)
PR #16190 (actionable TLS-trust hint, #15575 criterion 2's second disjunct) was verified and merged this lane: exact-head fleet-rust-tests run 46027537828 https://github.com/developing-today/code/actions/runs/46027537828 completed SUCCESS on head c576a8517329a262caf2297b0d4b76bdcdccd33b; merged 2026-11-27T15:50:23Z, merge commit f268a28dd0d7a70f22dc1952182ce525267046a0. The merge auto-closed this issue via the PR's closing reference.
Reopening because the close is premature by the PR's own terms and by lane 0922-K's seat-level verdict today (#15575 (comment)): this sandbox seat's fleet binary is still the stale pre-fix build and a live dispatch still failed with UnknownIssuer at ~15:28Z. Remaining wake: deploy a fleet binary carrying #15841's platform roots + this hint to sandbox seats, then re-verify a live fleet actions exec dispatch from a sandbox seat succeeds (or now fails with the actionable hint). Only then should #15575 close. developing-today-fleet commented on Nov 28, 2026
Verified park, no code slice taken (lane code-h, shortlist draw, 2026-11-27).
Fresh verification against origin/main @dd6cf4c (clean worktree; local checkout behind, left untouched):
No PR opened. Next slice: sandbox-seat live dispatch verification once a fixed binary is deployed there. developing-today-fleet commented on Nov 28, 2026 agent-note:v1 — lane oc-code-06 (OpenChamber scheduled Fleet lane, laptop seat), shortlist draw 2026-11-27
Verification only, no code slice taken
Fresh checks against origin/main @69993dc1fe0 this run:
- Both code halves still present on main.
pkgs/fleet/crates/fleet/src/actions.rs: gh_api builds its ureq agent with RootCerts::PlatformVerifier (~L255-261, with the code#15575 comment citing the sandbox proxy CA); seat-side POST/GET dispatch errors route through gh_transport_err (~L337) which appends the TLS-trust hint naming code#15575 and scripts/muse/bootstrap.sh. The three golden tests exist (~L1767 tls_failures_name_the_trust_problem, ~L1785 non_tls_failures_stay_terse, ~L1797 dispatch_error_carries_hint_only_for_tls). Merges confirmed in history: fix(fleet): actions exec dispatch uses platform TLS roots #15841 (87658da3a2b) and fleet actions exec: actionable TLS-trust hint on dispatch transport failures (#15575) #16190 (f268a28dd0d).
- This seat's binary is also pre-fix. Laptop seat runs
fleet 0.1.0, derived 0.1.0-dev+g74eee89 (binary dated Nov 26) — predates both merges, same as the sandbox seats 0922-K/2307-C-C reported.
- Live dispatch probe from this laptop seat just now:
fleet actions exec start --repo dezren39/fleet --target-repo developing-today/code --ref main --timeout 300 --detach → transport: http status: 403. No UnknownIssuer: the TLS handshake succeeded here (no intercepting proxy on laptop egress), and the failure moved to API permission. This corroborates the standing diagnosis — UnknownIssuer is sandbox-proxy-egress + stale-binary specific, not a remaining code defect. (The 403 itself is a token/placement permission matter, out of scope for this issue.)
Disposition
No code criterion left for a slice: criterion 1 (root-cause) and criterion 2's actionable-error disjunct are met in merged code; the recorded fix/workaround stands. Remaining wake unchanged: deploy a post-#15841+#16190 binary to the sandbox seats, then a live sandbox-seat fleet actions exec dispatch reaching a runner — close only on that evidence. No fallback claim held (checked: claim state free); leaving this issue free for the verifying lane. developing-today-fleet commented on Nov 28, 2026
Verified, no code slice taken (lane oc-code-04, shortlist draw, 2026-11-28).
Fresh checks against origin/main @c4afa78e347 (clean worktree, no changes made):
- Criterion 1 (root-cause): still MET on merged work — PR fix(fleet): actions exec dispatch uses platform TLS roots #15841 (platform roots in seat-side dispatch agent) + 2307-C-C audit of no remaining non-platform seat-side GitHub path.
- Criterion 2 code halves: still present and byte-unchanged since the exact-head green CI —
git log c576a851732..HEAD -- pkgs/fleet/crates/fleet/src/actions.rs is empty, so run 46027537828 (fleet-rust-tests SUCCESS on c576a85) still covers the three golden tests (tls_failures_name_the_trust_problem, non_tls_failures_stay_terse, dispatch_error_carries_hint_only_for_tls) plus the PlatformVerifier agent.
- This seat still cannot add local build evidence:
cargo test -p fleet fails on missing system OpenSSL dev (same seat limitation lane code-h reported; no seat mutation made). Newest fleet-rust-tests SUCCESS on main is 2026-11-28T01:34Z.
- Remaining wake unchanged: deploy a binary carrying fix(fleet): actions exec dispatch uses platform TLS roots #15841+fleet actions exec: actionable TLS-trust hint on dispatch transport failures (#15575) #16190 to sandbox seats, then a live sandbox-seat dispatch to a runner (or the new actionable hint). This seat has direct egress (no proxy env) — the sandbox half is not startable here.
No PR opened (would duplicate merged work). Next slice: sandbox-seat live dispatch verification once a fixed binary is deployed there.
MetadataMetadataDevelopmentNo branches or pull requestsIssue actions
|