argos icon indicating copy to clipboard operation
argos copied to clipboard

Allow to re-upload a chunk of a build

Open gregberge opened this issue 11 months ago • 1 comments

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%.

gregberge avatar Feb 27 '24 16:02 gregberge

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 😅

alexbjorlig avatar Apr 12 '24 10:04 alexbjorlig

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.

gregberge avatar Jun 15 '24 20:06 gregberge

Finally found a way to do it!

gregberge avatar Jun 16 '24 10:06 gregberge

@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.

gregberge avatar Jun 16 '24 17:06 gregberge