Skip to content

test(allocator): skip failing test on 32-bit platforms#21291

Merged
graphite-app[bot] merged 1 commit into
mainfrom
om/04-10-test_allocator_skip_failing_test_on_32-bit_platforms
Apr 10, 2026
Merged

test(allocator): skip failing test on 32-bit platforms#21291
graphite-app[bot] merged 1 commit into
mainfrom
om/04-10-test_allocator_skip_failing_test_on_32-bit_platforms

Conversation

@overlookmotel

@overlookmotel overlookmotel commented Apr 10, 2026

Copy link
Copy Markdown
Member

This test is consistently failing on 32-bit CI.

e.g. https://github.com/oxc-project/oxc/actions/runs/24210394836/job/70677275438

I don't understand the logic of this test. At first glance it looks like the test is flawed, and it's only passing on 64-bit for incidental reasons - due to the memory regions that allocators tend to use.

I'll investigate further, but in meantime just skip the test on 32-bit to make CI green again.

Copy link
Copy Markdown
Member Author

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.

@github-actions github-actions Bot added A-allocator Area - Allocator C-test Category - Testing. Code is missing test cases, or a PR is adding them labels Apr 10, 2026
@overlookmotel overlookmotel self-assigned this Apr 10, 2026
@overlookmotel
overlookmotel marked this pull request as ready for review April 10, 2026 03:04
Copilot AI review requested due to automatic review settings April 10, 2026 03:04
@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Apr 10, 2026

overlookmotel commented Apr 10, 2026

Copy link
Copy Markdown
Member Author

Merge activity

Copilot AI 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.

Pull request overview

This PR makes 32-bit CI green by disabling a bump-allocator OOM/pointer-overflow panic test that is consistently failing on 32-bit platforms.

Changes:

  • Gate oom_instead_of_bump_pointer_overflow to only run on 64-bit targets (and not under Miri).

Comment thread crates/oxc_allocator/tests/bump/tests.rs
This test is consistently failing on 32-bit CI.

e.g. https://github.com/oxc-project/oxc/actions/runs/24210394836/job/70677275438

I don't understand the logic of this test. At first glance it looks like the test is flawed, and it's only passing on 64-bit for incidental reasons - due to the memory regions that allocators tend to use.

I'll investigate further, but in meantime just skip the test on 32-bit to make CI green again.
@graphite-app
graphite-app Bot force-pushed the om/04-10-test_allocator_skip_failing_test_on_32-bit_platforms branch from 5a7d409 to bdac624 Compare April 10, 2026 03:07
@codspeed-hq

codspeed-hq Bot commented Apr 10, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 48 untouched benchmarks
⏩ 3 skipped benchmarks1


Comparing om/04-10-test_allocator_skip_failing_test_on_32-bit_platforms (5a7d409) with main (03865fa)

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.

@graphite-app
graphite-app Bot merged commit bdac624 into main Apr 10, 2026
27 checks passed
@graphite-app graphite-app Bot removed the 0-merge Merge with Graphite Merge Queue label Apr 10, 2026
@graphite-app
graphite-app Bot deleted the om/04-10-test_allocator_skip_failing_test_on_32-bit_platforms branch April 10, 2026 03:12
graphite-app Bot pushed a commit that referenced this pull request Apr 24, 2026
Fix a test for `Bump` which was failing on 32-bit in CI.

#21291 temporarily disabled the test. Turn out, there's no easy way to make this test work on 32-bit platforms, and #21510 added ample unit tests which effectively test the same thing.

So keep it disabled on 32-bit, but fix the test to make it work properly on 64-bit.

Rationale for the fix is explained in fitzgen/bumpalo#320.
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