Repository navigation
fix(vfs): run bashkit suites nightly on Windows and fix what they found - #2938
Merged
Merged
Conversation
Windows-only path bugs (#2425, #2933) are invisible to Linux CI and fuzzing. New windows-nightly workflow runs the bashkit lib, integration and proptest security suites on windows-latest; it also trial-runs on PRs that edit it. A proptest feeds random path-heavy scripts through testing::CheckedFs and fails on any host-separator path; named windows_containment_* so the PR Windows job runs it too.
- has_root() instead of is_absolute() for VFS paths; clippy bans is_absolute - EBADF on closed fd reports 'Bad file descriptor' on every host - custom_fs/grep tests build VFS paths with vfs_join - .gitattributes forces LF checkout (CRLF broke skill/workflow fixtures) - spec runner: skip_windows directive; ls backslash case is L-FS-005 - host-tool oracle and Unix process-harness tests ignored off unix
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
bashkit | 67f12e0 | Commit Preview URL Branch Preview URL |
Nov 18 2026, 08:16 PM |
chaliy
marked this pull request as ready for review
November 18, 2026 19:33
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
…-sx9opx # Conflicts: # knowledge/log.md
…-sx9opx # Conflicts: # knowledge/log.md
2 tasks done
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.
Requested by Михайло · project thread
What changed
Windows nightlyworkflow (daily 05:00 UTC, manual dispatch, and PRs that edit it) runs bashkit's lib, integration andproptest_securitysuites onwindows-latest. Not aCheckgate.mkdir -p,cd,find,cp -r,mv,ln -s,tar, redirects, ...) overa/b/c/./..paths run throughtesting::CheckedFs, asserting the backend never sees\.Path::is_absolute()is false for/etc/xon Windows. Theoutput_filecheck and a dozen builtins (cat, grep, rg, shuf, sqlite, test, path, textrev, git, python, ts, interpreter) now askhas_root(), and clippy bansis_absolutein the crate.Bad file descriptor.custom_fs_tests'MinimalFsand a grep security test built VFS paths withPathBuf::push..gitattributesforces LF checkout; CRLF broke skill, workflow and snapshot fixtures.bashis the WSL launcher) and the Unix child-process harness inthreat_model_testsare ignored off unix. Linux CI still runs all of them.### skip_windows: reason;lswith a\file name is skipped there and recorded as L-FS-005.Why
Follow-up to #2936 (#2933). Host-separator bugs can't show up on Linux CI or Linux fuzzing, since
/already is the Linux separator. PR CI keeps only targeted Windows filters for speed; this runs the rest of the code on Windows once a day.Before / After
Before: first Windows trial run, integration suite 89 failed.
After:
Windows full test suitegreen on a0ccf4c (lib 3196 pass; integration andproptest_securitypass). Linux: lib 3206 pass, integration 1924 pass.Risk
is_absolute→has_root(identical on unix) and a fixed EBADF message string.Checklist
Generated by Claude Code