Skip to content

ci: reject implicit engine buffer allocation - #9672

Draft
gatesn wants to merge 3 commits into
ngates/buffer-allocator-executionfrom
ngates/buffer-allocator-enforce
Draft

ci: reject implicit engine buffer allocation#9672
gatesn wants to merge 3 commits into
ngates/buffer-allocator-executionfrom
ngates/buffer-allocator-enforce

Conversation

@gatesn

@gatesn gatesn commented Aug 27, 2026

Copy link
Copy Markdown
Contributor

Summary

Reject implicit buffer allocation in engine code.

Changes

  • Add a check for implicit constructors in allocator-aware paths.
  • Run the check in Rust lint CI.

@gatesn gatesn mentioned this pull request Aug 27, 2026
5 tasks
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 5b79473 to 2f3e584 Compare August 27, 2026 19:38
@codspeed-hq

codspeed-hq Bot commented Aug 27, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 51.2%

⚠️ Unknown Walltime execution environment detected

Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data.

For the most accurate results, we recommend using CodSpeed Macro Runners: bare-metal machines fine-tuned for performance measurement consistency.

⚡ 1 improved benchmark
✅ 2089 untouched benchmarks
⏩ 206 skipped benchmarks1
🗄️ 4 archived benchmarks run2

Performance Changes

Mode Benchmark BASE HEAD Efficiency
WallTime arrow_checked_add_u32_neon[16384] 20.4 µs 13.5 µs +51.2%

Tip

Curious why performance improved? Comment @codspeedbot explain why performance improved on this PR, or directly use the CodSpeed MCP with your agent.


Comparing ngates/buffer-allocator-enforce (7976d61) with ngates/buffer-allocator-execution (cd00ce3)

Open in CodSpeed

Footnotes

  1. 206 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. 4 benchmarks were run, but are now archived. If they were deleted in another branch, consider rebasing to remove them from the report. Instead if they were added back, click here to restore them.

@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 2f3e584 to d578a0a Compare August 27, 2026 20:42
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch 2 times, most recently from 5be81fc to 13894b2 Compare August 27, 2026 21:38
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch 2 times, most recently from 36176c7 to 24c4ffc Compare August 28, 2026 14:56
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 24c4ffc to 7837e58 Compare August 28, 2026 16:06
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 7837e58 to 092912f Compare August 28, 2026 17:03
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 092912f to e5fea5f Compare August 28, 2026 17:35
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch 2 times, most recently from 0aa2518 to 5014df5 Compare August 28, 2026 18:22
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 5014df5 to 1bd0883 Compare August 28, 2026 18:24
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 1bd0883 to 1edde31 Compare August 28, 2026 20:41
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 1edde31 to b9c94d9 Compare August 28, 2026 20:50
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from b9c94d9 to 1ac1fd9 Compare August 28, 2026 20:54
@gatesn gatesn added the changelog/deprecation A change that introduces a series of API deprecations label Aug 28, 2026
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 68d5db4 to 34c9a8a Compare August 28, 2026 21:00
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from f21e047 to 87e6daf Compare August 29, 2026 00:07
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch 3 times, most recently from eedc0f8 to fc0be30 Compare August 29, 2026 02:00
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from fc0be30 to b09ec24 Compare August 29, 2026 02:45
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from b09ec24 to 3e98c72 Compare August 29, 2026 03:17
gatesn added 3 commits August 31, 2026 09:49
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
Signed-off-by: Nicholas Gates <nick@nickgates.com>
@gatesn
gatesn force-pushed the ngates/buffer-allocator-enforce branch from 3e98c72 to 7976d61 Compare August 31, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog/deprecation A change that introduces a series of API deprecations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant