GeezerVison is showing github.com — feat(fleet): re-home NodeId allowlist into fleet-transport crate (#14720 rework of #15171) by dezren39 · Pull Request #15595 · developing-today/code
Conversation
dezren39
commented
Nov 26, 2026
•
edited by blacksmith-sh
Bot
Loading
Uh oh!
There was an error while loading. Please reload this page.
Summary
Rework of #15171 for #14720 (work item 2c, fleet transport design #13752 §2.2), fulfilling the ready condition recorded on #14720 by queue lane SF's triage (comment 7192447071).
PR #15171's standalone fleet-transport crate cannot merge: main landed a different crate at the same path/name — f152fa5 "feat(fleet): add transport routing core" (S2 of #13929) — at pkgs/fleet/crates/fleet-transport, with no allowlist content.
This PR re-homes the tested allowlist code onto current main (base 6f5266d):
src/allowlist.rs — PR feat(fleet): accept-side NodeId allowlist, per-ALPN authorization (#14720 slice) #15171's Allowlist/authorize code verbatim as a module of the existing routing-core crate (only the crate-doc header adapted to module wording).
src/lib.rs — pub mod allowlist; plus crate-root re-exports (Allowlist, Enrollment, Decision, Refusal, RefusalReason, BindingState, BuildError/AllowlistBuildError, NodeId, Alpn), so the original public API is unchanged.
tests/auth.rs — PR feat(fleet): accept-side NodeId allowlist, per-ALPN authorization (#14720 slice) #15171's acceptance tests verbatim: allowed, unknown and revoked NodeIds, per-ALPN refusal, refusal logging with NodeId + ALPN, build errors, and the proptest model oracle.
No workspace Cargo.toml/Cargo.lock change needed: the crate already exists on main with proptest as a dev-dependency, and the allowlist module is std-only.
Verification
Remote only. Actions exec TLS UnknownIssuer defect #15575/#13185 noted; verification via the fleet-command fallback route on this branch (cargo test -p fleet-transport), recorded on #14720 when it concludes. The allowlist module also compiled standalone under the sandbox rustc as a sanity check.
Remaining on #14720
Wiring authorize() into the accepting endpoint's accept loop — gated on the 2a pilot endpoint (#14718, still open). This PR does not close #14720; it supersedes #15171.
Refs #14720
Supersedes #15171
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.
)
Re-homes PR #15171's tested accept-side allowlist as src/allowlist.rs
module inside main's existing fleet-transport routing-core crate
(f152fa5), re-exported at the crate root so the original API and
tests/auth.rs carry over verbatim. Supersedes #15171, whose standalone
crate collided with the routing core at the same path/name.
Refs #14720
coderabbitai
Bot
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
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 32 minutes.
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:
3ede71fb-b561-418e-81cc-85aa84853f9a
Commits
-
Reviewing files that changed from the base of the PR and between a13f1c8 and 9f85a06.
Files selected for processing: 3
-
pkgs/fleet/crates/fleet-transport/src/allowlist.rs
pkgs/fleet/crates/fleet-transport/src/lib.rs
pkgs/fleet/crates/fleet-transport/tests/auth.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
-
|
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.
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Milestone
No milestone
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.
|