[GH-ISSUE #7084] [Bug] fork with silent: true is reported as inherited stdio #4269

Closed
opened 2026-10-31 00:48:20 +00:00 by bsakaguchi · 0 comments
Owner

Originally created by @Adolanium on GitHub (Oct 25, 2026).
Original GitHub issue: https://github.com/morluto/rea/issues/7084

Before submitting

  • I searched the open and closed issues for a related report.
  • I removed credentials, tokens, private paths, and sensitive target data.

Area

Native analysis or decompilation

Observed behavior

analyze_javascript_application reports fork("worker.js", { silent: true }) with child-process stdio_mode: "default" (inherited streams). Node pipes the child's stdin, stdout and stderr to the parent when silent is true.

Reproduction

Ran on Linux (WSL Ubuntu, Node 24.22.1) at upstream/main 0a2b7af90, through the JavaScript semantic analysis in a test on import { fork } from "node:child_process"; fork("piped.js", { silent: true });: stdioMode is default.

Expected behavior

stdio_mode is pipe, as Node's fork documents for silent: true.

Impact and scope

Analysts reading the child-process graph see a worker's output as going to the terminal when it is actually captured by the parent.

REA version

6.7.0, revision 0a2b7af90

Runtime and platform

Linux (WSL Ubuntu), Node 24.22.1

Target and artifact context

Inline JavaScript source in a test; no real application.

Interface

MCP

Earliest failure stage

Native analysis or reconstruction

Relevant output or evidence

Root cause and fix are in #7083, with the regression test.

Typed outcome or recovery expected

No new error.

Analysis or suspected cause

Root cause and fix are in #7083.

Additional context

Fixed by #7083.

Originally created by @Adolanium on GitHub (Oct 25, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/7084 ### Before submitting - [x] I searched the open and closed issues for a related report. - [x] I removed credentials, tokens, private paths, and sensitive target data. ### Area Native analysis or decompilation ### Observed behavior `analyze_javascript_application` reports `fork("worker.js", { silent: true })` with child-process `stdio_mode: "default"` (inherited streams). Node pipes the child's stdin, stdout and stderr to the parent when `silent` is true. ### Reproduction Ran on Linux (WSL Ubuntu, Node 24.22.1) at upstream/main 0a2b7af90, through the JavaScript semantic analysis in a test on `import { fork } from "node:child_process"; fork("piped.js", { silent: true });`: `stdioMode` is `default`. ### Expected behavior `stdio_mode` is `pipe`, as Node's `fork` documents for `silent: true`. ### Impact and scope Analysts reading the child-process graph see a worker's output as going to the terminal when it is actually captured by the parent. ### REA version 6.7.0, revision `0a2b7af90` ### Runtime and platform Linux (WSL Ubuntu), Node 24.22.1 ### Target and artifact context Inline JavaScript source in a test; no real application. ### Interface MCP ### Earliest failure stage Native analysis or reconstruction ### Relevant output or evidence Root cause and fix are in #7083, with the regression test. ### Typed outcome or recovery expected No new error. ### Analysis or suspected cause Root cause and fix are in #7083. ### Additional context Fixed by #7083.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#4269
No description provided.