Commits
Tarun Sukhani authored a26f2ed5648
chore: gate /deploy slash command on ant test passing
The /deploy command previously ran ant package (build only), which never
exercised the test suite. That meant a release could ship even with broken
unit / integration / cli tests. v1.12.28 happened to be tested because
each PF ticket's implementation ran tests inline, but that's coincidence,
not a guarantee.
Insert a new step 2 ("Run the full test suite") between version bump and
build that runs `ant test` (the consolidated entrypoint defined in PF-80:
clean → jar → unittest → integration-test → cli-test). Fail-fast: if any
test fails, the deploy stops before any commit / push / tag / release —
broken main never becomes a release. The version bump from step 1 stays
local-only and is reversible at that point.
Trade-off acknowledged: ant test redoes clean+jar that ant package will
do again in step 3. ~5s of wasted work, but it keeps the targets
independently invocable, which is the more valuable property.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>