Skip to content

Conversation

@alexsch01
Copy link
Contributor

@alexsch01 alexsch01 commented Oct 24, 2025

Additional details

Steps to test

How has the user experience changed?

PR Tasks


Note

Suppress EPIPE errors from the config child process (e.g., after CTRL+C) and document it in the changelog.

  • IPC/Config Loading:
    • Update packages/data-context/src/data/ProjectConfigIpc.ts to ignore EPIPE in child process error handlers for loadConfig() and registerSetupIpcHandlers(), preventing noisy terminal errors after CTRL+C; add explicit NodeJS.ErrnoException typing.
  • Changelog:
    • Add bugfix entry noting suppression of EPIPE error after CTRL+C in cli/CHANGELOG.md.

Written by Cursor Bugbot for commit 068b85c. This will update automatically on new commits. Configure here.

@cypress-app-bot
Copy link
Collaborator

@jennifer-shehane
Copy link
Member

@alexsch01 Any thoughts on how to test this?

@alexsch01
Copy link
Contributor Author

@jennifer-shehane @AtofStryker
for manually testing this.....

send (event: string, ...args: any[]) {

   send (event: string, ...args: any[]) {
+    console.log(event)
+    Atomics.wait(new Int32Array(new SharedArrayBuffer(4)), 0, 0, 4000)
  • above adds an synchronous wait of 4000 ms to every event

run yarn cypress:run --project PROJECT_DIR

  • after you see an event such as loadConfig, do a CTRL-C with vs without this PR

cursor[bot]

This comment was marked as outdated.

cursor[bot]

This comment was marked as outdated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error: write EPIPE after CTRL+C in terminal

3 participants