Skip to content

chore(release): promote the biome .mjs coverage fix to main - #302

Merged
scttbnsn merged 3 commits into
mainfrom
dev/v1.7
Aug 20, 2026
Merged

chore(release): promote the biome .mjs coverage fix to main#302
scttbnsn merged 3 commits into
mainfrom
dev/v1.7

Conversation

@scttbnsn

Copy link
Copy Markdown
Contributor

Routine dev/v1.7 to main promotion. Two changes since the last one.

#301 — biome now covers the 38 tracked .mjs files. biome.json's files.includes never listed **/*.mjs, so nearly all of scripts/ had gone unlinted and unformatted since the config was written, while both the pre-push chain and the CI biome job went green over it. Closes #297.

The part worth reading: one of the 41 findings was a real bug in release tooling. release-next-version.mjs decides whether a commit counts as patch, minor, or major, and its legacy-gitmoji prefix accepted a bare zero-width joiner or variation selector as if it were an emoji, so an invisible prefix bought a release level against the file's own only-emoji contract. Reachable the whole time; the lint that points at it had simply never run on the file. Fixed with a pictographic-base requirement plus two regression tests.

The other four lint suppressions are genuine false positives where biome's suggested fix would break the code (ReferenceError in two, a syntax error in a third). All suppressed inline with reasons rather than by relaxing rules repo-wide.

#300biome.json $schema synced from 2.4.13 to the installed 2.5.8.

Verification

  • 189 node --test cases pass, up from 187.
  • biome check . at baseline: the two pre-existing noImgElement warnings in star-history.tsx, unchanged.
  • 47 checks green on fix(scripts): bring the 38 tracked .mjs files under biome (#297) #301, with only the known qlty check quota failure.
  • Reviewed by Codex in place of CodeRabbit, which is what caught the release-tooling bug.

Reconcile-back merge follows immediately.

biome.json declared https://biomejs.dev/schemas/2.4.13/schema.json while the
installed CLI is 2.5.8, so editors validated the config against a schema two
minors behind. Pointing it at 2.5.8 also clears one of the two config notices
biome check emits.

The surviving notice is real and separate: 'recommended' is deprecated in favour
of 'preset' as of Biome 2.5.

Recovered from an unpushed commit left in .claude/worktrees/lockfile-dedupe by an
earlier session, verified still valid before cherry-picking.
biome.json's files.includes never listed **/*.mjs, so 38 tracked files went unlinted and unformatted since the config was written, while both the pre-push chain and the CI biome job went green over them.

36 of the 41 findings were mechanical; each regex rewrite was verified individually rather than trusted to --fix, since these files assert on indented YAML, Dockerfile, and Ruby where the space count is the assertion.

Four of the remaining five are false positives suppressed inline with a reason. The fifth was a real bug: release-next-version.mjs accepted a bare ZWJ or variation selector as a gitmoji, so an invisible prefix inferred a minor or patch release against the file's own only-emoji contract. Fixed with a pictographic-base requirement and two regression tests.

Closes #297.
@vercel

vercel Bot commented Aug 20, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sockguard-website Ready Ready Preview Aug 20, 2026 11:10pm

@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@scttbnsn, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 22 minutes

Limit details: You’ve used the included review currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

Wait for the limit to reset, then comment @coderabbitai review or push new commits to the PR.

An organization admin can change what happens after included review limits in Billing.

How do review limits work?

CodeRabbit enforces per-developer PR review limits within each organization.

For paid Pro and Pro+ reviews, CodeRabbit uses a developer's included PR review attempts over the past 7 days to set the current hourly allowance. At typical activity levels, the full plan allowance applies. Higher sustained activity can lower the allowance until earlier attempts leave the 7-day window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 749d80f0-6d9c-425d-845f-194f2d1d0b9e

📥 Commits

Reviewing files that changed from the base of the PR and between ba24483 and 829cfe1.

⛔ Files ignored due to path filters (1)
  • CHANGELOG.md is excluded by !CHANGELOG.md
📒 Files selected for processing (28)
  • biome.json
  • scripts/analytics-routes.test.mjs
  • scripts/extract-changelog-entry.mjs
  • scripts/extract-changelog-entry.test.mjs
  • scripts/fuzz-duration.test.mjs
  • scripts/go-module-layout.test.mjs
  • scripts/helm-security-context.test.mjs
  • scripts/homebrew-release.test.mjs
  • scripts/local-fuzz.test.mjs
  • scripts/lockfile-dedupe.test.mjs
  • scripts/lockfile-security.mjs
  • scripts/mutation-badge-matrix.test.mjs
  • scripts/release-metadata.test.mjs
  • scripts/release-next-version.mjs
  • scripts/release-next-version.test.mjs
  • scripts/renovate-release-contract.test.mjs
  • scripts/required-ci-contexts.test.mjs
  • scripts/reusable-ci-config.test.mjs
  • scripts/security-headers.test.mjs
  • scripts/security-testssl.test.mjs
  • scripts/soak.test.mjs
  • scripts/tri-tool-conformance-run-matrix.test.mjs
  • scripts/verify-published-release.test.mjs
  • scripts/website-badge-contract.test.mjs
  • scripts/workflow-fuzz-budget.test.mjs
  • scripts/workflow-fuzz-coverage.test.mjs
  • website/scripts/gen-dog-png.mjs
  • website/src/app/page-data.test.mjs

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@biggest-littlest biggest-littlest left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Promotion approval.

@ALARGECOMPANY ALARGECOMPANY left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Promotion approval.

@scttbnsn
scttbnsn merged commit c9c3702 into main Aug 20, 2026
57 of 58 checks passed
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.

Biome doesn't lint or format any .mjs file, and 38 of them are tracked

3 participants