Skip to content

Conversation

@bfops
Copy link
Collaborator

@bfops bfops commented Apr 18, 2025

Description of Changes

Main change details

We recently had some breakage in our install flow. This PR adds a CI job that runs spacetimedb-update self-install, which is similar to what happens in our new install process.

This isn't a perfect mirror of our install process, which renames the binary to spacetime-install/spacetime-install.exe, and then the spacetimedb-update binary itself infers from that name that it should be running self-install. Additionally, our install process uses --root-dir on Windows but not on Linux. It's worth considering whether we should extend this job to more closely match our exact install flow, but I'm trying to avoid letting the perfect be the enemy of the good here.

We should make these checks required after this PR merges.

Other changes

As part of this PR, I also had to add some new plumbing to allow passing a GITHUB_TOKEN for the API requests. See the inline comments for the reasoning. They're written in sweat and tears.

API and ABI breaking changes

None.

Expected complexity level and risk

2

Testing

@bfops bfops requested a review from jdetter April 18, 2025 19:00
@bfops bfops marked this pull request as ready for review April 18, 2025 19:01
jdetter
jdetter previously approved these changes Apr 18, 2025
Copy link
Collaborator

@jdetter jdetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you get the CI figured out this LGTM, thanks Zeke! :)

@bfops bfops requested a review from jdetter April 19, 2025 00:02
@bfops bfops dismissed jdetter’s stale review April 19, 2025 00:03

the PR has meaningfully changed

Copy link
Collaborator

@jdetter jdetter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine to me, thanks Zeke 👍

@bfops bfops added this pull request to the merge queue Apr 19, 2025
Merged via the queue into master with commit 2d0b412 Apr 19, 2025
18 checks passed
@bfops bfops deleted the bfops/release-ci branch July 30, 2025 17:19
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.

3 participants