-
-
Notifications
You must be signed in to change notification settings - Fork 71
build(deps-dev): bump oxfmt from 0.58.0 to 0.61.0 #150
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
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift
🧩 Analysis chain
🏁 Script executed:
Repository: haydenbleasel/blume
Length of output: 3989
🏁 Script executed:
Repository: haydenbleasel/blume
Length of output: 12236
🏁 Script executed:
Repository: haydenbleasel/blume
Length of output: 2443
🌐 Web query:
Bun lockfile frozen install behavior package.json bun.lock dependency spec mismatch patchedDependencies💡 Result:
In Bun, the
--frozen-lockfileflag is intended to enforce reproducible installs by ensuring thatbun installexits with an error if thepackage.jsonandbun.lockfile are out of sync [1]. Behavioral Summary and Known Issues: 1. Consistency Enforcement: When--frozen-lockfileis used, Bun installs exact versions recorded in the lockfile [1]. Historically, there have been identified cases where the check failed to detect certain types of drift—such as when adding new direct dependencies or divergence in workspace dependency maps—but recent updates (notably up to mid-2026) have improved this to ensure any divergence inpackage.jsondependency maps results in a non-zero exit code [2][3]. 2. Error Scenarios: If Bun detects that the lockfile would need to be updated to matchpackage.json, it exits with an error message: "error: lockfile had changes, but lockfile is frozen" [4][3]. This is designed to prevent CI/CD pipelines from silently proceeding with outdated dependencies [5][1]. 3. Patched Dependencies: - Behavior: Bun uses thepatchedDependenciesfield in the rootpackage.jsonto manage and apply.patchfiles to dependencies innode_modules[6]. - Scope: By design, Bun expectspatchedDependenciesto be defined at the install root [7]. If workspace members contain their ownpatchedDependencies, it can cause issues or errors during installation because Bun may try to resolve those paths relative to the root rather than the member's directory [7][8]. - Missing Patches: If a declared patch file is missing, the installation will fail [9]. This is particularly common in pruned monorepo environments (e.g., usingturbo prune), where patch files might be omitted from the output [9]. Fixes have been implemented to allow skipping missing patch files if the corresponding package is not part of the active dependency graph [9]. 4. Troubleshooting Drift: If you encounter the "lockfile had changes" error when you believe your state is consistent, it often points to: - Transitive resolution differences or inconsistencies in overrides/self-referencing overrides [10]. - Differences in how workspaces resolve dependencies versus the root lockfile [2]. - Temporary caching or migration issues (e.g., transitioning from binarybun.lockbto text-basedbun.lock) [11][4]. For CI/CD environments, it is recommended to usebun ci, which is explicitly optimized for reproducible builds and enforces the frozen lockfile check by default [1].Citations:
--frozen-lockfileis saying changes to lockfile whenbun installsays there is not oven-sh/bun#20913bun installfails whenpatchedDependenciesfile is missing in pruned monorepo contexts oven-sh/bun#26969Synchronize
bun.lockwith theoxfmtupgrade.package.jsondeclares^0.61.0, butbun.lockstill resolvesoxfmt@0.58.0and its version-specific patch. Bun frozen installs reject this drift. Regeneratebun.lockand port the patch to0.61.0, or remove it if the new version includes the required behavior.🤖 Prompt for AI Agents