Skip to content
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

Update cedar-policy Rust crates to v4.3.3 #6551

Merged
merged 1 commit into from
Feb 26, 2025

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Feb 26, 2025

This PR contains the following updates:

Package Type Update Change
cedar-policy-core (source) workspace.dependencies patch =4.3.2 -> =4.3.3
cedar-policy-validator (source) workspace.dependencies patch =4.3.2 -> =4.3.3

Warning

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


Release Notes

cedar-policy/cedar (cedar-policy-core)

v4.3.3

Compare Source

Release 4.3.3, available on crates.io

Changed
  • Significant changes to the API for the experimental protobufs feature
    (#​1452, #​1467, others)
Fixed
  • Fixed the experimental protobufs feature so that code depending on cedar-policy
    with this feature now successfully builds, even if that code is not part of the
    same Cargo workspace as cedar-policy, cedar-policy-core, etc (#​1452).
  • Fixed a bug in the experimental entity-manifest feature. If an entity appears as
    both a possible value for a scope variable and an entity literal, slicing
    using entity manifests will now correctly capture all necessary attributes (#​1429).
  • Fixed a bug in the experimental entity-manifest and level-validate
    features. These features failed to consider any attribute accesses occurring
    inside the guard of an if expression when guard expression had a singleton
    boolean type (#​1462).

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 these updates 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 February 26, 2025 10:12
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/playlist/v/1 $$16.9 \mathrm{ms} \pm 170 \mathrm{μs}\left({\color{gray}-0.291 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$17.1 \mathrm{ms} \pm 213 \mathrm{μs}\left({\color{red}5.39 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$15.6 \mathrm{ms} \pm 169 \mathrm{μs}\left({\color{lightgreen}-31.222 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.8 \mathrm{ms} \pm 204 \mathrm{μs}\left({\color{gray}1.79 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.2 \mathrm{ms} \pm 186 \mathrm{μs}\left({\color{lightgreen}-14.226 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$17.9 \mathrm{ms} \pm 260 \mathrm{μs}\left({\color{lightgreen}-20.859 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$15.8 \mathrm{ms} \pm 177 \mathrm{μs}\left({\color{lightgreen}-5.212 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.6 \mathrm{ms} \pm 217 \mathrm{μs}\left({\color{gray}2.59 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$16.9 \mathrm{ms} \pm 199 \mathrm{μs}\left({\color{gray}0.259 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$2.19 \mathrm{ms} \pm 19.3 \mathrm{μs}\left({\color{gray}4.84 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.99 \mathrm{ms} \pm 4.75 \mathrm{μs}\left({\color{gray}-0.517 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$4.11 \mathrm{ms} \pm 16.6 \mathrm{μs}\left({\color{gray}2.71 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.36 \mathrm{ms} \pm 17.6 \mathrm{μs}\left({\color{gray}0.193 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.97 \mathrm{ms} \pm 6.45 \mathrm{μs}\left({\color{gray}-0.075 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 $$2.12 \mathrm{ms} \pm 8.61 \mathrm{μs}\left({\color{gray}-1.096 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 10000 entities $$9.30 \mathrm{ms} \pm 84.4 \mathrm{μs}\left({\color{lightgreen}-30.982 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.11 \mathrm{ms} \pm 8.07 \mathrm{μs}\left({\color{gray}0.405 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.01 \mathrm{ms} \pm 10.2 \mathrm{μs}\left({\color{gray}0.257 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.92 \mathrm{ms} \pm 10.2 \mathrm{μs}\left({\color{gray}-0.610 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$2.02 \mathrm{ms} \pm 10.3 \mathrm{μs}\left({\color{gray}1.62 \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 $$53.4 \mathrm{ms} \pm 495 \mathrm{μs}\left({\color{gray}3.14 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$37.2 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}-1.218 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$42.2 \mathrm{ms} \pm 321 \mathrm{μs}\left({\color{gray}-0.345 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$57.0 \mathrm{ms} \pm 517 \mathrm{μs}\left({\color{gray}2.55 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$71.1 \mathrm{ms} \pm 600 \mathrm{μs}\left({\color{red}10.6 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$48.2 \mathrm{ms} \pm 242 \mathrm{μs}\left({\color{gray}0.437 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$91.6 \mathrm{ms} \pm 3.43 \mathrm{ms}\left({\color{red}6.09 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$39.0 \mathrm{ms} \pm 215 \mathrm{μs}\left({\color{red}6.20 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$76.9 \mathrm{ms} \pm 872 \mathrm{μs}\left({\color{red}5.89 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$91.9 \mathrm{ms} \pm 383 \mathrm{μs}\left({\color{gray}3.16 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$97.6 \mathrm{ms} \pm 419 \mathrm{μs}\left({\color{gray}-0.246 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$81.4 \mathrm{ms} \pm 386 \mathrm{μs}\left({\color{gray}0.443 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$57.1 \mathrm{ms} \pm 165 \mathrm{μs}\left({\color{red}81.7 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$26.6 \mathrm{ms} \pm 82.1 \mathrm{μs}\left({\color{gray}-0.812 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$5.61 \mathrm{s} \pm 282 \mathrm{ms}\left({\color{red}2005 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$182 \mathrm{ms} \pm 1.14 \mathrm{ms}\left({\color{gray}3.34 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.5 \mathrm{ms} \pm 63.1 \mathrm{μs}\left({\color{gray}-1.645 \mathrm{\%}}\right) $$ Flame Graph

Merged via the queue into main with commit ea0fc75 Feb 26, 2025
151 checks passed
@hash-worker hash-worker bot deleted the deps/rs/cedar-policy-rust-crates branch February 26, 2025 10:47
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.

1 participant