Skip to main content
Use a dedicated managed credential with only the workspaces and tools required by the job. Supply it as FLEX_STUDIO_TOKEN through the runner’s secret store and set the full FLEX_STUDIO_URL.

Run an import with machine-readable results

Keep both output files outside ./assets. A successful run exits with 0. An invalid command, planning error, transfer failure or download failure exits with 1. Some groups can complete before a later failure. Import continues across per-group transfer failures, while a manifest or planning error can stop discovery of subsequent groups.

Read the output contract

Concurrent group records arrive in completion order. Match by stable group id, then use the final exit status to detect incomplete work. Top-level errors are written to stderr and can occur before any JSON record. For retries, keep the source files, group IDs, roles and destination stable. A repeat uses the same content-derived keys while the server retains the corresponding operation state. Inspect failed groups rather than assuming a failed process rolled back earlier successful uploads.