Skip to content

Make it run the beta server#315

Merged
Jomik merged 3 commits intoJomik:mainfrom
tiennou:beta-server
Apr 2, 2026
Merged

Make it run the beta server#315
Jomik merged 3 commits intoJomik:mainfrom
tiennou:beta-server

Conversation

@tiennou
Copy link
Copy Markdown
Contributor

@tiennou tiennou commented Mar 8, 2026

This is the bare minimum needed to make it build and run v4.3.0-beta, which runs on at least Node 22 (I've picked 24 since that's what o4 confirmed they were running on). I'm not sure how to manage publishing that with a beta tag, but that's what I've been testing on.

Known issues:

  • npm run cli doesn't work; there appears to be an issue with the beta cli tool, so you'd have to netcat localhost 21026 from within the container at the moment (which means building your own image and add netcat-openbsd to the list of stuff apt installs
  • it needs a special version of screepsmod-mongo to start up properly, otherwise runners and backend are gonna crash on start up as they try to access a database that's not fully initialized and get unexpected data out of it.

@tiennou tiennou requested a review from Jomik as a code owner March 8, 2026 13:34
@tiennou
Copy link
Copy Markdown
Contributor Author

tiennou commented Apr 2, 2026

Okay, updated to use the released version of the server. I also found the issue with the CLI being broken; that has to do with Node being weird with binding to "localhost" when it's IPv6 vs connecting to "localhost". The latter assumes IPv4 would also be there, which fails and just drops the connection entirely.

If you were wondering why the sed hacking into .screepsrc, that's why.

Copy link
Copy Markdown
Owner

@Jomik Jomik left a comment

Choose a reason for hiding this comment

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

There are some checks on matrix.node that we need to adjust, probably to use 22 if that is what official will target.
This is just so that the "official" server is without the -node24.

@Jomik Jomik merged commit 67a66d8 into Jomik:main Apr 2, 2026
1 of 3 checks passed
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.

2 participants