Skip to content

tests: Windows siblings of #4934 -- strengthen split-then-format, wider bare-launcher guard (Part of #4939) - #5351

Merged
squid-protocol merged 1 commit into
mainfrom
churn/4939-20261017T1541Z
Oct 17, 2026
Merged

squid-protocol merged 1 commit into
mainfrom
churn/4939-20261017T1541Z

Conversation

@squid-protocol

Copy link
Copy Markdown
Owner

Part of #4939 (the issue's two table members landed in #4967; this closes the remaining same-mechanism siblings).

Class: POSIX-only calls reached on Windows

Member Status
bare "mvn" list argv in tests/tools done in #4967
equivalence_java POSIX shlex.split done in #4967 (split_argline)
strengthen.ask: .format() then POSIX shlex.split (strips backslashes, splits a path with a space) fixed here: split the template, then format each token; test with a a b\c work dir
guard blind spots: x = "mvn" bindings, subprocess.run("mvn ...") / f-string commands, run_decoded, files outside tests/tools fixed here: _bare_launcher_forms over all of tests/, with self-tests
test_no_jcl_batch_controller argv[0] shutil.which("mvn") (None when absent) now mvn_executable()

Sibling gaps

  • gitgalaxy/tools/cobol_to_java/batch_test_harness._MVN_BIN = shutil.which("mvn") or "mvn": resolved via which (correct), but at import time and not via the shared helper (the package cannot import tests/tools). No burned-estate program needs it.

Gates

pr_gates.py --fast 6/6; pytest on test_maven_exe_4939, test_strengthen_loop, test_java_subprocess_utf8: 100 passed. No engine/golden impact.

🤖 Generated with Claude Code

…ncher bindings and command strings (Part of #4939)

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@squid-protocol squid-protocol added the shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md label Oct 17, 2026
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol marked this pull request as ready for review October 17, 2026 15:48
@squid-protocol

Copy link
Copy Markdown
Owner Author

No description provided.

@squid-protocol
squid-protocol enabled auto-merge (squash) October 17, 2026 15:48
@squid-protocol
squid-protocol merged commit f6720cf into main Oct 17, 2026
43 checks passed
@squid-protocol
squid-protocol deleted the churn/4939-20261017T1541Z branch October 17, 2026 16:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

shepherd:merge Maintainer: merge when green (auto-merge, squash). Guide: docs/ci.md

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant