-
Notifications
You must be signed in to change notification settings - Fork 14
fix: aborting of last Actor/task run #192
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
Conversation
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.
Pull request is neither linked to an issue or epic nor labeled as adhoc!
| # Changelog | ||
|
|
||
| ## [1.6.5](../../releases/tag/v1.6.5) - Not released yet | ||
| ## [1.7.0](../../releases/tag/v1.7.0) - Not released yet |
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.
why a feature release when you only have fixes in it?
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.
From PR description:
In the async version it results in
last_runmethod being async (should not be released as patch version).
So, since we are making additional requests, the last_run method must be made async. This change is technically breaking, although the original implementation was broken. Therefore, I have released it as a new minor version. This means it will not be updated automatically if you are using a tilde pin like apify-client~=1.6.0.
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.
Ok, then please mention it in the changelog too. I would still go with a patch release personally, especially since it was broken before anyway, but it's not a huge deal. I don't know how common it is to lock versions via ~, but I am quite sure people do not do that to get around breaking changes.
* master: chore: update dev deps (#227) chore: update dev deps and gh actions pipelines (#226) chore: Add Python Client examples [docs] (#191) Configure Renovate (#76) chore: bump version to 1.7.1 (#193) fix: aborting of last Actor/task run (#192) chore: Automatic docs theme update [skip ci] # Conflicts: # website/sidebars.js
Problem description
Aborting the last Actor run does not work
Aborting of the last task run does not work
Related issues
Solution
https://api.apify.com/v2/acts/{actorId}/runs/{runId}/abortin both cases.last_runmethod beingasync(should not be released as patch version).Testing