fix: match WSL session list cwd casing - #1053
Conversation
f340123 to
ade811c
Compare
|
Rebased this PR onto current Validation on the refreshed branch:
I also ran the full |
Signed-off-by: Emre K <110906681+kocaemre@users.noreply.github.com>
ade811c to
9fa0b1f
Compare
|
Rebased this PR onto current No code changes beyond replaying the existing WSL cwd normalization commit on top of the current branch. Local verification in this cron environment: git diff --check origin/main..HEAD
# passed
npm run test:run -- src/tests/acp-agent.test.ts -t 'WSL|session list cwd casing|non-WSL cwd filters'
# passed: 2 tests, 493 skipped
npm run check
# passed: eslint src --ext .ts + prettier --check .
npm run build
# passed: tscI also tried the broader file-level suite: npm run test:run -- src/tests/acp-agent.test.tsIt ran 495 tests and passed 485 with 9 skipped, but timed out in the pre-existing broad-suite test DCO sign-off is preserved on the PR commit. |
Summary
/mnt/<drive>/...cwd filters before calling the Claude SDK session indexsession/listcoverage for the WSL drive-path caseFixes #1041
Verification
npm run test:run -- src/tests/acp-agent.test.ts -t 'session/list'npm run test:run -- src/tests/acp-agent.test.tsnpm run buildnpm run checkgit diff --checkI also ran
npm run test:run; it reached1044 passed, 27 skippedand failed only the two existing root-environmentresolvePermissionModeexpectations wherebypassPermissionsis downgraded todefaultwhen tests run as root.