Repository navigation
WIP: Windows test-content layer — tool-identity stand-down for issue76_93 (root D-2) - #604
Merged
Merged
Conversation
…vability Root D-2 adjudication: on the GH windows runner, find resolves to C:\Windows\System32\find.exe (Microsoft FIND) and sort to System32 sort.exe; both 'resolve' under command -v, reject the GNU semantics, and starve the pipeline (count=0). The fixture now probes each tool's GNU behavior (plain top-level pipeline shapes) and stands down with the resolved path + probe evidence on stderr instead of asserting GNU expectations against a foreign namesake. GNU and GNU-semantics tools (Git usr\bin, winuxcmd links) pass the probes unchanged, so dev-machine coverage is preserved.
…ID walk alone Root D-1 adjudication: the gate's lone '4 distinct conhost PIDs' failure is an observation artifact. The counter unioned every conhost whose ppid chain reached the root PID; a conhost lingering from a dead niu whose PID was recycled as the new root satisfies that walk without ever being allocated by the observed session. Instrumented reruns (creation-time probe, 5 ms sampling) found 32/32 sessions — idle and under parallel gate load — with exactly one conhost, created 3-27 ms after the root niu, ppid = root, alive for the whole session; the gate itself passed 8 of 9 executions. No product change: run_and_observe_exe now only counts conhosts created at/after the root (unreadable timestamps keep the sighting, failing open). Visible-window offender attribution is unchanged.
Line endings are not identity: a Windows-native GNU-semantics tool may emit CRLF. Without normalization the sort probe could stand the tests down on a correctly-provisioned dev machine. Microsoft FIND still trips the find probe (0 lines counted).
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.
Root D fixes for the niubash Windows test-content layer (full adjudication: ~/workspace/niubash-ci-fix/D-REPORT.md; enumeration evidence in closed PR #601).
D-2 (this PR's original scope) —
issue76_93_find_pipeline_capturefailed deterministically on GH runners becausefindresolves toC:\Windows\System32\find.exe(Microsoft FIND) andsortto System32sort.exe: resolvable undercommand -vbut foreign. The fixture now probes each tool's GNU behavior (plain top-level pipelines) and stands down with the resolved path + probe evidence on stderr. GNU assertions unchanged wherever GNU/GNU-semantics tools are present.D-1 —
create_no_window_parent_reuses_caller_hidden_consoleflaked once (4 distinct conhost PIDs) in 9 executions. Instrumented adjudication (32 sessions, 5 ms sampling, idle + parallel load): exactly one conhost per session, created 3–27 ms after the root niu, ppid = root, alive all session — the product behavior is correct; the counter was attributing lingering conhosts via raw PID walks under PID recycling.run_and_observe_exenow counts only conhosts created at/after the root (fail-open on unreadable timestamps).Verified: run 40296914346 = 8/8 jobs green on this branch. The latest run (40298825503) is red only at
cargo fmt --checkoncrates/niubash-runtime/src/completion/column_menu.rs:128— fmt dirt that master tip 05bf4d0 brought in itself (master's own run 40298459970 is red there too); this PR's diff touches only the two test files. Re-run once master fmt is clean.