Skip to content

Update Rust crate rand to v0.9.2 #7665

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

Merged
merged 1 commit into from
Jul 21, 2025
Merged

Update Rust crate rand to v0.9.2 #7665

merged 1 commit into from
Jul 21, 2025

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Jul 21, 2025

This PR contains the following updates:

Package Type Update Change
rand (source) workspace.dependencies patch =0.9.1 -> =0.9.2

Warning

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


Release Notes

rust-random/rand (rand)

v0.9.2

Deprecated
  • Deprecate rand::rngs::mock module and StepRng generator (#​1634)
Additions
  • Enable WeightedIndex<usize> (de)serialization (#​1646)

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 July 21, 2025 06:52
@github-actions github-actions bot added the area/deps Relates to third-party dependencies (area) label Jul 21, 2025
Copy link

codecov bot commented Jul 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 52.81%. Comparing base (7364656) to head (13c6629).
Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7665      +/-   ##
==========================================
- Coverage   52.81%   52.81%   -0.01%     
==========================================
  Files        1108     1108              
  Lines       99108    99108              
  Branches     4519     4519              
==========================================
- Hits        52343    52342       -1     
- Misses      45781    45782       +1     
  Partials      984      984              
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.error-stack 89.09% <ø> (ø)
rust.harpc-codec 83.94% <ø> (ø)
rust.harpc-net 95.83% <ø> (-0.02%) ⬇️
rust.harpc-tower 66.34% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 91.62% <ø> (ø)
rust.hash-codec 75.14% <ø> (ø)
rust.hash-graph-api 3.53% <ø> (ø)
rust.hash-graph-authorization 34.17% <ø> (ø)
rust.hash-graph-postgres-store 19.45% <ø> (ø)
rust.hash-graph-store 32.56% <ø> (ø)
rust.hash-graph-temporal-versioning 48.22% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.15% <ø> (ø)
rust.hashql-ast 86.09% <ø> (ø)
rust.hashql-compiletest 51.45% <ø> (ø)
rust.hashql-core 81.23% <ø> (ø)
rust.hashql-diagnostics 50.24% <ø> (ø)
rust.hashql-eval 71.42% <ø> (ø)
rust.hashql-hir 85.66% <ø> (ø)
rust.hashql-syntax-jexpr 94.15% <ø> (ø)
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 hash-worker bot requested a review from a team July 21, 2025 07:17
@hash-worker hash-worker bot added this pull request to the merge queue Jul 21, 2025
Copy link
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$29.0 \mathrm{ms} \pm 312 \mathrm{μs}\left({\color{gray}0.385 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$29.4 \mathrm{ms} \pm 283 \mathrm{μs}\left({\color{gray}3.39 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$28.8 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}-0.475 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$28.6 \mathrm{ms} \pm 250 \mathrm{μs}\left({\color{gray}1.92 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$29.1 \mathrm{ms} \pm 276 \mathrm{μs}\left({\color{gray}1.14 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$30.5 \mathrm{ms} \pm 263 \mathrm{μs}\left({\color{red}7.38 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$29.3 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}-0.272 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$29.0 \mathrm{ms} \pm 286 \mathrm{μs}\left({\color{gray}-0.530 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$29.0 \mathrm{ms} \pm 250 \mathrm{μs}\left({\color{gray}1.43 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 10000 entities $$21.4 \mathrm{ms} \pm 163 \mathrm{μs}\left({\color{lightgreen}-22.381 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$15.6 \mathrm{ms} \pm 72.9 \mathrm{μs}\left({\color{red}5.51 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$14.4 \mathrm{ms} \pm 74.3 \mathrm{μs}\left({\color{gray}-1.625 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$14.8 \mathrm{ms} \pm 85.2 \mathrm{μs}\left({\color{gray}-0.919 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$14.1 \mathrm{ms} \pm 108 \mathrm{μs}\left({\color{gray}3.49 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 1 entities $$55.4 \mathrm{ms} \pm 248 \mathrm{μs}\left({\color{gray}-0.502 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$5.52 \mathrm{s} \pm 544 \mathrm{ms}\left({\color{red}1437 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$103 \mathrm{ms} \pm 534 \mathrm{μs}\left({\color{gray}-3.254 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$248 \mathrm{ms} \pm 13.0 \mathrm{ms}\left({\color{gray}-1.529 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$66.7 \mathrm{ms} \pm 370 \mathrm{μs}\left({\color{gray}-0.437 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 1 entities $$14.5 \mathrm{ms} \pm 112 \mathrm{μs}\left({\color{gray}-3.529 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$17.7 \mathrm{ms} \pm 143 \mathrm{μs}\left({\color{gray}2.33 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$15.7 \mathrm{ms} \pm 135 \mathrm{μs}\left({\color{gray}-0.128 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$16.5 \mathrm{ms} \pm 250 \mathrm{μs}\left({\color{gray}-1.904 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$14.8 \mathrm{ms} \pm 89.0 \mathrm{μs}\left({\color{gray}-0.127 \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 $$8.62 \mathrm{ms} \pm 31.8 \mathrm{μs}\left({\color{gray}-0.123 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$259 \mathrm{ms} \pm 2.61 \mathrm{ms}\left({\color{gray}-0.090 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$233 \mathrm{ms} \pm 1.28 \mathrm{ms}\left({\color{gray}-0.260 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$279 \mathrm{ms} \pm 2.68 \mathrm{ms}\left({\color{gray}0.720 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$188 \mathrm{ms} \pm 950 \mathrm{μs}\left({\color{gray}-0.802 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$247 \mathrm{ms} \pm 1.47 \mathrm{ms}\left({\color{gray}0.172 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$253 \mathrm{ms} \pm 1.70 \mathrm{ms}\left({\color{gray}-0.386 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$129 \mathrm{ms} \pm 804 \mathrm{μs}\left({\color{gray}0.399 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$108 \mathrm{ms} \pm 646 \mathrm{μs}\left({\color{gray}0.941 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$150 \mathrm{ms} \pm 1.14 \mathrm{ms}\left({\color{gray}0.220 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$100 \mathrm{ms} \pm 722 \mathrm{μs}\left({\color{gray}-0.911 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$117 \mathrm{ms} \pm 962 \mathrm{μs}\left({\color{gray}1.39 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$124 \mathrm{ms} \pm 651 \mathrm{μs}\left({\color{gray}1.12 \mathrm{\%}}\right) $$ Flame Graph

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 21, 2025
@hash-worker hash-worker bot added this pull request to the merge queue Jul 21, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jul 21, 2025
@hash-worker hash-worker bot enabled auto-merge July 21, 2025 08:48
@hash-worker hash-worker bot added this pull request to the merge queue Jul 21, 2025
Merged via the queue into main with commit 1b4e903 Jul 21, 2025
155 of 156 checks passed
@hash-worker hash-worker bot deleted the deps/rs/rand-0.x branch July 21, 2025 09:24
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