argos
argos copied to clipboard
Allow to re-upload a chunk of a build
On GitHub Actions you can restart only one test that is failing, when we reupload the chunk on Argos it should handle it.
It is very hard since screenshots are already compared in this step.
First we need to collect informations:
- retry number
- build id
- batch id
Then with these informations, when we receive a retry we can create a build from the parents. It means taking batches we didn't receive.
Additional thinking:
To make it work we have to get all information on a batch and to ask GitHub to know what are the "pending" builds. It's the only way to make it works 100%.
Just wanted to say that this feature would be very helpfull, as our team is using the re-try feature in github actions all the time 😅
Unfortunately the GitHub Actions API does not give us enough information to build that feature.
We can't determine what jobs correspond to a specific shard, it means we can't determine what jobs are actually retried and have to be awaited.
Finally found a way to do it!
@alexbjorlig it's now supported. Be sure to set PARALLEL_INDEX
(if you use Playwright reporter it's automatic) and to upgrade your SDK to the latest version.