myxce/.kiro/specs/build-time-versioning
Rongsong Shen 084a5a95c3
test(build-time-versioning): add xceadmin end-to-end build/install/version cycle check
Adds src/tools/test-xceadmin-build-install-version.sh (same house style as
tasks 6.1/6.2), which runs xceadmin's full real meson-driven build cycle
(schema sync, venv install, pytest, wheel build), installs the resulting
wheel into a fresh scratch venv, and separately does an editable install
into a second fresh scratch venv. Asserts the wheel install carries real,
non-"unknown" commit id and build time while the editable install carries
the committed "unknown"/"unknown" fallback stub, and explicitly asserts
the two differ -- proving the generated build-info module genuinely
replaces the fallback rather than both installs coincidentally agreeing.

Verified independently by review with a full from-scratch re-run: 261
passed/3 skipped (matching tasks 5.1/5.2's established baseline), both
install paths correct, and the demonstration block's crux case (identical
build-info values must be rejected by the differ-check) confirmed correct.

This is the final task of the build-time-versioning spec; all 13 sub-tasks
are now complete.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-20 17:02:01 +00:00
..
design.md feat(build-time-versioning): xcecli --version via Cobra rootCmd.Version 2026-08-20 14:07:38 +00:00
requirements.md docs(build-time-versioning): add spec (requirements, design, research) 2026-08-20 08:29:57 +00:00
research.md feat(build-time-versioning): nix packages compute build time at build phase 2026-08-20 09:32:34 +00:00
spec.json docs(build-time-versioning): add spec (requirements, design, research) 2026-08-20 08:29:57 +00:00
tasks.md test(build-time-versioning): add xceadmin end-to-end build/install/version cycle check 2026-08-20 17:02:01 +00:00