Skip to content

Refactor routing phases and bound subprocess output - #92

Merged
phieri merged 1 commit into
mainfrom
copilot/analyse-repository-for-refactoring
Oct 12, 2026
Merged

phieri merged 1 commit into
mainfrom
copilot/analyse-repository-for-refactoring

Conversation

Copilot AI commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Refactor transport and session routing updates into clearer phases, and cap captured subprocess output to prevent unbounded memory growth.

  • Transport: Separate snapshot validation, receiver demotion, source promotion, and readiness checks.
  • Session: Extract group reload, source selection, and route reconciliation.
  • Subprocesses: Limit stdout and stderr capture to 1 MiB each; continue draining pipes and return an error when a stream exceeds the limit.

@phieri
phieri marked this pull request as ready for review October 12, 2026 22:43
@phieri
phieri merged commit 03a19fb into main Oct 12, 2026
8 checks passed
@phieri
phieri deleted the copilot/analyse-repository-for-refactoring branch October 12, 2026 22:59
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.

2 participants