Skip to content

Keep overnight runs from dying silently on stray rejections - #147

Merged
DavertMik merged 2 commits into
mainfrom
fix/night-run-crash-visibility
Aug 28, 2026
Merged

Keep overnight runs from dying silently on stray rejections#147
DavertMik merged 2 commits into
mainfrom
fix/night-run-crash-visibility

Conversation

@DenysKuchma

Copy link
Copy Markdown
Collaborator

Summary

Nightly runs were dying mid-test after ~3.5 hours with no error anywhere. Telemetry flush fix proved the process just stops between steps. In Bun an unhandled promise rejection kills the whole process, which fits the evidence perfectly, so those are now logged loudly (full stack) and the run continues; an uncaught exception logs its stack, flushes telemetry and exits with code 1 instead of dying bare. If the killer turns out to be external (OOM/SIGKILL), the absence of any handler trace is itself the diagnosis.

@DenysKuchma
DenysKuchma requested a review from DavertMik August 27, 2026 10:25
@DavertMik
DavertMik merged commit 1172410 into main Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants