2 people reported

All time, since Aug 22.

Worker drops messages during startup

“worker.postMessage() calls made while a module Worker is still inside its top-level-await startup phase are silently lost on Bun 1.4.0.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/bun/issues/4458/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Worker drops messages posted during its top-level await. Messages posted before the worker installs onmessage after an async startup phase are lost with no error; works in 1.3.14.

Is this your bug?

File my report
Where
Worker API
Versions
1.4.0 to 1.4.2
Platforms
Linux, macOS
How bad
Breaks a normal workflow.

Not quite your bug?

  1. Resolves/rejects hang on Worker replies2 people

Original reports2, newest first

  1. Worker drops messages posted during its top-level await (regression in 1.4.0)#44574
  2. Messages posted to a Worker before its top-level await completes are silently dropped (1.4.0 regression)#40141

Do you work on Bun?

Claim its RAP Sheet to see what your users report and answer them in one place.