Skip to content

Retry a failed job after a compatible fix

Publish a fixed workflow release, deploy it to the same cluster, and retry failed work without resubmitting the whole job.

When a workflow job fails because of a bug in task code, you can often fix the code, publish a compatible release, deploy it to the same cluster, and retry the failed job. Tilebox resumes from failed tasks instead of rerunning completed work.

A retry can use the fixed release when the failed task and the new task registration are compatible.

Keep these stable:

  • task identifier name
  • task major version
  • task input schema

Use a new major task version and submit a new job when the input schema or behavior is no longer compatible with the failed task.

After editing the workflow code, publish a new release.

Terminal window
tilebox workflow publish-release

For validation details, build locally first.

Terminal window
tilebox workflow build-release --debug

Deploy the fixed release to the same cluster that received the original job.

Terminal window
tilebox workflow deploy-release --latest --cluster workflow-dev

The job cluster, release deployment cluster, and release runner cluster must match.

Retry the failed job.

Terminal window
tilebox job retry <job-id>

Then inspect logs and spans to confirm the fixed task completed.

Terminal window
tilebox job logs <job-id>
tilebox job spans <job-id>