Skip to content
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

fix(core): Account for cancelling an execution with no workers available #10343

Merged
merged 2 commits into from
Aug 12, 2024

Conversation

ivov
Copy link
Contributor

@ivov ivov commented Aug 9, 2024

@n8n-assistant n8n-assistant bot added core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team labels Aug 9, 2024
Copy link
Contributor

✅ All Cypress E2E specs passed

Copy link

cypress bot commented Aug 12, 2024



Test summary

395 0 0 0Flakiness 0


Run details

Project n8n
Status Passed
Commit 268b381
Started Aug 12, 2024 8:57 AM
Ended Aug 12, 2024 9:02 AM
Duration 04:38 💡
OS Linux Debian -
Browser Electron 118

View run in Cypress Cloud ➡️


This comment has been generated by cypress-bot as a result of this project's GitHub integration settings. You can manage this integration in this project's settings in the Cypress Cloud

@ivov ivov merged commit b044e78 into master Aug 12, 2024
27 checks passed
@ivov ivov deleted the pay-1813-cancelling-an-enqueued-execution-errors-out branch August 12, 2024 09:03
return await this.queue.getJobs(statuses);
const jobs = await this.queue.getJobs(statuses);

return jobs.filter((job) => job !== null);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In what case can the Job be null? A comment would be in order since according to the function types it should never return a null

@github-actions github-actions bot mentioned this pull request Aug 14, 2024
@janober
Copy link
Member

janober commented Aug 15, 2024

Got released with n8n@1.55.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Enhancement outside /nodes-base and /editor-ui n8n team Authored by the n8n team Released
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants