Skip to content

row 155 F25 REHOME (kernel): route-policy gate matrix and the signed host under a backslash base URL, 5 legacy tests - #896

Merged
MattJackson merged 2 commits into
predevfrom
lane-f25-kernel-rehome-4
Oct 15, 2026
Merged

MattJackson merged 2 commits into
predevfrom
lane-f25-kernel-rehome-4

Conversation

@MattJackson

Copy link
Copy Markdown
Collaborator

F25 REHOME (status row 155, kernel lane): the legacy crates/busbar-llm tests whose served equivalent needs a kernel product touch in plane_driver/route.rs / plane_driver/far_end.rs.

Rows (coverage-map-v2.tsv line numbers; legacy paths under crates/busbar-llm/), 5 rows:

  • rows 630-633: src/engine/tests/wire_tests.rs::route_policy_headers_* (the 2x2 matrix of the outer opt-in gate and the inner policy-chose gate) -> plane_driver/tests/route_tests.rs, same names. The pump's inline stamp moves into route_policy_fields (1.5.5 maybe_attach_route_policy_gated); the outer gate is a process-wide OnceLock no test may set, so without the seam the enabled arms cannot be pinned. Behaviour unchanged.
  • row 75 (signed half): src/engine/tests/auth_style_tests.rs::test_host_from_base_backslash_authority_matches_wire_host -> plane_driver/tests/far_end_tests.rs, same name. RED before the fix: the far end's split read https://evil.example.com\@victim.example/path as the authority evil.example.com\@victim.example (the auth call signs it) while the dialler's WHATWG reader dials evil.example.com. Fix (far_end.rs join): a web base URL's \ is folded to / before anything reads it, as v1.5.5 host_from_base did (crates/busbar/src/proxy/egress.rs:18, test crates/busbar/src/proxy/tests/auth_style_tests.rs:116). The dialled half is in lane-f25-kernel-rehome-2 (net_tests.rs).

FILES HELD BY OPEN PRs (DRAFT until the coordinator sequences it): plane_driver/route.rs (#840, #778, #787; #840's hunk at l.1165 sits next to this one at l.1184), plane_driver/far_end.rs (#840, #847, #837, #778, #561, #787; no hunk near join at l.593).

…trix and the signed host under a backslash base URL

Rows 630-633: the pump's route-policy transparency fields move into route_policy_fields (route.rs),
1.5.5's maybe_attach_route_policy_gated, so the outer (operator opt-in, a process-wide OnceLock)
and inner (a non-default policy chose) gates are pinned over all four combinations without
setting the process gate; behaviour unchanged.

Row 75 (signed half): the far end's join folds a web base URL's backslash to a slash before
anything reads it, as the dialler's WHATWG reader does and as v1.5.5 host_from_base did
(crates/busbar/src/proxy/egress.rs:18). Before, https://evil.example.com\@victim.example signed
the authority evil.example.com\@victim.example while the connection dialled evil.example.com.
…ar of the open PRs that append to far_end_tests.rs and route_tests.rs
@MattJackson
MattJackson marked this pull request as ready for review October 15, 2026 03:07
MattJackson added a commit that referenced this pull request Oct 15, 2026
…nel rehome holds a twin of each

F25's kernel rehome (#896/#900/#905) ported legacy busbar-llm engine tests into the kernel
under the same fn names, so each bare ref in PB-3/4/5/8/27/55/57/73 is declared in two files
and settles nothing. Each cites the busbar-llm test it was curated against as path.rs::name,
the form PB-5 already uses.
@MattJackson
MattJackson merged commit 483f2d9 into predev Oct 15, 2026
1 check was pending
@MattJackson
MattJackson deleted the lane-f25-kernel-rehome-4 branch October 15, 2026 05:33
MattJackson added a commit that referenced this pull request Oct 15, 2026
…ased breaker port; the root rigs on the shared plane handle; law0 back at its row

From ModernCI's full logs at 5ad45bf:
- busbar-kernel walk_tests / probe_unit_tests (F25 rehome #905/#896): their private breaker
  adapters classify as the root's BreakerAdapter now does (the transport's fault reading, no
  number: busbar_kernel_breaker::port::UpstreamStatus { reading }), the four frame_with_upstream
  calls state their fault and retry_after, the head of answer() carries its class's fault
  reading as harness::frame does, and route_async answers Pick::Refused as the harness does
  (E0432/E0425/E0560/E0061/E0004).
- busbar root: compose_planes takes the shared Arc<Plugin<Plane>> (#986) in the session door
  rig and the a2a root cells; DoorReach states catalog in door_steps' own_reach and the a2a
  root cells (E0308/E0063).
- clippy: config_validate_cross_plane uses contains.
- kind-isolation:law0 busbar x plane 626 vs 620: the perf test's fixture and the test-linked
  comment named planes (+6); renamed fixtures/perf_mock_provider.yaml and reworded.
- linked-dropped-features: its four transport-http tokio rows are STALE (drained), struck.
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