Skip to content

ci: halt a track instead of sending it an empty release list - #94

Merged
xroche merged 1 commit into
masterfrom
play-halt-track
Jul 30, 2026
Merged

ci: halt a track instead of sending it an empty release list#94
xroche merged 1 commit into
masterfrom
play-halt-track

Conversation

@xroche

@xroche xroche commented Jul 30, 2026

Copy link
Copy Markdown
Owner

An empty releases list does not stop a track serving. Play accepts the PUT, commits the edit, and carries on serving the old release: promoting vc89 to beta while "clearing" alpha left alpha still on vc86, and the run reported success. Flipping each live release to halted is what actually stops distribution, so --clear-track becomes --halt-track and does that.

The old behaviour is now a killed mutant rather than a comment: making halted() return an empty list fails the suite. Halting a track that already serves nothing aborts before any write.

An empty releases list does not stop a track serving. Play accepts the PUT,
commits the edit and keeps the old release: promoting vc89 to beta while
"clearing" alpha left alpha still serving vc86, with the run reporting success.
Flipping each live release to `halted` is what actually stops distribution, so
--clear-track becomes --halt-track and does that.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Xavier Roche <roche@httrack.com>
@xroche
xroche enabled auto-merge (squash) July 30, 2026 12:52
@xroche
xroche merged commit f38384d into master Jul 30, 2026
6 checks passed
@xroche
xroche deleted the play-halt-track branch July 30, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant