telnyx-edge ship produces an immutable revision. telnyx-edge revisions list shows a function’s deploy history; telnyx-edge rollback retargets traffic to a previous revision without rebuilding or re-uploading anything.
Listing revisions
*.
Revision IDs are short identifiers like a1b2c3d — you pass one to rollback.
Rolling back
- The target must have reached
deploy_ok. A revision whose build or deploy failed never served traffic and can’t be rolled back to;revisions listshows each revision’s deploy status. - Rollback doesn’t touch your source. Your working tree and git history are unchanged. The next
shipdeploys whatever is on disk — as a new revision — regardless of which revision is currently active.
Rolling forward
To move forward again, eithership — every successful ship creates a new revision and moves traffic to it — or rollback to any other revision that reached deploy_ok.
Recovering a failed function
Rollback assumes the function has a healthy revision to return to. A function stuck in a terminal failure state (build_failed, deploy_failed, delete_failed) can instead be reset:
created state — preserving its ID, name, and config — so you can fix the code and ship again. A healthy function (build_ok/deploy_ok) can’t be reset; use delete-func if you want it gone.
Next Steps
- CI/CD — ship from a pipeline; rollback is your escape hatch
- Routes & Domains — the function URL always points at the active revision
- CLI reference —
ship,revisions,rollback, andreset-funcin full