Repository navigation
Conversation
This branch has not been deployed
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
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 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.
An error in the cleanup of a context pipeline middleware, the code after its
yield, now fails only that request. The crawler retries it and, once no retries are left, passes it to the failed request handler instead of ending the crawl. The results of the attempt are dropped, so the retry runs the request handler again, and the error doesn't mark the session as bad. In the built-in crawlers, this covers a failedresponse.aclose()and a failed copy of browser cookies into the session, for example after the browser crashed.The pipeline also runs the remaining cleanups after one fails, and a cleanup error no longer replaces an error or a cancellation that is already propagating. Such a cleanup error, like every cleanup error after the first one, is logged as a warning.
Part of #1739.
✍️ Drafted by Claude Code