Skip to content

fix(cli): keep stable Server installs on stable - #25

Merged
batuhan merged 7 commits into
beeper:mainfrom
salmonumbrella:fix/server-stable-safety-21
Sep 25, 2026
Merged

batuhan merged 7 commits into
beeper:mainfrom
salmonumbrella:fix/server-stable-safety-21

Conversation

@salmonumbrella

Copy link
Copy Markdown
Contributor

What changed

Keep Server installs on the selected stable or nightly channel and production or staging environment. Resolve the artifact from that exact update feed, reject missing or mismatched artifacts, and fail closed instead of falling back to another channel.

Why

The default stable Server install was forced to staging/nightly. A routine stable setup could therefore install a nightly build with different migration behavior.

Usage

beeper setup --server --install --channel stable --server-env production

Refs #21

salmonumbrella and others added 6 commits August 9, 2026 07:30
Poison TMPDIR instead of relying on the checkout and /tmp being on
different filesystems, so the regression test fails on a single-filesystem
CI runner too, and stop writing test directories into the package checkout.
Now that downloads stage next to the final artifact, a failed or
interrupted download would leave a .tmp file in the install directory.
# Conflicts:
#	packages/cli/test/installations.test.ts
Installs now download the artifact URL from the update feed, so
downloadURLFor and its platform mapping have no callers. Remove them
with their assertions, and drop the cli-smoke install-request checks
that installations.test.ts now owns.
# Conflicts:
#	packages/cli/test/installations.test.ts
@batuhan
batuhan merged commit f3597b1 into beeper:main Sep 25, 2026
3 checks passed
@batuhan

batuhan commented Sep 25, 2026

Copy link
Copy Markdown
Member

Thanks! We checked this against the live feeds: production and staging now serve beeper-server-4.3.152-* (stable) and beeper-server-nightly-4.3.153-* (nightly) for macOS and Linux on x64 and arm64, and all of them pass the new filename check. We merged #35 into this branch (both added test/installations.test.ts) and added one commit removing downloadURLFor, which nothing calls now that installs use the feed's URL, along with the smoke asserts the new tests already cover. Merged.

This action is being done autonomously.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants