Skip to content

Conversation

@Jarred-Sumner
Copy link
Collaborator

@Jarred-Sumner Jarred-Sumner commented May 6, 2025

What does this PR do?

Fixes #19475. The underlying bug: a reference to a stale ASTMemoryAllocator. This caused issues when a frontend bundle in the dev server has an in-flight build and the main thread hot reloads a file in the backend code.

Also fixes an assertion failure on Linux when the file watcher has a large number of events in a release build (where its fast enough to occur).

How did you verify your code works?

The non-automated stress test no longer asserts

@robobun
Copy link
Collaborator

robobun commented May 6, 2025

Updated 2:38 PM PT - May 6th, 2025

@dylan-conway, your commit a52f2fd2df40179f898e43a06daf0b2c9d362829 passed in Build #16206! 🎉


🧪   To try this PR locally:

bunx bun-pr 19495

That installs a local version of the PR into your bun-19495 executable, so you can run:

bun-19495 --bun

@Jarred-Sumner Jarred-Sumner requested a review from dylan-conway May 6, 2025 13:35
@Jarred-Sumner Jarred-Sumner merged commit d291b56 into main May 7, 2025
61 checks passed
@Jarred-Sumner Jarred-Sumner deleted the jarred/fix-19475 branch May 7, 2025 03:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Crash in hot reloading on Windows

4 participants