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
Linux: reflex run with REFLEX_USE_NPM=1 is still alive 30 s after SIGTERM, with a defunct npm run dev and an orphaned node dev server #7485
Severity: MEDIUM, pre-existing on Linux (0.9.12, 0.10.0a1, 0.10.0a2; 3/3 runs each). Residual of #6980 / #6981 / #7266 for the npm path; bun exits cleanly. On macOS arm64 (npm 11.19, Node 26.8) a1 and a2 exit cleanly in <0.3 s while 0.9.12 still hangs, so the remaining Linux failure is process-topology specific (npm → intermediate shell → node, the shell dies, node is orphaned).
Repro: reverify_db_install and thirdparty_a2 clusters (logs/f007-summary.txt): start REFLEX_USE_NPM=1 reflex run in a non-TTY process group, send SIGTERM to the CLI only, wait 30 s, list the group — the CLI, a defunct npm run dev and a listening node process remain. The frontend stop in reflex/reflex.py ~L466-472 terminates the direct child only; killing the process group (or using start_new_session + os.killpg) for the npm path would match bun.
Evidence: findings F-007 (10-06) and the 10-07 re-verification row in FINDINGS.md; macOS results in macos_lifecycle/.
Activity
linear-code commentedon Oct 7, 2026
ENG-13153
Give reflex run one owner for shutdown (reflex-dev#7650)