Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: debug builds loading runtime.out.js from wrong path #16421

Merged
merged 1 commit into from
Jan 15, 2025

Conversation

DonIsaac
Copy link
Contributor

What does this PR do?

#16354 changed where runtime.out.js gets saved from src to build/codegen. This isn't a problem in release builds, since those use @embedFile. However, when using a debug build, some tests crash because this file is now elsewhere.

How did you verify your code works?

I ran tests locally via bun-debug test. This problem is not detectable in CI (we use release builds)

@DonIsaac DonIsaac added build An issue related to building or compiling quick fix Something that can be fixed with low effort, but high impact labels Jan 15, 2025
@DonIsaac DonIsaac requested review from a team and paperclover and removed request for a team January 15, 2025 22:50
@robobun
Copy link

robobun commented Jan 15, 2025

Updated 3:34 PM PT - Jan 15th, 2025

@DonIsaac, your commit b02d67d has passed in #9681! 🎉


🧪   try this PR locally:

bunx bun-pr 16421

@paperclover paperclover merged commit 3fa22e9 into main Jan 15, 2025
69 checks passed
@paperclover paperclover deleted the don/fix/debug-runtime-js branch January 15, 2025 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build An issue related to building or compiling quick fix Something that can be fixed with low effort, but high impact
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants