Repository navigation
Claude / Claude Code Review
completed
Jul 8, 2026 in 22m 46s
Code review found 1 important issue
Found 1 candidates, confirmed 1. See review comments for details.
Details
| Severity | Count |
|---|---|
| 🔴 Important | 1 |
| 🟡 Nit | 0 |
| 🟣 Pre-existing | 0 |
| Severity | File:Line | Issue |
|---|---|---|
| 🔴 Important | src/jsc/bindings/BunProcess.cpp:1156-1164 |
SIGUNUSED missing from signal name maps on musl — new test fails and process.kill/on still reject the name |
Annotations
Check failure on line 1164 in src/jsc/bindings/BunProcess.cpp
claude / Claude Code Review
SIGUNUSED missing from signal name maps on musl — new test fails and process.kill/on still reject the name
On musl builds, `os.constants.signals` also contains `SIGUNUSED` (musl's `<bits/signal.h>` has `#define SIGUNUSED SIGSYS`, and `ProcessBindingConstants.cpp:583` adds it under `#ifdef SIGUNUSED`), but there's no matching entry here — so the new *"process.kill accepts every signal name in os.constants.signals"* test will fail on the Alpine CI lanes with `[['SIGUNUSED','ERR_UNKNOWN_SIGNAL']]`, and `process.on('SIGUNUSED', fn)` still has the same listener-attached-but-no-sigaction hazard this PR fix
Loading