ci: avoid race in wordlist-ordered task - #1085
Merged
Merged
Conversation
mnencia
force-pushed
the
fix/wordlist-ordered-race
branch
from
August 27, 2026 12:19
69265fd to
65cf721
Compare
mnencia
force-pushed
the
fix/wordlist-ordered-race
branch
from
August 27, 2026 12:20
65cf721 to
3c5a058
Compare
fcanovai
approved these changes
Aug 27, 2026
NiccoloFei
approved these changes
Aug 27, 2026
The wordlist-ordered task is a dep of both spellcheck and uncommitted, which run in parallel. go-task only writes the checksum after a task's cmds finish, so both parents could start the task concurrently: the first mv succeeded and removed .wordlist.txt.new before the second mv ran, failing CI with "No such file or directory". Mark the task run: once so concurrent deps are deduped. Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>
mnencia
force-pushed
the
fix/wordlist-ordered-race
branch
from
August 27, 2026 12:39
3c5a058 to
a4b3542
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
wordlist-ordered is a dep of both spellcheck and uncommitted, which run in parallel. go-task only writes the checksum after a task's cmds finish, so both parents could start the task concurrently: the first mv succeeded and removed .wordlist.txt.new before the second mv ran, failing CI with "No such file or directory".
Mark the task run: once so concurrent deps are deduped.