Skip to content
Workloom
Menu

CLI command · Drift and CI

wl sync

Reconcile or check the workspace against its desired state.

`wl sync --check` reports drift and makes no changes. `wl sync --ci` enforces the workspace’s CI policy and exits non-zero on drift or conflict, so a build fails when rendered config has drifted.

Exit code 4 means a conflict or a locally modified file blocks a clean sync.

Usage

wl sync [options]

Arguments and options

--check
Check for drift without making changes.
--ci
Enforce the workspace CI policy (implies --check).
--workspace <path>
Path to the workspace manifest.
--locked
Sync against the locked state only.
--registry
Fetch the desired state from the registry API.