What to do
Use the retained jobs where possible. Create another after a job expires. Cancellation does not extend or restart a job’s retention window.In the SDKs
The Node and Python SDKs raiseConflictError. The Go SDK returns *apierrors.ConflictError, which you match with errors.As.