Skip to content

feat(flags): add missing flags and reword metadata - #11248

Merged
ematipico merged 9 commits into
mainfrom
environment-rework
Aug 12, 2026
Merged

feat(flags): add missing flags and reword metadata#11248
ematipico merged 9 commits into
mainfrom
environment-rework

Conversation

@yanthomasdev

Copy link
Copy Markdown
Collaborator

Summary

This PR is a sibling docs PR that rewords environment variable flags to be more descriptive and readable. I've also added information for BIOME_LOG_FILE, BIOME_BINARY and RUST_BACKTRACE, which I guess now means those will also show up when someone uses biome rage.

This means the core repository file becomes the source of truth for this information, instead of a weird mix between generating from core repo + appended information for BIOME_BINARY and RUST_BACKTRACE in the website repo.

Test Plan

N/A

Docs

@changeset-bot

changeset-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3ef60f5

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 13 packages
Name Type
@biomejs/biome Patch
@biomejs/cli-win32-x64 Patch
@biomejs/cli-win32-arm64 Patch
@biomejs/cli-darwin-x64 Patch
@biomejs/cli-darwin-arm64 Patch
@biomejs/cli-linux-x64 Patch
@biomejs/cli-linux-arm64 Patch
@biomejs/cli-linux-x64-musl Patch
@biomejs/cli-linux-arm64-musl Patch
@biomejs/wasm-web Patch
@biomejs/wasm-bundler Patch
@biomejs/wasm-nodejs Patch
@biomejs/backend-jsonrpc Patch

Not sure what this means? Click here to learn what changesets are.

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

@github-actions

github-actions Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

✅ Organic activity

No automation signals detected in the analyzed events.

View full analysis →

This is an automated analysis by AgentScan

@github-actions github-actions Bot added the A-CLI Area: CLI label Aug 5, 2026
@coderabbitai

coderabbitai Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • ▶️ Resume reviews
  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 934c63f5-842a-4c92-be45-93f9af92c4cd

📥 Commits

Reviewing files that changed from the base of the PR and between 40dad29 and 3ef60f5.

⛔ Files ignored due to path filters (10)
  • crates/biome_cli/tests/snapshots/main_commands_rage/rage_ok.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_custom_config_path.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_formatter_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_jsonc_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_linter_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_linter_domain_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_malformed_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_missing_custom_config_path.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_no_configuration.snap is excluded by !**/*.snap and included by **
📒 Files selected for processing (3)
  • .changeset/bright-otters-write.md
  • crates/biome_cli/tests/commands/rage.rs
  • crates/biome_flags/src/lib.rs
🚧 Files skipped from review as they are similar to previous changes (3)
  • .changeset/bright-otters-write.md
  • crates/biome_cli/tests/commands/rage.rs
  • crates/biome_flags/src/lib.rs

Walkthrough

Expands environment-variable documentation with supported values, defaults, usage guidance, and shell examples. Documents BIOME_BINARY and RUST_BACKTRACE. Rage snapshot normalisation now masks RUST_BACKTRACE values. A patch changeset records the metadata update.

Possibly related PRs

  • biomejs/biome#9769: Both changes update crates/biome_flags/src/lib.rs and BIOME_* environment-variable definitions.

Suggested reviewers: ematipico

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Description check ✅ Passed The description clearly explains the reworded environment-variable metadata and the addition of BIOME_LOG_FILE, BIOME_BINARY, and RUST_BACKTRACE.
Title check ✅ Passed The title clearly summarises the addition of missing flags and the rewording of their metadata.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch environment-rework

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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.changeset/bright-otters-write.md:
- Line 5: Update the changeset description to use past-tense verbs consistently,
changing the opening “Expands” and the “reworded” phrasing to describe the
completed metadata and explanation changes.

In `@crates/biome_flags/src/lib.rs`:
- Around line 161-183: Add a focused Rust test for BiomeEnv::ENV_VARIABLES that
verifies BIOME_BINARY, BIOME_LOG_FILE, and RUST_BACKTRACE are registered with
non-empty descriptions; if no existing registry test covers all entries, assert
the complete registry contract as well.
🪄 Autofix

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 74fa5c8a-c45c-4f65-b2ca-45380b211dd5

📥 Commits

Reviewing files that changed from the base of the PR and between bd0b68d and cd82b19.

⛔ Files ignored due to path filters (10)
  • crates/biome_cli/tests/snapshots/main_commands_rage/rage_ok.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_custom_config_path.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_formatter_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_jsonc_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_linter_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_linter_domain_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_malformed_configuration.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_missing_custom_config_path.snap is excluded by !**/*.snap and included by **
  • crates/biome_cli/tests/snapshots/main_commands_rage/with_no_configuration.snap is excluded by !**/*.snap and included by **
📒 Files selected for processing (2)
  • .changeset/bright-otters-write.md
  • crates/biome_flags/src/lib.rs

Comment thread .changeset/bright-otters-write.md Outdated
Comment thread crates/biome_flags/src/lib.rs

@ematipico ematipico 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.

Thank you. I left some comments

Comment thread .changeset/bright-otters-write.md Outdated
Comment thread crates/biome_flags/src/lib.rs Outdated
Comment thread crates/biome_flags/src/lib.rs
Comment thread crates/biome_flags/src/lib.rs
Comment thread crates/biome_flags/src/lib.rs Outdated
Comment thread crates/biome_flags/src/lib.rs Outdated
yanthomasdev and others added 3 commits August 6, 2026 11:36
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>

@sarah11918 sarah11918 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The language looks good to me, Yan, with some nice consistency!

@coderabbitai

coderabbitai Bot commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@coderabbitai

coderabbitai Bot commented Aug 11, 2026

Copy link
Copy Markdown
Contributor

Note

GitHub couldn't provide a complete incremental comparison for this pull request, so CodeRabbit is performing a full review instead. This review may take a little longer.

@yanthomasdev

Copy link
Copy Markdown
Collaborator Author

This PR is good to be merged alongside biomejs/website#4420, feel free to merge when it makes sense @ematipico (not super used to the release flow here)

@ematipico
ematipico merged commit 57b197e into main Aug 12, 2026
30 checks passed
@ematipico
ematipico deleted the environment-rework branch August 12, 2026 07:52
@github-actions github-actions Bot mentioned this pull request Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-CLI Area: CLI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants