Skip to content

test(allocator): reformat imports#21701

Merged
graphite-app[bot] merged 1 commit intomainfrom
om/04-24-test_allocator_reformat_imports
Apr 24, 2026
Merged

test(allocator): reformat imports#21701
graphite-app[bot] merged 1 commit intomainfrom
om/04-24-test_allocator_reformat_imports

Conversation

@overlookmotel
Copy link
Copy Markdown
Member

@overlookmotel overlookmotel commented Apr 24, 2026

Style change only. Collapse imports from std into a single use statement, and re-order use statements in tests for Arena.

Copy link
Copy Markdown
Member Author

overlookmotel commented Apr 24, 2026


How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • 0-merge - adds this PR to the back of the merge queue
  • hotfix - for urgent changes, fast-track this PR to the front of the merge queue

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

@overlookmotel overlookmotel self-assigned this Apr 24, 2026
@overlookmotel overlookmotel added A-allocator Area - Allocator C-test Category - Testing. Code is missing test cases, or a PR is adding them labels Apr 24, 2026 — with Graphite App
@overlookmotel overlookmotel marked this pull request as ready for review April 24, 2026 10:49
Copilot AI review requested due to automatic review settings April 24, 2026 10:49
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Style-only change to simplify std imports in the allocator arena tests by collapsing multiple use std::... lines into a single grouped import.

Changes:

  • Collapsed multiple std imports into use std::{...};
  • Removed the explicit use std::usize; import

Comment thread crates/oxc_allocator/tests/arena/tests.rs
@codspeed-hq
Copy link
Copy Markdown

codspeed-hq Bot commented Apr 24, 2026

Merging this PR will not alter performance

✅ 48 untouched benchmarks
⏩ 3 skipped benchmarks1


Comparing om/04-24-test_allocator_reformat_imports (2010054) with main (adbc7dc)2

Open in CodSpeed

Footnotes

  1. 3 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

  2. No successful run was found on main (2010054) during the generation of this report, so adbc7dc was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@overlookmotel overlookmotel force-pushed the om/04-24-test_allocator_reformat_imports branch from ad8946a to e5243a0 Compare April 24, 2026 12:03
@overlookmotel overlookmotel force-pushed the om/04-10-test_allocator_fix_bump_test_on_32-bit_platforms branch from ed6f0ab to 8ab35c8 Compare April 24, 2026 12:03
@overlookmotel overlookmotel force-pushed the om/04-24-test_allocator_reformat_imports branch from e5243a0 to ae1d27d Compare April 24, 2026 12:15
@graphite-app
Copy link
Copy Markdown
Contributor

graphite-app Bot commented Apr 24, 2026

Merge activity

Style change only. Collapse imports from `std` into a single `use` statement, and re-order `use` statements in tests for `Arena`.
@graphite-app graphite-app Bot force-pushed the om/04-10-test_allocator_fix_bump_test_on_32-bit_platforms branch from 8ab35c8 to 7462c4a Compare April 24, 2026 12:23
@graphite-app graphite-app Bot force-pushed the om/04-24-test_allocator_reformat_imports branch from ae1d27d to 2010054 Compare April 24, 2026 12:23
Base automatically changed from om/04-10-test_allocator_fix_bump_test_on_32-bit_platforms to main April 24, 2026 12:26
@graphite-app graphite-app Bot merged commit 2010054 into main Apr 24, 2026
37 checks passed
@graphite-app graphite-app Bot deleted the om/04-24-test_allocator_reformat_imports branch April 24, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-allocator Area - Allocator C-test Category - Testing. Code is missing test cases, or a PR is adding them

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants