Skip to content

docs: explain what diff does not see and how to catch it in CI - #110

Open
ManuelGerding wants to merge 1 commit into
mainfrom
docs/gitops-drift-limits
Open

ManuelGerding wants to merge 1 commit into
mainfrom
docs/gitops-drift-limits

Conversation

@ManuelGerding

Copy link
Copy Markdown
Member

steadybit diff starts from the files, so it misses what exists only on the platform: an experiment created in the UI, or one whose file was removed from the directory (apply creates and updates but doesn't delete). A customer using Git as the source of truth asked about exactly this.

This adds a short paragraph to the GitOps section with a CI check that catches both: export into the repository and fail when Git sees new files.

Verified on a dev tenant (team ADM, 301 experiments) with the CLI built from main:

Case diff export + git status --porcelain
Baseline exit 0 clean
Experiment created only on the platform exit 0 (missed) ?? adm-420.yaml
File removed from the repo, experiment still on the platform — ?? adm-11.yaml
Experiment deleted on the platform, file still in the repo exit 2, "would create a new experiment" — (export never removes files)

The test experiment was deleted afterwards.

🤖 Generated with Claude Code

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant