myxce/src/tools
Rongsong Shen a7d64c8225
test(dirty-content-fingerprint): add dev-loop distinguishability regression
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>
2026-08-21 09:56:12 +00:00
..
appimage save works 2026-03-04 18:18:53 +08:00
deploy-ha.sh feat(xce-deploy-ha): support real xcecd worker deployment alongside virtual 2026-08-19 09:48:53 +00:00
go_build feat(dirty-content-fingerprint): go_build injects fingerprint via ldflags 2026-08-21 06:06:05 +00:00
test-build-version-regression.sh test(build-time-versioning): add motivating-incident regression script 2026-08-20 15:14:21 +00:00
test-commit-durability.sh feat(admin-config-tool): drop ha/data/ entirely, match real client TLS 2026-07-22 14:50:51 +00:00
test-dirty-fingerprint-distinguishability.sh test(dirty-content-fingerprint): add dev-loop distinguishability regression 2026-08-21 09:56:12 +00:00
test-heartbeat-tolerance.sh feat(admin-config-tool): drop ha/data/ entirely, match real client TLS 2026-07-22 14:50:51 +00:00
test-version-startup-consistency.sh test(build-time-versioning): add version/startup-log consistency check 2026-08-20 16:38:37 +00:00
test-xceadmin-build-install-version.sh test(build-time-versioning): add xceadmin end-to-end build/install/version cycle check 2026-08-20 17:02:01 +00:00
xce-build.sh feat(dirty-content-fingerprint): xce-build.sh computes dev-loop fingerprint 2026-08-21 04:34:00 +00:00