Retry Failures While Run in Progress

CI/CD
Jul 22, 2025
Dan Manges
Retry Failures While Run in Progress

RWX has the best developer experience of any CI/CD platform for retrying failures. Unlike GitHub Actions, tasks that fail on RWX can be retried immediately, even while other tasks are still running.

Additionally, RWX executes at a more granular level than any other CI/CD platform. Tasks on RWX are equivalent to steps on other platforms.

On other platforms, if the third step in a job fails, the first two steps have to be re-executed. On RWX, each step is represented as an individual task, and the third step (for example) can be retried without having to re-execute the first two.

GitHub Actions Requires Canceling to Retry

GitHub Actions has the worst retry experience of any CI/CD platform. If one job fails, other running jobs have to be canceled to retry the job that failed.

The "re-run" button does not show up until clicking "cancel workflow." It's a shockingly bad limitation.

When a job fails, engineers have to decide if they want to stop everything to retry right away, or wait for the other jobs to finish before retrying the failure.

GitHub Actions Demo

RWX Demo

Code

GitHub Actions

.github/workflows/demo.yml
on:
push:
jobs:
will-succeed:
runs-on: ubuntu-24.04
steps:
- run: sleep 15
fails-fast:
runs-on: ubuntu-24.04
steps:
- run: exit 1

RWX

The RWX demo uses a clever trick to get the task to succeed on retry.

.rwx/demo.yml
base:
os: ubuntu 24.04
tag: 1.1
tasks:
- key: task-one
run: sleep 15
cache: false
- key: task-two
run: |
if [ "$ATTEMPT_NUMBER" = "1" ]; then
exit 1
fi
env:
ATTEMPT_NUMBER: ${{ task.attempt-number }}

Never miss an update

Get the latest releases and news about RWX and our ecosystem with our newsletter.

Share this post

Enjoyed this post? Pleas share it on your favorite social network!

Related posts

Read more on updates and advice from the RWX engineering team

See all posts
Proposal for a New Way to Build Container Images
CI/CD

Proposal for a New Way to Build Container Images

This is our proposal for a new approach for building container images that provides substantially faster builds with simplified configuration.

Jul 24, 2025
Read now
Sandboxing is the Key to Caching without False Positives
CI/CD

Sandboxing is the Key to Caching without False Positives

RWX is the only CI/CD platform that automatically caches everything. Cache keys are determined automatically, and tasks are sandboxed to prevent false positives.

Jul 23, 2025
Read now
ARM Architecture Now Available
CI/CD

ARM Architecture Now Available

We just shipped support for running Arm64 on RWX. Building Arm containers 10x faster without emulation.

Jul 21, 2025
Read now