refactor (pool 4/N): group outbound WSMan request builders into requests.rs#28
Merged
irvingouj@Devolutions (irvingoujAtDevolution) merged 2 commits intoJun 23, 2026
Conversation
…n into host_call.rs Move the pure PipelineHostCall parsing and the needs-session-key classification out of pool.rs into a new private runspace_pool::host_call module (named to avoid collision with crate::host). Fragmentation-coupled send + the pending_host_calls queue stay in the pool. Behavior-preserving.
344aa97 to
ad6494d
Compare
ec8b445 to
95f4470
Compare
…equests.rs Split the eight outbound-request methods (fire_receive/disconnect/reconnect, kill_pipeline, invoke_spec, send_pipeline_host_response, send_runspace_pool_message, build_public_key_blob_base64) out of pool.rs into a sibling requests.rs via a split impl RunspacePool block. Collects all &self.connection (WsMan) usage in one place as groundwork for a future transport seam. pool.rs 2029 -> 1594 lines; behavior-identical.
95f4470 to
886d91f
Compare
9b007d6
into
master
3 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Stacked on #27. Fourth step of decomposing the
RunspacePoolgod-object.Splits the 8 outbound WSMan request-builder methods (
fire_receive/disconnect/reconnect,kill_pipeline,invoke_spec,send_pipeline_host_response,send_runspace_pool_message,build_public_key_blob_base64) out ofpool.rsinto a siblingrequests.rsvia a splitimpl RunspacePoolblock.&self.connection(WsMan) usage in one place — the concrete groundwork for a future transport seam (the eventualArc<WsMan>→trait Transportchange touches only this file).pool.rs2029 → 1594 lines; 3 private methods widened topub(super)(minimum for cross-module calls).Reviewed: Benoit-style pass (no actionable findings; minimal justified visibility) + Codex pass (
NO_ISSUES_FOUND).