[GH-ISSUE #638] Enrich shutdown-failure diagnostics without breaking exact-output assertions #299

Closed
opened 2026-10-15 18:23:37 +00:00 by bsakaguchi · 0 comments
Owner

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

Deferred from the silent-catch sweep (#637).

Location: src/main/shutdown.ts:32 — the shutdown-failure logging/exit-code chain swallows its cause.

Problem: binding and logging the cause would change stderr/log text that exact-output assertions pin. Enriching it needs either a contract decision that the text may change (plus test updates) or a side-channel (debug log) for the cause.

Ask: decide whether shutdown-failure text is contractual; if yes, log the cause at debug level, else interpolate and update assertions.

Originally created by @morluto on GitHub (Oct 5, 2026). Original GitHub issue: https://github.com/morluto/rea/issues/638 Deferred from the silent-catch sweep (#637). **Location:** `src/main/shutdown.ts:32` — the shutdown-failure logging/exit-code chain swallows its cause. **Problem:** binding and logging the cause would change stderr/log text that exact-output assertions pin. Enriching it needs either a contract decision that the text may change (plus test updates) or a side-channel (debug log) for the cause. **Ask:** decide whether shutdown-failure text is contractual; if yes, log the cause at debug level, else interpolate and update assertions.
bsakaguchi 2026-10-15 18:23:37 +00:00
  • closed this issue
  • added the
    P3: low
    label
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#299
No description provided.