Repository navigation
feat(fleet): opt-in secrets TLS and authenticated trust-version health - #16121
Conversation
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
|
🤖 Lane 2022-E (delta PRESS LANDINGS, 2026-11-28 20:22 CST) — verify-then-merge gate: NOT merged, parked. Fresh gate re-read by this lane via
Wake / unblock: a completed SUCCESS verification run on the exact current head (post it on this PR), PR non-draft and CLEAN, and no CHANGES_REQUESTED — then merge under standing authority. |
a10b4b0 to
b6a9e7f
Compare
|
🤖 Lane 0552-C (bravo SUSTAIN LANDINGS, 2026-11-29) — rebased this PR onto current main; DIRTY resolved.
|
|
🤖 Lane 0552-C (bravo SUSTAIN LANDINGS, 2026-11-29) — MERGED. Verification on rebased head
Merged 2026-11-29T12:37:16Z, merge commit |
Summary
Refs #14400, #14403. Lane oc-code-05. This is the server-side prerequisite/health slice, not all BT-2 or BT-5. Main had no secrets TLS accept path. Defaults remain Phase 0; no deployment/production enablement. Versions are client-presented, never proof that a client verified the broker. Distinct old/current versions survive for the same peer; missing/invalid/duplicate versions become unverified TLS observations.
Remaining: proxy/secrets network client fleet trust-store validation and presentation; synthetic estate rollover through that actual client; BT-5 independent local renewal proof. #9155 production gate is unchanged. Existing #14421 also edits secrets_broker.rs for an unrelated op-backend change; conflict risk is acknowledged, not an ownership hold.
Evidence
41bc913382f0972543dd9cab4b093cccc71ef0f9asserts authenticated health has an empty trust inventory (main returns null). Initial dispatch 45988359254 failed checkout because a short SHA was interpreted as a ref; corrected full-SHA retry https://github.com/dezren39/fleet/actions/runs/45989653628 compiled and failed for the intended semantic oracle:left: Null,right: Array [](0 passed, 1 failed).handle_http/Valueimports. Fixed in pushed3ad0297053c; follow-up https://github.com/dezren39/fleet/actions/runs/45990257607 passed all 49 secrets-broker tests, including the new real TLS, property matrix and authenticated health tests. The overall run failed afterward compiling queue-broker regression dependencies: executor lacks OpenSSL/pkg-config (openssl-sysbuild failure). Queue TLS suite therefore did not run; UDS suite after&&was not reached. Static workhorse review found no blocker; noted retention risk below.cd pkgs/fleet && cargo test -p fleet-queue --features secrets-broker --lib secrets_broker::tests && cargo test -p fleet-queue --features queue-broker,secrets-broker --lib broker_tls::tests && cargo test -p fleet-queue --features secrets-broker --lib uds_http::tests.git diff --checkand targeted rustfmt passed locally. No sandbox build. Refreshed main merged before opening.Merge Danger
Door: two-way
Additive opt-in flags; revert code or leave identity flags unset. No production rollout. Do not merge until actual remote compile/test evidence is available.
Blast Radius: brokers
Shared TLS server cfg now includes secrets-only builds; queue configuration semantics preserved. Health inventory is process-local and unbounded, matching the existing queue observation pattern; peer IP is not stable authenticated identity.
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.