-
Notifications
You must be signed in to change notification settings - Fork 6
fix: unhandled exceptions causing crash loops #893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…page, context or browser has been closed
…ne 116 Render.ts caused an issue for redirects since we were never catching them properly. This change ensures that if a redirection has occurred, we properly classify it as a redirection rather than a page closed error, which should fix the test failure.
dylantientcheu
approved these changes
Apr 6, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ tested, trusted & approved.
I added a last check for an issue with the request response.
algolia-bot
added a commit
that referenced
this pull request
Apr 7, 2025
## [2.3.5](v2.3.4...v2.3.5) (2025-04-07) ### Bug Fixes * unhandled exceptions causing crash loops ([#893](#893)) ([f85ba34](f85ba34))
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted
2D4E
lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Improved Error Handling in Task Execution:
Added Error Classification:
'page_closed_too_soon'
when they match patterns inRESPONSE_IGNORED_ERRORS
.Fixed Redirection Handling:
'page_closed_too_soon'
.API Route Improvements:
render.ts
andlogin.ts
to ensure that even if a redirection is in the retryable errors list, it still returns a 200 status code.task.error !== 'redirection'
to the status code determination.Error Propagation Control: