Skip to content

Update Rust crate bumpalo to v3.19.0 #7370

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Jun 8, 2025

This PR contains the following updates:

Package Type Update Change
bumpalo workspace.dependencies minor =3.17.0 -> =3.19.0

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

fitzgen/bumpalo (bumpalo)

v3.19.0

Released 2025-06-24.

Added
  • Added bumpalo::collections::Vec::retain_mut, similar to
    std::vec::Vec::retain_mut.

v3.18.1

Compare Source

Released 2025-06-05.

Removed
  • Removed the allocator-api2 version bump from 3.18.0, as it was not actually
    semver compatible.

v3.18.0

Compare Source

Released 2025-06-05.

Added
  • Added support for enforcing a minimum alignment on all allocations inside a
    Bump arena, which can provide speed ups when allocating objects whose
    alignment is less than or equal to that minimum.
  • Added serde serialization support for bumpalo::collections::String.
  • Added some missing fallible slice allocation function variants.
Changed
  • Replaced extend_from_slice implementation with a formally-verified version
    that is also faster and more-optimizable for LLVM.
  • Updated allocator-api2 support to version 0.3.*.
Fixed
  • Fixed a bug where the allocated_bytes metrics helper was accidentally
    including the size of bumpalo's footer, rather than just reporting the
    user-allocated bytes.


Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@hash-worker hash-worker bot enabled auto-merge June 8, 2025 16:15
@hash-worker hash-worker bot requested a review from a team June 8, 2025 16:15
@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Jun 8, 2025
hashdotai
hashdotai previously approved these changes Jun 8, 2025
Copy link

codecov bot commented Jun 8, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.72%. Comparing base (ade1198) to head (aa4d584).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7370   +/-   ##
=======================================
  Coverage   52.72%   52.72%           
=======================================
  Files        1079     1079           
  Lines       95582    95582           
  Branches     4429     4429           
=======================================
+ Hits        50395    50396    +1     
  Misses      44237    44237           
+ Partials      950      949    -1     
Flag Coverage Δ
apps.hash-ai-worker-ts 1.32% <ø> (ø)
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 35.85% <ø> (ø)
local.harpc-client 50.93% <ø> (ø)
local.hash-backend-utils 3.68% <ø> (ø)
local.hash-graph-sdk 0.00% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.deer 74.75% <ø> (ø)
rust.error-stack 89.07% <ø> (ø)
rust.harpc-codec 84.97% <ø> (ø)
rust.harpc-net 95.87% <ø> (+0.01%) ⬆️
rust.harpc-tower 66.34% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 91.62% <ø> (ø)
rust.hash-codec 75.38% <ø> (ø)
rust.hash-graph-api 3.43% <ø> (ø)
rust.hash-graph-authorization 30.64% <ø> (ø)
rust.hash-graph-postgres-store 19.44% <ø> (ø)
rust.hash-graph-store 29.94% <ø> (ø)
rust.hash-graph-temporal-versioning 48.22% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.30% <ø> (ø)
rust.hashql-ast 86.12% <ø> (ø)
rust.hashql-compiletest 51.52% <ø> (ø)
rust.hashql-core 82.21% <ø> (ø)
rust.hashql-diagnostics 50.24% <ø> (ø)
rust.hashql-hir 84.31% <ø> (ø)
rust.hashql-syntax-jexpr 94.10% <ø> (ø)
rust.sarif 97.93% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@hash-worker
Copy link
Contributor Author

hash-worker bot commented Jun 23, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --workspace
info: syncing channel updates for 'nightly-2025-06-23-x86_64-unknown-linux-gnu'
info: latest update on 2025-06-23, rust version 1.89.0-nightly (be19eda0d 2025-06-22)
info: downloading component 'cargo'
info: downloading component 'clippy'
info: downloading component 'llvm-tools'
info: downloading component 'miri'
info: downloading component 'rust-analyzer'
info: downloading component 'rust-src'
info: downloading component 'rust-std'
info: downloading component 'rustc'
info: downloading component 'rustc-codegen-cranelift'
info: downloading component 'rustfmt'
info: installing component 'cargo'
info: installing component 'clippy'
info: installing component 'llvm-tools'
info: installing component 'miri'
info: installing component 'rust-analyzer'
info: installing component 'rust-src'
info: installing component 'rust-std'
info: installing component 'rustc'
info: installing component 'rustc-codegen-cranelift'
info: installing component 'rustfmt'
    Updating git repository `https://github.com/TimDiekmann/oxc`
From https://github.com/TimDiekmann/oxc
 * [new ref]             333f583e3f20d40530ca414fbf9c14e49d066fff -> refs/commit/333f583e3f20d40530ca414fbf9c14e49d066fff
    Updating git repository `https://github.com/specta-rs/specta`
From https://github.com/specta-rs/specta
 * [new ref]         ab7d9245d5e2ace951707c3c383b0211ca7fc8ce -> refs/commit/ab7d9245d5e2ace951707c3c383b0211ca7fc8ce
    Updating crates.io index
    Updating git repository `https://github.com/temporalio/sdk-core`
From https://github.com/temporalio/sdk-core
 * [new ref]         4a2368d19f57e971ca9b2465f1dbeede7a861c34 -> refs/commit/4a2368d19f57e971ca9b2465f1dbeede7a861c34
