Skip to content

Fix bug in bun manifest path#2018

Merged
jwoertink merged 3 commits intoluckyframework:mainfrom
wout:fix-bug-in-bun-manifest-path
Feb 25, 2026
Merged

Fix bug in bun manifest path#2018
jwoertink merged 3 commits intoluckyframework:mainfrom
wout:fix-bug-in-bun-manifest-path

Conversation

@wout
Copy link
Contributor

@wout wout commented Feb 25, 2026

Purpose

Bug fix in bun manifest path.

Description

After deploying to production I noticed a bug in the path for Bun's writeManifest method. It was caused by a relatively recent change and I didn't notice because the asset manifest was already in my codebase. I only noticed it because production wouldn't build. I've also added tests to ensure this won't happen again.

Two other small changes are the --remove-orphans flag in the test script, and installing bun in the Dockerfile for test s rather than pulling it in because the binary is not always the right one for the target.

Checklist

  • - An issue already exists detailing the issue/or feature request that this PR fixes
  • - All specs are formatted with crystal tool format spec src
  • - Inline documentation has been added and/or updated
  • - Lucky builds on docker with ./script/setup
  • - All builds and specs pass on docker with ./script/test

wout added 3 commits February 25, 2026 17:09
This caused issues today where the bun tests failed because of the bun
binary. This fix ensures we're getting the correct binary.
Copy link
Member

@jwoertink jwoertink left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

@jwoertink jwoertink merged commit 6a8b2a4 into luckyframework:main Feb 25, 2026
9 checks passed
@wout wout deleted the fix-bug-in-bun-manifest-path branch February 25, 2026 20:25
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.

2 participants