bun
bun copied to clipboard
Async operation is blocked in workspace
What version of Bun is running?
1.0.7+b0393fba6200d8573f3433fb0af258a0e33ac157
What platform is your computer?
Darwin 23.0.0 x86_64 i386
What steps can reproduce the bug?
https://github.com/Kleywalker/bun-async-workspace
- Install dependencies
bun i
- Run tests
bun test
What is the expected behavior?
- Comment out
packages/server-winston-mongodb/src/Log.entity.test.ts
- Everything works fine
a
b
c
1
2
✓ MongoDBTransport > logs service [283.03ms]
3 pass
0 fail
3 expect() calls
Ran 3 tests across 4 files. [850.00ms]
What do you see instead?
- Comment in
packages/server-winston-mongodb/src/Log.entity.test.ts
- There is a timeout
a
b
c
1
Timeout: test "logs service" timed out after 5000ms
✗ MongoDBTransport > logs service [9635.14ms]
- Cancel process (ctrl-c)
Additional information
No response
This could possibly be a bug with TypeScript decorator support.
This issue still exists in version 1.0.8
This bug is not fixed in version 1.0.10
This issue still exists in version 1.0.14
Are there any news when this issue will be investigated? I want to use bun in production and this issue is stopping me from it. :(
There is still a timeout in revision 1.0.16+800fb1290
There is still a timeout in revision 1.0.18+36c316a24
There is still a timeout in revision 1.0.20+09d51486e
There is still a timeout in revision 1.0.22+b400b36ca
There is stimm a timeout in revision 1.0.26+c75e768a6
@Electroid are there any news on this?
Not right now @Kleywalker. The team is tied up getting ready for the Bun 1.1 release next week. I'd say it's unlikely we can fix this before then. We'll try to prioritize after.
There is still a timeout in revision 1.0.27+c34bbb2e3
There is still a timeout in revision 1.0.30+1424a196f
There ist still a timeout in revision 1.1.3+2615dc742 I hove this issue will be visited soon.
There ist still a timeout in revision 1.1.4+fbe2fe0c3
There is still a timeout in revision 1.1.17+bb66bba1b
Will this be investigated in the near future?