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
A reject followed by another move stops every sentinel run with HEALTH_SCAN_STALE #47
A reject followed at once by another move (here an escalate 7 ms later) leaves a REWORK_UNCLAIMED finding that the coordinator's return check never accepts. Every sentinel run then refuses with HEALTH_SCAN_STALE before any sentinel runs, so shipping, pruning and backups stop until the item changes.
rows:
- H16
- B13env: "Node 26, Ubuntu 26.04 VM, one board with about 40 seats and a sentinel run every 10 minutes"version: "0.9.5"ran: "pullboard sentinel run as the coordinator, after a reviewer rejected an item and it was escalated 7 ms later"cause: "scanHealthSentinel() (packages/sentinels/src/io/findings.js:50) calls rejectedWorkReturns() during the scan. In packages/state/src/logic/returns.js it requires the item's last move to be the reject. Here the last move is the escalate, but the finding still dates from the reject, so it throws HEALTH_SCAN_STALE. The scan call is at packages/sentinels/src/io/command.js:115, outside the try at :119 that absorbs HEALTH_SCAN_STALE, and nothing on a rescan changes the outcome."blocks: "every sentinel on the board, including shipping, worktree cleanup and backups; on one board no sentinel ran for 11 hours and 13 landings stayed unshipped"compat:
- A reject whose finding is truly stale is still not returned to the queue.
- A reject followed only by the reviewer's own verdict move is still returned as before.bar:
- 1: a scan where one rejected item's last move is not its reject skips that item and still runs every due sentinel [test]
- 2: that item is not returned to the queue while its last move is not the reject [test]check:
- 1: packages/sentinels/tests/io/command.test.js > a reject followed by an escalate does not stop sentinels
- 2: packages/state/tests/logic/returns.test.js > a reject followed by another move is not returnederror: | pullboard: [HEALTH_SCAN_STALE] the rejected work changed during its scan; run pullboard sentinel run again
Activity
coreyolson commentedon Dec 4, 2026
Fixed on main and shipping in 0.9.6. A reject followed by another move no longer stops sentinel runs with HEALTH_SCAN_STALE. Thanks again, @edkog!