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

Task component will now ignore starts of tasks which are already in #6315

Merged
merged 1 commit into from
Jan 18, 2024

Conversation

peterhudec
Copy link
Contributor

@peterhudec peterhudec commented Dec 1, 2023

Description of change

Changes the logic of starting a Task so that if when a task with the same name and id is already in progress, it will ignore requests to start the task again, as opposed to the current behavior when an 'Cannot start task "." because it is already in progress. Cancel it first!' error is thrown.

Test instructions

This change should not have any effect on the app's logic.

Checklist

  • Has the branch been rebased to main?
  • Automated tests (Any of the following when applicable: Unit, Functional or End-to-End)
  • Manual compatibility testing (Browsers: Chrome, Firefox, Edge, Safari)

@peterhudec peterhudec requested a review from a team as a code owner December 1, 2023 15:01
Copy link

cypress bot commented Dec 1, 2023

Passing run #50247 ↗︎

0 26 0 0 Flakiness 0

Details:

Task component will now ignore starts of tasks which are already in
Project: data-hub-frontend Commit: a3b8e17209
Status: Passed Duration: 02:00 💡
Started: Jan 17, 2024 2:33 PM Ended: Jan 17, 2024 2:35 PM

Review all test suite changes for PR #6315 ↗︎

@peterhudec peterhudec force-pushed the task-coponent-dont-throw-if-in-progress branch from 8efe5c0 to a3b8e17 Compare January 17, 2024 14:26
@peterhudec peterhudec merged commit 685f005 into main Jan 18, 2024
3 checks passed
@peterhudec peterhudec deleted the task-coponent-dont-throw-if-in-progress branch January 18, 2024 13:23
chopkinsmade pushed a commit that referenced this pull request Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants