The hand-over tests take their later versions from VERSION, so a release is the version bump alone #189
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "task/3782-releasing-0-3-6-breaks-the-hand-over-tes"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tracker: #3782
The hand-over tests (
tests/runner_handover.sx,tests/runner_launchd.sx,tests/runner_view.sx) install a runner atVERSIONand serve builds at other versions to update to. Those versions were hard-coded release numbers (LATER,UNSTARTED,UNCONNECTEDintests/support/handover.sx,MISLABELLEDintests/runner_handover.sx), so every release that reached one of them failed its ownfullgate until a test file was edited too. 0.3.6 through 0.3.10 each moved them by hand, and 0.3.8's firstfullfailed on the one it missed.release_after(n)intests/support/handover.sxgives thenth release afterVERSION, its last number raised byn, computed when the test compiles.LATER,UNSTARTED,UNCONNECTEDandMISLABELLEDare its 1st to 4th, so none equalsVERSIONor another, whatever number a release reaches.Regression
Each arm is a
git archiveof the commit withsrc/version.sxbumped as a release bumps it,dist/sak-runneranddist/sak-runner-livebuilt there, thenbash tests/run.sh tests/runner_handover.sx tests/runner_launchd.sx tests/runner_view.sx(m5, sx af8455c3).f42d8e30withVERSION :: "0.3.11"(master'sLATER):RUNNER HANDOVER FAIL (24 checks), among them "next names b", "the new process's take of next" and "an old runner that finds next taken at the bound does not roll back, and leaves";RUNNER LAUNCHD FAIL (10 checks), from "a to b: the new runner registers its version and takes next";RUNNER VIEW FAIL (1 checks), "Flows shows the update waiting for the steps running".VERSION :: "0.3.11": runner_handover, runner_launchd and runner_view all OK.VERSION :: "0.3.12"(master'sUNSTARTEDandMISLABELLED): all three OK.Gates
At
e19ab227:fastpassed (gate run 897) andfullpassed (gate run 900), its tests loop running runner_handover, runner_launchd and runner_view atVERSION0.3.10.