fix: Add is_finished and align is_empty semantics in ApifyRequestQueueClient#1008
fix: Add is_finished and align is_empty semantics in ApifyRequestQueueClient#1008Mantisus wants to merge 5 commits into
is_finished and align is_empty semantics in ApifyRequestQueueClient#1008Conversation
vdusek
left a comment
There was a problem hiding this comment.
Could we also use a fix here please? Same reason as explained here apify/crawlee-python#1982 (review)
Claude suggests one of these:
- fix: prevent RQ softlock by correcting is_empty in ApifyRequestQueueClient
- fix: add is_finished and align is_empty semantics in ApifyRequestQueueClient
I am ok with both of them
is_finished method in the ApifyStorageClientis_finished and align is_empty semantics in ApifyRequestQueueClient
vdusek
left a comment
There was a problem hiding this comment.
Let's get back to this, once Crawlee 1.8.0 is released.
vdusek
left a comment
There was a problem hiding this comment.
Do I understand correctly that this requires a new version of Crawlee?
If yes, then this would be a breaking change on our side, and we'd need to bump the lower version boundary. Is there a way to make this non-breaking so we don't have to bump it?
I added a small workaround. This will allow us to maintain compatibility until we're ready to bump the Crawlee version. |
Description
Add
is_finishedand alignis_emptysemantics inApifyRequestQueueClientCloses: #987
Follow-up: apify/crawlee-python#1982