Adds src/tools/test-build-version-regression.sh, a standalone script (same convention as test-commit-durability.sh/test-heartbeat-tolerance.sh) that runs real xce-build.sh scheduler builds in both asan and debug profiles, extracts the commit id from xce_scheduler --version, and fails loudly if it doesn't match a live git rev-parse --short HEAD (+ -dirty) -- the exact staleness this feature was built to make visible without forensic git commands. Tolerates xce-build.sh's own known-unrelated flaky test exit (bug-1560) via captured exit status rather than a blanket set -e bypass, so a genuine compile failure still fails the check. A built-in demonstration proves the comparison logic rejects a wrong hash, an empty commit id, and the literal "unknown" fallback. Verified independently by review with a full from- scratch re-run of both profiles. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| settings | ||
| specs | ||
| steering | ||