[split] Main changes — from #21#38
Closed
pull-apart[bot] wants to merge 1 commit into
Closed
Conversation
This was referenced Jul 7, 2026
Open
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.
Automated split from #21.
Context
This is the main / behavior half of an automated split from #21.
Changes in this PR:
utilities/unittests/test_console.py: Addedsubprocess,pexpect,pytestimports._single_attempt_samplerhelper for mockingTimeoutSamplerbehavior in tests.test_console_disconnect_terminated_childto mock the new_procattribute instead ofchild.terminated.console_eof_samplertests to reflect changes in its signature and internal calls._spawn_consolecovering successful execution,subprocess.Popenfailure,fdspawnfailure, and cleanup on error._terminate_proccovering termination of running processes, already terminated processes, timeout scenarios, and no process.test_connect_error_cleanupto verify proper cleanup during connection failures.test_disconnect_calls_terminate_procto ensure process termination during disconnect.shlex.splitand adapting mock setups.How this split maps your changes
split-pr-21-1783449463-refactor): files classified as cleanup / mechanical work:utilities/console.pysplit-pr-21-1783449463-main): files classified as feature / behavior work:utilities/unittests/test_console.pyMerge order
Merge the refactor PR first if it touches shared files or would conflict with the main PR; then merge the main PR. Resolve conflicts in the usual way if both branches touch the same lines.
Refactor PR: #37