Versioning and rollback
Everything you configure in Flux is versioned: pipelines, connections, schedules, trigger rules, calendars, compute profiles and the connector catalog. Saving never overwrites. It adds a new version.
Latest and active
Section titled “Latest and active”Each item has two pointers:
- Latest: the newest version you saved.
- Active: the version Flux actually uses when a schedule, trigger or API call runs it.
When you save, the new version becomes latest, and active stays where it was. That lets you save work in progress without changing what runs in production. Choose Save and activate when you want both at once.
The first version of a new item becomes active straight away, so it is usable immediately.
Activate a version
Section titled “Activate a version”Open the item’s History panel, pick a version and choose Activate. The change is immediate: the next run uses that version. Runs already in progress keep the version they started with.
Roll back
Section titled “Roll back”Roll back re-activates the version that was active before the current one. You can also roll back to any specific version. Rolling back doesn’t delete anything or create a new version. It only moves the active pointer, and it’s recorded in the history.
Compare versions
Section titled “Compare versions”Compare shows what changed between two versions (by default, active against latest). Secret values in connections are never shown, only whether they changed.
Saving the same thing twice
Section titled “Saving the same thing twice”If you save a body that is identical to the latest version, Flux doesn’t create a new version.
# save a new version and activate itcurl -X POST https://flux.nasterra.com/api/config/pipeline/monthly-revenue/versions \ -H "Authorization: Bearer $FLUX_TOKEN" -H "Content-Type: application/json" \ -d '{"body": {...}, "message": "exclude cancelled orders", "activate": true}'
# roll back to the previously active versioncurl -X POST https://flux.nasterra.com/api/config/pipeline/monthly-revenue/rollback \ -H "Authorization: Bearer $FLUX_TOKEN" -H "Content-Type: application/json" -d '{}'See the configuration API reference for every endpoint.