Is it possible to change the docker run deploy command?
I'd like to change it to
docker run --rm --init --ulimit memlock=-1:-1 jarredsumner/bun:edge
to support Bun as a JS runtime on railway
31 Replies
We have many that use Bun on Railway. Shouldn’t need to change the ulimit memlock for it to work
Oh interesting, I haven't tried my project yet but milo was mentioning that the memlock bug prevents it from working properly on railway
https://discord.com/channels/713503345364697088/1020034124326641804/1020035062772809728
Oh?
CC @salvage
I think that’s unrelated we had some old hosts that have since been decommissioned
If not, would love more info so we can fix it
when I tried deploying their repo here:
https://discord.com/channels/713503345364697088/727689277219012669/1020066204657918132
GitHub
GitHub - Milo123459/bun-railway
Contribute to Milo123459/bun-railway development by creating an account on GitHub.
I got the memlock issue
Interesting. Need more info and a much more clear bug report on buns side. Exposing any functionality is going to be subject to security review
i think you just need to upgrade the kernel on those hosts
The builders are running very new kernels
5.9+
Linux kernel 5.11+
Fkn hell
💀
K probably won’t happen for a bit then. At one point this worked.
buns just using a ton of new stuff ig
Yea I’ve mentioned it to Jarred before but compatibility is make or break
What would be the timeframe for migrating to 5.11+? Guessing I shouldn't hold my breath for it lol
I'd love to switch my project over to bun, but keeping it working with railway is more important.
Yea not gonna happen in the next month+
😦
makes sense though
what kernels are the deployment hosts running?
Varies. None of them are going to be 5.11+ though
So, suppose buns out until compatibility is solved
anything I could do to help this effort?
You’d have to ask Jarred from Bun
Jarred Sumner (@jarredsumner)
My goal for this week is to ship bun’s new http client. It impacts
bun install
and fetch()
More reliable, faster, and it fixes the error about memlock/Linux kernel version incompatibilityTwitter
Sounds like he’s on it lol
he responded to our open issue before he tweeted about it 😄
Give it a go and let us know!
If it's green we can include it in the changelog this week
will do
discord.js doesn't support bun so can't test it properly on my one project
could potentially try it on milos test repo
yeah give it a shot
Unknown User•3y ago
Message Not Public
Sign In & Join Server To View