Skip to content

refactor(kernel-routing): Extract phase-1 routing helper leaf#1230

Merged
leumor merged 1 commit intodevelopfrom
feature/kernel-routing-phase1
Apr 3, 2026
Merged

refactor(kernel-routing): Extract phase-1 routing helper leaf#1230
leumor merged 1 commit intodevelopfrom
feature/kernel-routing-phase1

Conversation

@leumor
Copy link
Copy Markdown
Collaborator

@leumor leumor commented Apr 3, 2026

Summary

  • add the new :kernel-routing leaf module and wire it into the root build plus direct adapter/runtime consumers
  • move the compile-neutral routing/helper slice out of :runtime-node: BaseRequestThrottle, BlockedTooLongException, HighHtlAware, InsertRoutingOptions, LowLevelGetException, LowLevelPutException, NullSendableRequestItem, OpennetDisabledException, PeerStatusCounts, PeerTooOldException, RecentlyFailedReturn, RequestClient, RequestClientBuilder, RequestCompletionListener, RequestTransferOptions, SecurityLevelListener, SendableRequestItem, and SendableRequestItemKey
  • narrow owned-output metadata, document :kernel-routing honestly as a phase-1 helper leaf, and add KernelRoutingBoundaryTest to freeze the boundary

Scope notes

  • this intentionally leaves the still-cyclic request sender/handler/tracker stack, peer implementations, and transport-facing routing/runtime classes in :runtime-node
  • :kernel-routing stays free of :runtime-node, adapters, root composition classes, and obvious runtime-owned node execution imports

How to test

  • ./gradlew verifySelectiveLeafOwnershipMetadata :kernel-routing:compileJava :runtime-node:compileJava :adapter-fcp:compileJava :adapter-http-legacy-admin:compileJava test --tests '*KernelRoutingBoundaryTest'

Add the new :kernel-routing leaf module and move the compile-neutral routing helper slice out of :runtime-node.

Update ownership metadata, direct dependencies, boundary documentation, and the filesystem-based routing boundary test so the partial extraction is enforced without introducing runtime-node cycles.
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Apr 3, 2026

@leumor leumor merged commit 717d693 into develop Apr 3, 2026
8 checks passed
@leumor leumor deleted the feature/kernel-routing-phase1 branch April 3, 2026 04:44
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