You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Race condition when an existing artifact is being fetched right about when new files are added there #1235
Sometimes, when an artifact is being updated with new files, the artifact download fails because the API lists those new files as being a part of the artifact but the files themselves haven't yet been made available though the CDN.
The client iterates over the entries, expecting that the files are already downloadable, and crashes when it gets a 404.
See the additional context links to understand the code path that leads to this. But TL;DR — adding HttpCodes.NotFound to
Have a few sufficiently big CI matrixes depending on a job creating the initial artifact.
These matrixes should be downloading those artifacts and uploading new files there simultaneously.
You may need to do a number of restarts to hit a race condition when some of the steps that make additional files would add them close in time to the steps in other jobs making artifact downloads.
Expected behavior
Artifact file downloads should re-try on 404 Not Found.
I suggest writing to the GitHub's support and asking them to take a look. Or maybe submit a PR with the possible fix to start the discussion? It's infrequent enough that not many people complain, so I can see why they didn't prioritize fixing the annoying bug 🤷♂️
Hey @robherley, may I turn your attention to this bug? I think this is somewhat related to what the recent breaking changes in upload/download actions were attempting to solve, but is not actually fixed.
@bryanmacfarlane Could you acknowledge that the team knows about this issuw that is tightly connected with what's being reported in relation to the recent loss of stability visible post upgrading to the artifact upload/download actions?
Activity
zdgeorgiev commentedon Oct 11, 2023
Any update or workaround for this? Very frustrating..
webknjaz commentedon Oct 11, 2023
I suggest writing to the GitHub's support and asking them to take a look. Or maybe submit a PR with the possible fix to start the discussion? It's infrequent enough that not many people complain, so I can see why they didn't prioritize fixing the annoying bug 🤷♂️
Do not download all artifacts for flaky test detection
Do not download all artifacts for flaky test detection (#7320)
Do not download all artifacts for flaky test detection (#7320)
webknjaz commentedon Dec 19, 2023
Hey @robherley, may I turn your attention to this bug? I think this is somewhat related to what the recent breaking changes in upload/download actions were attempting to solve, but is not actually fixed.
webknjaz commentedon Jan 2, 2024
@bryanmacfarlane Could you acknowledge that the team knows about this issuw that is tightly connected with what's being reported in relation to the recent loss of stability visible post upgrading to the artifact upload/download actions?