oven-sh / bun

Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
https://bun.sh
Other
74.38k stars 2.78k forks source link

Upstash Redis SDK - CI tests crash #11036

Open ogzhanolguncu opened 6 months ago

ogzhanolguncu commented 6 months ago

How can we reproduce the crash?

This issue doesn't happen locally; it only occurs in CI. When we first introduced Bun 1.0 about six months ago, we didn't have these issues. Lately, they have become more prominent.

https://github.com/upstash/upstash-redis

JavaScript/TypeScript code that reproduces the crash?

No response

Relevant log output

No response

Stack Trace (bun.report)

Bun v1.1.8 (89d2580) on linux x86_64_baseline [TestCommand]

Segmentation fault at address 0x00000000

Electroid commented 6 months ago

Is there a particular test file we can take a look at that appears to cause the crash?

ogzhanolguncu commented 6 months ago

https://github.com/upstash/upstash-redis/actions/runs/9061862211/job/24894513352 In this case it failed at pkg/commands/spop.test.ts. I feel like its random. But somehow manage to succeed here https://github.com/upstash/upstash-redis/actions/runs/9025180709. Also we started to see these problems after we introduced custom CI runner.