You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[platform] bats-core after #253 fix: entry chain passes bats_readlinkf, blocks next at gather-tests Windows path-form mixing (D:\ backslash args from env-spawned children; host TMPDIR C:\ form) #259
Found by: wt5/omb lane, #253 follow-up. With exported functions now materialized into the OS env (#253 fix: internal env emulation + spawn path), the bats-core entry chain (bin/bats @ 52439ebf, LF-forced copy) gets past the original bats_readlinkf: command not found blocker: the exported function reaches the exec'd env child and libexec bats runs.
Next blocker (environment-bound per AGENTS WinuxCmd handling — classify before fixing):
libexec/bats-core/bats-gather-tests: line 12:
C:/Users/ADMINI~1/AppData/Local/Temp/bats-run-X/1-D:\repo\...\load.bats.src: Invalid argument
The TEST FILENAME argument arrives at bats-gather-tests in Windows backslash form (D:\repo\...\load.bats), so ${BATS_TEST_FILENAME##*/} keeps the whole path and the $N-.src temp name embeds a drive colon → invalid filename on Windows.
$BATS_RUN_TMPDIR comes from mktemp -d "${TMPDIR:-/tmp}/bats-run-XXXXXX"; host TMPDIR is C:\Users... (Windows form) and Git's mktemp.exe maps /tmp to %TEMP% as well.
GNU reference (WSL, same LF-forced copy): load 26 ok / tagging 10 ok / filter 6 ok, rc 0 — the 3-file slice target.
Probable loss points (not yet root-caused): the rubash-internal env emulation spawning script children may hand them Windows-form argv/PWD (PWD inherited in D:\ form would explain expand_path keeping backslashes), and external mktemp/readlink returning Windows-form paths. Split: whatever is rubash's own spawn argv/PWD normalization is rubash-caused; Git/WinuxCmd tool outputs are environment-bound.
Artifacts: /tmp/bats-*.rb2.out, gather-args.log evidence in the wt5/omb worktree session; harness: target/issue-suites/results/wt5-omb/issue-probes/.
Activity
omb/modernish/bats ecosystem fixes: #251 omb interactive brace cascade,
shell2 lane: #256 #257 #258 #259 #273 — loop-test break/continue, BAN…
caomengxuan666 commentedon Sep 28, 2026
已修复并合入 master(commit 2c126128/d1e598e0,lane wt6/shell2;验证:modernish .t 166/166 rc 向量满分(原 159/164)、bats filter.bats 全平价 6/6、#273 大小写修完零快照漂移、regression 24/24)。后续边界已开单跟踪。感谢报告!