Adds src/tools/test-dirty-fingerprint-distinguishability.sh, driving a real xce-build.sh scheduler cycle through the 4 required --version fingerprint states (clean/dirty-A/dirty-B-differs/reverted-A-matches). Uses a genuine isolated git worktree (git worktree add --detach at a unique mktemp -u path) to sidestep this actively-shared repo's ambient concurrent-editing noise -- all file edits confined strictly inside the isolated worktree, cleaned up via a trap registered before creation so it safely no-ops if creation never happened. Verified independently by review across two full live runs, including a deliberately sabotaged copy forcing edit-B to reproduce edit-A's content: the sabotaged run correctly failed with a clear message and exit 1, proving genuine discriminating power. git worktree list and the real repo's working tree confirmed byte-identical to baseline before and after every run. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| autoscaler | ||
| configs | ||
| controller | ||
| docs | ||
| frontend | ||
| include | ||
| lib | ||
| nixSupport | ||
| scheduler | ||
| schema | ||
| tools | ||
| worker | ||
| xceadmin | ||
| flake.lock | ||
| flake.nix | ||
| meson.build | ||
| meson.options | ||