Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@asbjornhaland
Copy link
Contributor

Why

closes:

Check off the following:

  • Confirm that I checked changes to branch which I am merging into.

    • I have validated included files
    • My code does not generate new linting warnings
    • My PR is not a duplicate, check existing pr`s
  • Confirm that the I have completed the self-review checklist.

  • Confirm that my changes meet our code of conduct.

@asbjornhaland asbjornhaland self-assigned this Aug 14, 2025
@changeset-bot
Copy link

changeset-bot bot commented Aug 14, 2025

⚠️ No Changeset found

Latest commit: 747d23f

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added πŸ‘¨πŸ»β€πŸ³ cookbooks πŸ‘Ύ React πŸ’Ύ CLI fusion framework CLI 🚧 chore maintaines work, (update deps, workflos ...) πŸ› οΈ utils packages related to utils 🧬 Modules labels Aug 14, 2025
@odinr
Copy link
Collaborator

odinr commented Sep 17, 2025

Hey @asbjornhaland!

Just checked out your Biome v2 migration - solid work, bruh! 🎯

What You Got Done

  • Biome v1.9.4 β†’ v2.1.4 across everything
  • Fixed all the template literal stuff (those string things that didn't need to be templates)
  • Resolved merge conflicts with main
  • Configuration actually works now

The Deal

So the noAccumulatingSpread rule is working like it should - it's catching actual performance issues with Object.assign in loops. That's... good? I mean, it's doing its job, but it's also giving us a bunch of warnings.

The good news is that Biome PR #7078 is still open and would fix the overly aggressive noAccumulatingSpread rule. It's been waiting for maintainer review since August, but it's ready to go.

Current State

This PR branch is currently broken - it has configuration errors that prevent Biome from running properly. The rebase revealed some issues that need fixing.

Your Options

Change the rule to warning until PR #7078 is resolved:

"performance": {
  "noAccumulatingSpread": "warn"
}

This makes sense since the rule is being overly aggressive and there's an upstream fix ready to go. We only worry about errors in workflows anyway.

Fixed Version

I've created a fixed version with all the configuration issues resolved: chore/upgrade-biome-v2-fixed

This branch has:

  • βœ… Working Biome v2 configuration
  • βœ… All merge conflicts resolved
  • βœ… Proper schema format
  • βœ… Ready to merge

PR Status

Current PR body: Pretty minimal - just says "wip" and has the checkboxes unchecked. Might want to add some details about what this migration does and why it's needed.

Self-review checklist: The checkboxes in the PR template aren't checked off yet. Worth going through those before merging.

Bottom Line

The migration worked, everything builds, and the tooling is functioning. Those warnings are actually the rule working correctly, not a bug.

Want to tackle those warnings or just disable the rule and ship this? Either way works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🚧 chore maintaines work, (update deps, workflos ...) πŸ’Ύ CLI fusion framework CLI πŸ‘¨πŸ»β€πŸ³ cookbooks 🧬 Modules πŸ‘Ύ React πŸ› οΈ utils packages related to utils

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants