-
Notifications
You must be signed in to change notification settings - Fork 22
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
Possible GitHub Pages update conflicts in multi-specs repos #58
Labels
bug
Something isn't working
Comments
I was hoping that |
tidoust
added a commit
to w3c/webcodecs
that referenced
this issue
Apr 30, 2021
One job runs for each of the 3 documents in the repository. Each of them updates the "gh-pages" branch. Problem is that these jobs are typically run in parallel, leading to "not up to date" issues when "git push" commands are run. For an example of such a problem, see: https://github.com/w3c/webcodecs/runs/2462176606 Also see discussion in: w3c/spec-prod#58 This update tells GitHub to serialize the jobs. Since the jobs are relatively independent otherwise, it also tells GitHub to run them to completion even when one of them fails.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
matrix
setting effectively duplicates the job. These jobs seem to run in parallel. This can create conflicts when they check out the GitHub Pages branch and try to update it at the same time.That typically happened with last commit to WebCodecs:
https://github.com/w3c/webcodecs/runs/2462176606
I see that there exists a
strategy.max-parallel
setting that can probably be set to1
to serialize the jobs. I don't know if there's a way to do that in spec-prod directly instead of requiring that setting to be set in the YML file.The text was updated successfully, but these errors were encountered: