May 16th, 2024
New

What if you could run E2E tests on spot instances?
Spot Instances can reduce CI costs by up to 90% π€©
However, spot instances can be terminated at any time, which can cause the loss of the test results π
Currents Orchestration for Playwright automatically reassigns the tests from to-be-terminated spot instances to another CI machine.
@currents/playwright@1.3.0 introduces a new flag --pwc-reset-signal SIGUSR1|SIGUSR2.
After receiving an eviction / termination notifications from your cloud provider, you can send the POSIX signal to pwc-p process to reassign the affected tests to a different machine.
β no need to rerun the whole testing suite
β no loss of tests results
β enjoy the reduced cost of spot instances
β can be used for other scenarios - e.g. move tests to a different machine based on any event / condition.