bun icon indicating copy to clipboard operation
bun copied to clipboard

Async operation is blocked in workspace

Open Kleywalker opened this issue 1 year ago • 12 comments

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

Kleywalker avatar Oct 22 '23 14:10 Kleywalker

This could possibly be a bug with TypeScript decorator support.

Electroid avatar Oct 23 '23 18:10 Electroid

This issue still exists in version 1.0.8

Kleywalker avatar Nov 04 '23 20:11 Kleywalker

This bug is not fixed in version 1.0.10

Kleywalker avatar Nov 07 '23 17:11 Kleywalker

This issue still exists in version 1.0.14

Kleywalker avatar Nov 24 '23 12:11 Kleywalker

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. :(

Kleywalker avatar Dec 10 '23 15:12 Kleywalker

There is still a timeout in revision 1.0.16+800fb1290

Kleywalker avatar Dec 10 '23 15:12 Kleywalker

There is still a timeout in revision 1.0.18+36c316a24

Kleywalker avatar Dec 19 '23 20:12 Kleywalker

There is still a timeout in revision 1.0.20+09d51486e

Kleywalker avatar Dec 26 '23 14:12 Kleywalker

There is still a timeout in revision 1.0.22+b400b36ca

Kleywalker avatar Jan 14 '24 13:01 Kleywalker

There is stimm a timeout in revision 1.0.26+c75e768a6

Kleywalker avatar Feb 04 '24 14:02 Kleywalker

@Electroid are there any news on this?

Kleywalker avatar Feb 11 '24 10:02 Kleywalker

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.

Electroid avatar Feb 11 '24 17:02 Electroid

There is still a timeout in revision 1.0.27+c34bbb2e3

Kleywalker avatar Feb 17 '24 16:02 Kleywalker

There is still a timeout in revision 1.0.30+1424a196f

Kleywalker avatar Mar 04 '24 19:03 Kleywalker

There ist still a timeout in revision 1.1.3+2615dc742 I hove this issue will be visited soon.

Kleywalker avatar Apr 16 '24 17:04 Kleywalker

There ist still a timeout in revision 1.1.4+fbe2fe0c3

Kleywalker avatar Apr 21 '24 19:04 Kleywalker

There is still a timeout in revision 1.1.17+bb66bba1b

Will this be investigated in the near future?

Kleywalker avatar Jul 03 '24 10:07 Kleywalker