error: failed to select a version for `bumpalo`.
    ... required by package `oxc_allocator v0.67.0 (https://github.com/TimDiekmann/oxc?rev=333f583e#333f583e)`
    ... which satisfies git dependency `oxc_allocator` (locked to 0.67.0) of package `oxc v0.67.0 (https://github.com/TimDiekmann/oxc?rev=333f583e#333f583e)`
    ... which satisfies dependency `oxc = "=0.67.0"` (locked to 0.67.0) of package `hash-codegen v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/libs/@local/codegen)`
    ... which satisfies path dependency `hash-codegen` (locked to 0.0.0) of package `hash-codec v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/libs/@local/codec)`
    ... which satisfies path dependency `hash-codec` (locked to 0.0.0) of package `hash-graph v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/apps/hash-graph)`
versions that meet the requirements `=3.17.0` are: 3.17.0

all possible versions conflict with previously selected packages.

  previously selected package `bumpalo v3.19.0`
    ... which satisfies dependency `bumpalo = "=3.19.0"` of package `hashql-core v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/libs/@local/hashql/core)`
    ... which satisfies path dependency `hashql-core` (locked to 0.0.0) of package `hashql-syntax-jexpr v0.0.0 (/tmp/renovate/repos/github/hashintel/hash/libs/@local/hashql/syntax-jexpr)`

failed to select a version for `bumpalo` which could resolve this conflict

hashdotai
hashdotai previously approved these changes Jun 23, 2025
@hash-worker hash-worker bot force-pushed the deps/rs/bumpalo-3.x branch from e9be20d to aa4d584 Compare June 24, 2025 16:17
@hash-worker hash-worker bot changed the title Update Rust crate bumpalo to v3.18.1 Update Rust crate bumpalo to v3.19.0 Jun 24, 2025
Copy link
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$5.47 \mathrm{ms} \pm 19.6 \mathrm{μs}\left({\color{gray}-0.732 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$5.59 \mathrm{ms} \pm 19.0 \mathrm{μs}\left({\color{gray}-0.866 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$12.8 \mathrm{ms} \pm 99.9 \mathrm{μs}\left({\color{lightgreen}-25.232 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$5.80 \mathrm{ms} \pm 19.2 \mathrm{μs}\left({\color{gray}-0.874 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$6.32 \mathrm{ms} \pm 34.1 \mathrm{μs}\left({\color{gray}-0.790 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: bf5a9ef5-dc3b-43cf-a291-6210c0321eba $$5.72 \mathrm{ms} \pm 25.7 \mathrm{μs}\left({\color{gray}0.015 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$57.9 \mathrm{ms} \pm 447 \mathrm{μs}\left({\color{gray}0.338 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$52.3 \mathrm{ms} \pm 442 \mathrm{μs}\left({\color{gray}-0.747 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$47.5 \mathrm{ms} \pm 384 \mathrm{μs}\left({\color{gray}1.47 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$43.0 \mathrm{ms} \pm 301 \mathrm{μs}\left({\color{gray}0.329 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$70.3 \mathrm{ms} \pm 306 \mathrm{μs}\left({\color{gray}-1.006 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$61.2 \mathrm{ms} \pm 352 \mathrm{μs}\left({\color{gray}0.486 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$91.6 \mathrm{ms} \pm 581 \mathrm{μs}\left({\color{gray}0.420 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$87.2 \mathrm{ms} \pm 636 \mathrm{μs}\left({\color{gray}-0.307 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$78.1 \mathrm{ms} \pm 506 \mathrm{μs}\left({\color{gray}-0.269 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$43.1 \mathrm{ms} \pm 430 \mathrm{μs}\left({\color{gray}3.47 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$104 \mathrm{ms} \pm 584 \mathrm{μs}\left({\color{gray}-0.204 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$95.4 \mathrm{ms} \pm 599 \mathrm{μs}\left({\color{gray}0.059 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$5.37 \mathrm{s} \pm 535 \mathrm{ms}\left({\color{red}1845 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$24.9 \mathrm{ms} \pm 124 \mathrm{μs}\left({\color{gray}-0.858 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$36.3 \mathrm{ms} \pm 216 \mathrm{μs}\left({\color{lightgreen}-41.374 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$31.5 \mathrm{ms} \pm 366 \mathrm{μs}\left({\color{gray}-0.339 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$87.7 \mathrm{ms} \pm 301 \mathrm{μs}\left({\color{lightgreen}-52.644 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$7.48 \mathrm{ms} \pm 44.9 \mathrm{μs}\left({\color{gray}-2.292 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$5.49 \mathrm{ms} \pm 20.8 \mathrm{μs}\left({\color{gray}-1.083 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$5.71 \mathrm{ms} \pm 34.1 \mathrm{μs}\left({\color{gray}-2.554 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$5.52 \mathrm{ms} \pm 22.0 \mathrm{μs}\left({\color{gray}-1.740 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$6.73 \mathrm{ms} \pm 32.6 \mathrm{μs}\left({\color{red}6.59 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$20.2 \mathrm{ms} \pm 224 \mathrm{μs}\left({\color{lightgreen}-5.390 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$20.6 \mathrm{ms} \pm 239 \mathrm{μs}\left({\color{lightgreen}-22.545 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$21.0 \mathrm{ms} \pm 265 \mathrm{μs}\left({\color{gray}3.45 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$19.5 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{lightgreen}-26.180 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$19.9 \mathrm{ms} \pm 229 \mathrm{μs}\left({\color{lightgreen}-7.208 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$19.9 \mathrm{ms} \pm 215 \mathrm{μs}\left({\color{gray}-0.181 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$19.2 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{gray}-4.695 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$19.7 \mathrm{ms} \pm 201 \mathrm{μs}\left({\color{lightgreen}-25.909 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$19.7 \mathrm{ms} \pm 221 \mathrm{μs}\left({\color{gray}-4.144 \mathrm{\%}}\right) $$ Flame Graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/deps Relates to third-party dependencies (area)
Development

Successfully merging this pull request may close these issues.

2 participants