Skip to content

fix(coding-agent): avoid tsx launcher IPC - #321

Merged
Pepps233 merged 1 commit into
mainfrom
repair-diffex-test-launcher
Nov 8, 2026
Merged

Pepps233 merged 1 commit into
mainfrom
repair-diffex-test-launcher

Conversation

@Pepps233

@Pepps233 Pepps233 commented Nov 8, 2026

Copy link
Copy Markdown
Contributor

Summary

Start the source CLI without the tsx CLI's local IPC socket so the development launcher works in restricted environments.

Reasoning

The tsx CLI opens a local IPC socket before Diffex starts and fails with EPERM when socket creation is denied.
Node's tsx loader executes the same TypeScript entry point without that socket.
An absolute loader path and explicit tsconfig preserve launches from outside the repository.

Changes

  • Run the shell and PowerShell development launchers through Node's tsx loader.
  • Add a source launcher regression test for external working directories, argument forwarding, and --no-env handling.

Testing

  • node --test scripts/diffex-test.test.mjs passed.
  • npm run check passed.
  • bash -n scripts/diffex-test.sh and git diff --check passed.
  • diffex-test --version returned 0.4.1 from outside the repository after repairing the local PATH symlink.
  • Native Windows and interactive TUI execution were not available in this environment.

- Starts the source CLI where local IPC sockets are unavailable.
- Keeps development launchers usable from outside the repository.
@Pepps233 Pepps233 self-assigned this Nov 8, 2026
@Pepps233
Pepps233 merged commit 529c9da into main Nov 8, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant