Skip to content

Conversation

@overlookmotel
Copy link
Member

@overlookmotel overlookmotel commented Jul 15, 2025

Fix a bug with calculating pointer to start of Allocator which crept in when buffer size changed in #12277.

@github-actions github-actions bot added the C-bug Category - Bug label Jul 15, 2025
Copy link
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 hot fixes, skip the queue and merge this PR next

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 marked this pull request as ready for review July 15, 2025 15:01
@codspeed-hq
Copy link

codspeed-hq bot commented Jul 15, 2025

CodSpeed Instrumentation Performance Report

Merging #12299 will not alter performance

Comparing 07-15-fix_allocator_fix_fixedsizeallocator_pointer_maths (13c5783) with main (47fad0e)

Summary

✅ 34 untouched benchmarks

@overlookmotel overlookmotel added the 0-merge Merge with Graphite Merge Queue label Jul 15, 2025
Copy link
Member Author

overlookmotel commented Jul 15, 2025

Merge activity

Fix a bug with calculating pointer to start of `Allocator` which crept in when buffer size changed in #12277.
@graphite-app graphite-app bot force-pushed the 07-15-fix_allocator_fix_fixedsizeallocator_pointer_maths branch from 3662c88 to 13c5783 Compare July 15, 2025 15:09
@graphite-app graphite-app bot merged commit 13c5783 into main Jul 15, 2025
25 checks passed
@graphite-app graphite-app bot deleted the 07-15-fix_allocator_fix_fixedsizeallocator_pointer_maths branch July 15, 2025 15:18
@graphite-app graphite-app bot removed the 0-merge Merge with Graphite Merge Queue label Jul 15, 2025
graphite-app bot pushed a commit that referenced this pull request Jul 15, 2025
Follow-on after #12299. Document better the logic around alignment of allocator chunk pointer. It's pretty confusing, and I made a mistake here before. Clarify the logic.
graphite-app bot pushed a commit that referenced this pull request Jul 16, 2025
The bug fixed in #12299 went unnoticed originally because we build the `napi/oxlint2` crate for tests in release mode, with debug assertions disabled.

Instead, build with `--profile coverage` which enables debug assertions. It's also faster to compile.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C-bug Category - Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants