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(plugin-workflow): try to avoid occasionally duplicated executions #2196

Merged
merged 4 commits into from
Jul 7, 2023

Conversation

mytharcher
Copy link
Contributor

Description (Bug 描述)

Execution run duplicated occasionally.

Steps to reproduce (复现步骤)

Not reproduced.

Expected behavior (预期行为)

No duplicated executions.

Actual behavior (实际行为)

Duplicated.

Related issues (相关 issue)

None.

Reason (原因)

Need await to get one unexecuted execution, and on that moment once another dispatch() happens, will do same thing.

Solution (解决方案)

Change the executing flag logic.

@height
Copy link

height bot commented Jul 6, 2023

This pull request has been linked to 1 task:

  • T-503 已启用的工作流在未知情况下全部不再被触发 (unlink task)

💡Tip: Add "Close T-503" to the pull request title or description, to a commit message, or in a comment to mark this task as "Done" when the pull request is merged.

@mytharcher mytharcher merged commit 5078662 into main Jul 7, 2023
15 checks passed
@mytharcher mytharcher deleted the T-503 branch July 7, 2023 06:07
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.

None yet

1 participant