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
Commit 6b37edc
Browse filesBrowse the repository at this point in the historyBrowse files
fix(glob, process_sub): structured refusal at start; keep a background job's FIFOs
CodeRabbit review on 8b7ff4f:
- expand_glob_continuing returned a raw grade::Exceeded when a resumed
usage was over a limit. word.rs passes on only GlobLimitExceeded, so
the refusal was taken as "no match" and the literal word was used.
Walker::new now returns GlobLimitExceeded (usage as given, at "."),
still before any read.
- A background job gets its process substitutions handed to a detached
thread that waits for each one without releasing it, then removes the
FIFO. The release from 9de7856 could end the writer or remove the FIFO
before the job opened it. When no job starts, the normal cleanup runs.
- A SIGPIPE end reported by sh as exit code 141 now counts as normal too.
Tests: the glob refusal test asserts the structured error; a late reader
gets a handed-off substitution's output (fails with the release); the
SIGPIPE rule covers the sh exit code. cargo test 921 passed, 0 failed,
14 ignored; fmt, clippy -D warnings and the fuzz check pass.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0136P7Zk179dJt4BhyPzDhFN
0 commit comments