Skip to content

Conversation

@0saurabh0
Copy link
Contributor

preExit() is NOT awaited before process.exit(1).

This means when the 45-minute timeout fires, the process exits immediately without waiting for:

  • SDK cache to be saved to R2 storage
  • Any in-flight database writes to complete

This can cause data loss - cached adapter responses and computation results are lost, forcing re-computation on next run.

@0saurabh0
Copy link
Contributor Author

@g1nt0ki, can you have a look here
Thanks

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.

1 participant