Skip to content

Update rollup npm packages#8540

Open
hash-worker[bot] wants to merge 1 commit intomainfrom
deps/js/rollup-npm-packages
Open

Update rollup npm packages#8540
hash-worker[bot] wants to merge 1 commit intomainfrom
deps/js/rollup-npm-packages

Conversation

@hash-worker
Copy link
Copy Markdown
Contributor

@hash-worker hash-worker bot commented Mar 13, 2026

This PR contains the following updates:

Package Change Age Confidence
@rollup/plugin-commonjs (source) 29.0.0 -> 29.0.2 age confidence
rollup (source) 4.59.0 -> 4.60.0 age confidence

Warning

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


Release Notes

rollup/plugins (@​rollup/plugin-commonjs)

v29.0.2

2026-03-06

Bugfixes
  • commonjs: conditional exports (#​1952)

v29.0.1

2026-03-05

Bugfixes
  • commonjs: correctly replaces shorthand "global" property in object (#​1957)
rollup/rollup (rollup)

v4.60.0

Compare Source

2026-03-22

Features
  • Support source phase imports as long as they are external (#​6279)
Pull Requests

v4.59.1

Compare Source

2026-03-21

Bug Fixes
  • Fix a crash when using lazy dynamic imports with moduleSideEffects:false (#​6306)
Pull Requests

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - "before 4am every weekday,every weekend" (UTC).

🚦 Automerge: Enabled.

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

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 March 13, 2026 00:42
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Apr 5, 2026 7:50am
hashdotdesign Ready Ready Preview, Comment Apr 5, 2026 7:50am
hashdotdesign-tokens Ready Ready Preview, Comment Apr 5, 2026 7:50am
petrinaut Ready Ready Preview, Comment Apr 5, 2026 7:50am

@cursor
Copy link
Copy Markdown

cursor bot commented Mar 13, 2026

PR Summary

Low Risk
Low risk dependency-only update affecting the build tooling for a couple of packages. Potential impact is limited to bundling/output differences from the Rollup minor bump.

Overview
Updates build tooling dependencies by bumping rollup from 4.59.0 to 4.60.0 and @rollup/plugin-commonjs from 29.0.0 to 29.0.2 for @blockprotocol/type-system and @tests/hash-backend-load.

Regenerates yarn.lock to reflect the new Rollup platform-specific binaries and updated plugin resolution.

Reviewed by Cursor Bugbot for commit 5df40ab. Bugbot is set up for automated code reviews on this repo. Configure here.

@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/libs Relates to first-party libraries/crates/packages (area) area/tests New or updated tests labels Mar 13, 2026
@augmentcode
Copy link
Copy Markdown

augmentcode bot commented Mar 13, 2026

🤖 Augment PR Summary

Summary: Updates @rollup/plugin-commonjs from 29.0.0 to 29.0.2 in the type-system TypeScript package and the backend load-test package.

Why: Pulls in the latest upstream bugfixes (notably around conditional exports and global shorthand replacement) without changing the broader Rollup toolchain.

🤖 Was this summary useful? React with 👍 or 👎

Copy link
Copy Markdown

@augmentcode augmentcode bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review completed. No suggestions at this time.

Comment augment review to trigger a new review at any time.

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 24, 2026

Merging this PR will not alter performance

✅ 80 untouched benchmarks


Comparing deps/js/rollup-npm-packages (5df40ab) with main (72b0a7b)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (b03f6fe) during the generation of this report, so 72b0a7b was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Rollup updated to 4.60.0 instead of described 4.59.1
    • I pinned rollup to 4.59.1 in both flagged package manifests and regenerated yarn.lock so those workspaces now resolve to 4.59.1 as intended.

Create PR

Or push these changes by commenting:

@cursor push 594afef19d
Preview (594afef19d)
diff --git a/libs/@blockprotocol/type-system/typescript/package.json b/libs/@blockprotocol/type-system/typescript/package.json
--- a/libs/@blockprotocol/type-system/typescript/package.json
+++ b/libs/@blockprotocol/type-system/typescript/package.json
@@ -68,7 +68,7 @@
     "eslint": "9.39.3",
     "react": "19.2.3",
     "rimraf": "6.1.3",
-    "rollup": "4.60.0",
+    "rollup": "4.59.1",
     "tslib": "2.8.1",
     "tsx": "4.20.6",
     "typescript": "5.9.3",

diff --git a/tests/hash-backend-load/package.json b/tests/hash-backend-load/package.json
--- a/tests/hash-backend-load/package.json
+++ b/tests/hash-backend-load/package.json
@@ -56,7 +56,7 @@
     "@types/dotenv-flow": "3.3.3",
     "eslint": "9.39.3",
     "rimraf": "6.1.3",
-    "rollup": "4.60.0",
+    "rollup": "4.59.1",
     "typescript": "5.9.3"
   }
 }

diff --git a/yarn.lock b/yarn.lock
--- a/yarn.lock
+++ b/yarn.lock
@@ -4970,7 +4970,7 @@
     eslint: "npm:9.39.3"
     react: "npm:19.2.3"
     rimraf: "npm:6.1.3"
-    rollup: "npm:4.60.0"
+    rollup: "npm:4.59.1"
     semver: "npm:7.7.3"
     tslib: "npm:2.8.1"
     tsx: "npm:4.20.6"
@@ -14546,6 +14546,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-android-arm-eabi@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-android-arm-eabi@npm:4.59.1"
+  conditions: os=android & cpu=arm
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-android-arm-eabi@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-android-arm-eabi@npm:4.60.0"
@@ -14553,6 +14560,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-android-arm64@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-android-arm64@npm:4.59.1"
+  conditions: os=android & cpu=arm64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-android-arm64@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-android-arm64@npm:4.60.0"
@@ -14560,6 +14574,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-darwin-arm64@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-darwin-arm64@npm:4.59.1"
+  conditions: os=darwin & cpu=arm64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-darwin-arm64@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-darwin-arm64@npm:4.60.0"
@@ -14567,6 +14588,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-darwin-x64@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-darwin-x64@npm:4.59.1"
+  conditions: os=darwin & cpu=x64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-darwin-x64@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-darwin-x64@npm:4.60.0"
@@ -14574,6 +14602,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-freebsd-arm64@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-freebsd-arm64@npm:4.59.1"
+  conditions: os=freebsd & cpu=arm64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-freebsd-arm64@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-freebsd-arm64@npm:4.60.0"
@@ -14581,6 +14616,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-freebsd-x64@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-freebsd-x64@npm:4.59.1"
+  conditions: os=freebsd & cpu=x64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-freebsd-x64@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-freebsd-x64@npm:4.60.0"
@@ -14588,6 +14630,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-arm-gnueabihf@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.59.1"
+  conditions: os=linux & cpu=arm & libc=glibc
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-arm-gnueabihf@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.60.0"
@@ -14595,6 +14644,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-arm-musleabihf@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.59.1"
+  conditions: os=linux & cpu=arm & libc=musl
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-arm-musleabihf@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.60.0"
@@ -14602,6 +14658,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-arm64-gnu@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.59.1"
+  conditions: os=linux & cpu=arm64 & libc=glibc
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-arm64-gnu@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.60.0"
@@ -14609,6 +14672,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-arm64-musl@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-arm64-musl@npm:4.59.1"
+  conditions: os=linux & cpu=arm64 & libc=musl
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-arm64-musl@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-arm64-musl@npm:4.60.0"
@@ -14616,6 +14686,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-loong64-gnu@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-loong64-gnu@npm:4.59.1"
+  conditions: os=linux & cpu=loong64 & libc=glibc
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-loong64-gnu@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-loong64-gnu@npm:4.60.0"
@@ -14623,6 +14700,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-loong64-musl@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-loong64-musl@npm:4.59.1"
+  conditions: os=linux & cpu=loong64 & libc=musl
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-loong64-musl@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-loong64-musl@npm:4.60.0"
@@ -14630,6 +14714,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-ppc64-gnu@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.59.1"
+  conditions: os=linux & cpu=ppc64 & libc=glibc
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-ppc64-gnu@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-ppc64-gnu@npm:4.60.0"
@@ -14637,6 +14728,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-ppc64-musl@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-ppc64-musl@npm:4.59.1"
+  conditions: os=linux & cpu=ppc64 & libc=musl
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-ppc64-musl@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-ppc64-musl@npm:4.60.0"
@@ -14644,6 +14742,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-riscv64-gnu@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.59.1"
+  conditions: os=linux & cpu=riscv64 & libc=glibc
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-riscv64-gnu@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.60.0"
@@ -14651,6 +14756,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-riscv64-musl@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.59.1"
+  conditions: os=linux & cpu=riscv64 & libc=musl
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-riscv64-musl@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-riscv64-musl@npm:4.60.0"
@@ -14658,6 +14770,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-s390x-gnu@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.59.1"
+  conditions: os=linux & cpu=s390x & libc=glibc
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-s390x-gnu@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.60.0"
@@ -14665,6 +14784,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-x64-gnu@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-x64-gnu@npm:4.59.1"
+  conditions: os=linux & cpu=x64 & libc=glibc
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-x64-gnu@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-x64-gnu@npm:4.60.0"
@@ -14672,6 +14798,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-linux-x64-musl@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-linux-x64-musl@npm:4.59.1"
+  conditions: os=linux & cpu=x64 & libc=musl
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-linux-x64-musl@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-linux-x64-musl@npm:4.60.0"
@@ -14679,6 +14812,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-openbsd-x64@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-openbsd-x64@npm:4.59.1"
+  conditions: os=openbsd & cpu=x64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-openbsd-x64@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-openbsd-x64@npm:4.60.0"
@@ -14686,6 +14826,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-openharmony-arm64@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-openharmony-arm64@npm:4.59.1"
+  conditions: os=openharmony & cpu=arm64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-openharmony-arm64@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-openharmony-arm64@npm:4.60.0"
@@ -14693,6 +14840,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-win32-arm64-msvc@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.59.1"
+  conditions: os=win32 & cpu=arm64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-win32-arm64-msvc@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.60.0"
@@ -14700,6 +14854,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-win32-ia32-msvc@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.59.1"
+  conditions: os=win32 & cpu=ia32
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-win32-ia32-msvc@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.60.0"
@@ -14707,6 +14868,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-win32-x64-gnu@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-win32-x64-gnu@npm:4.59.1"
+  conditions: os=win32 & cpu=x64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-win32-x64-gnu@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-win32-x64-gnu@npm:4.60.0"
@@ -14714,6 +14882,13 @@
   languageName: node
   linkType: hard
 
+"@rollup/rollup-win32-x64-msvc@npm:4.59.1":
+  version: 4.59.1
+  resolution: "@rollup/rollup-win32-x64-msvc@npm:4.59.1"
+  conditions: os=win32 & cpu=x64
+  languageName: node
+  linkType: hard
+
 "@rollup/rollup-win32-x64-msvc@npm:4.60.0":
   version: 4.60.0
   resolution: "@rollup/rollup-win32-x64-msvc@npm:4.60.0"
@@ -17758,7 +17933,7 @@
     dotenv-flow: "npm:3.3.0"
     eslint: "npm:9.39.3"
     rimraf: "npm:6.1.3"
-    rollup: "npm:4.60.0"
+    rollup: "npm:4.59.1"
     typescript: "npm:5.9.3"
     uuid: "npm:13.0.0"
   languageName: unknown
@@ -41034,7 +41209,97 @@
   languageName: node
   linkType: hard
 
-"rollup@npm:4.60.0, rollup@npm:^4.34.9, rollup@npm:^4.35.0, rollup@npm:^4.43.0":
+"rollup@npm:4.59.1":
+  version: 4.59.1
+  resolution: "rollup@npm:4.59.1"
+  dependencies:
+    "@rollup/rollup-android-arm-eabi": "npm:4.59.1"
+    "@rollup/rollup-android-arm64": "npm:4.59.1"
+    "@rollup/rollup-darwin-arm64": "npm:4.59.1"
+    "@rollup/rollup-darwin-x64": "npm:4.59.1"
+    "@rollup/rollup-freebsd-arm64": "npm:4.59.1"
+    "@rollup/rollup-freebsd-x64": "npm:4.59.1"
+    "@rollup/rollup-linux-arm-gnueabihf": "npm:4.59.1"
+    "@rollup/rollup-linux-arm-musleabihf": "npm:4.59.1"
+    "@rollup/rollup-linux-arm64-gnu": "npm:4.59.1"
+    "@rollup/rollup-linux-arm64-musl": "npm:4.59.1"
+    "@rollup/rollup-linux-loong64-gnu": "npm:4.59.1"
+    "@rollup/rollup-linux-loong64-musl": "npm:4.59.1"
+    "@rollup/rollup-linux-ppc64-gnu": "npm:4.59.1"
+    "@rollup/rollup-linux-ppc64-musl": "npm:4.59.1"
+    "@rollup/rollup-linux-riscv64-gnu": "npm:4.59.1"
+    "@rollup/rollup-linux-riscv64-musl": "npm:4.59.1"
+    "@rollup/rollup-linux-s390x-gnu": "npm:4.59.1"
+    "@rollup/rollup-linux-x64-gnu": "npm:4.59.1"
+    "@rollup/rollup-linux-x64-musl": "npm:4.59.1"
+    "@rollup/rollup-openbsd-x64": "npm:4.59.1"
+    "@rollup/rollup-openharmony-arm64": "npm:4.59.1"
+    "@rollup/rollup-win32-arm64-msvc": "npm:4.59.1"
+    "@rollup/rollup-win32-ia32-msvc": "npm:4.59.1"
+    "@rollup/rollup-win32-x64-gnu": "npm:4.59.1"
+    "@rollup/rollup-win32-x64-msvc": "npm:4.59.1"
+    "@types/estree": "npm:1.0.8"
+    fsevents: "npm:~2.3.2"
+  dependenciesMeta:
+    "@rollup/rollup-android-arm-eabi":
+      optional: true
+    "@rollup/rollup-android-arm64":
+      optional: true
+    "@rollup/rollup-darwin-arm64":
+      optional: true
+    "@rollup/rollup-darwin-x64":
+      optional: true
+    "@rollup/rollup-freebsd-arm64":
+      optional: true
+    "@rollup/rollup-freebsd-x64":
+      optional: true
+    "@rollup/rollup-linux-arm-gnueabihf":
+      optional: true
+    "@rollup/rollup-linux-arm-musleabihf":
+      optional: true
+    "@rollup/rollup-linux-arm64-gnu":
+      optional: true
+    "@rollup/rollup-linux-arm64-musl":
+      optional: true
+    "@rollup/rollup-linux-loong64-gnu":
+      optional: true
+    "@rollup/rollup-linux-loong64-musl":
+      optional: true
+    "@rollup/rollup-linux-ppc64-gnu":
+      optional: true
+    "@rollup/rollup-linux-ppc64-musl":
+      optional: true
+    "@rollup/rollup-linux-riscv64-gnu":
+      optional: true
+    "@rollup/rollup-linux-riscv64-musl":
+      optional: true
+    "@rollup/rollup-linux-s390x-gnu":
+      optional: true
+    "@rollup/rollup-linux-x64-gnu":
+      optional: true
+    "@rollup/rollup-linux-x64-musl":
+      optional: true
+    "@rollup/rollup-openbsd-x64":
+      optional: true
+    "@rollup/rollup-openharmony-arm64":
+      optional: true
+    "@rollup/rollup-win32-arm64-msvc":
+      optional: true
+    "@rollup/rollup-win32-ia32-msvc":
+      optional: true
+    "@rollup/rollup-win32-x64-gnu":
+      optional: true
+    "@rollup/rollup-win32-x64-msvc":
+      optional: true
+    fsevents:
+      optional: true
+  bin:
+    rollup: dist/bin/rollup
+  checksum: 10c0/4957d4ed537756c06d16132097dc74d92e0ca2c8f8b05d864c4525e44d16bf0bcf1c2f05a19ce0c131a453826f640d7b3a52e1a7c6ebf0c8539aab6505c93ec9
+  languageName: node
+  linkType: hard
+
+"rollup@npm:^4.34.9, rollup@npm:^4.35.0, rollup@npm:^4.43.0":
   version: 4.60.0
   resolution: "rollup@npm:4.60.0"
   dependencies:

This Bugbot Autofix run was free. To enable autofix for future PRs, go to the Cursor dashboard.

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 4, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.50%. Comparing base (a70891f) to head (5df40ab).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8540      +/-   ##
==========================================
- Coverage   62.50%   62.50%   -0.01%     
==========================================
  Files        1318     1318              
  Lines      134219   134224       +5     
  Branches     5518     5518              
==========================================
  Hits        83895    83895              
- Misses      49409    49414       +5     
  Partials      915      915              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.40% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.harpc-client 51.24% <ø> (ø)
local.hash-graph-sdk 9.63% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.error-stack 90.87% <ø> (ø)
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.21% <ø> (ø)
rust.harpc-tower 67.03% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-graph-api 2.52% <ø> (ø)
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 26.38% <ø> (-0.01%) ⬇️
rust.hash-graph-store 37.76% <ø> (ø)
rust.hash-graph-temporal-versioning 47.95% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.45% <ø> (ø)
rust.hashql-ast 87.23% <ø> (ø)
rust.hashql-compiletest 29.69% <ø> (ø)
rust.hashql-core 82.29% <ø> (ø)
rust.hashql-diagnostics 72.43% <ø> (ø)
rust.hashql-eval 69.13% <ø> (ø)
rust.hashql-hir 89.06% <ø> (ø)
rust.hashql-mir 92.64% <ø> (ø)
rust.hashql-syntax-jexpr 94.05% <ø> (ø)

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.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 4, 2026

Benchmark results

@rust/hash-graph-benches – Integrations

policy_resolution_large

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2002 $$27.6 \mathrm{ms} \pm 198 \mathrm{μs}\left({\color{gray}1.15 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.92 \mathrm{ms} \pm 15.2 \mathrm{μs}\left({\color{gray}1.24 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$12.6 \mathrm{ms} \pm 51.7 \mathrm{μs}\left({\color{gray}1.16 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$39.3 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}-0.551 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$12.8 \mathrm{ms} \pm 124 \mathrm{μs}\left({\color{gray}-0.333 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$22.0 \mathrm{ms} \pm 119 \mathrm{μs}\left({\color{gray}-0.596 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$28.2 \mathrm{ms} \pm 167 \mathrm{μs}\left({\color{gray}2.03 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.22 \mathrm{ms} \pm 20.4 \mathrm{μs}\left({\color{gray}-0.600 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.7 \mathrm{ms} \pm 90.2 \mathrm{μs}\left({\color{gray}0.817 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.21 \mathrm{ms} \pm 18.3 \mathrm{μs}\left({\color{gray}-2.303 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.44 \mathrm{ms} \pm 12.0 \mathrm{μs}\left({\color{gray}-4.306 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$2.72 \mathrm{ms} \pm 11.9 \mathrm{μs}\left({\color{gray}-3.574 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$4.59 \mathrm{ms} \pm 30.6 \mathrm{μs}\left({\color{gray}0.792 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.04 \mathrm{ms} \pm 18.6 \mathrm{μs}\left({\color{gray}-0.091 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$3.56 \mathrm{ms} \pm 22.6 \mathrm{μs}\left({\color{gray}-3.965 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$3.80 \mathrm{ms} \pm 20.4 \mathrm{μs}\left({\color{lightgreen}-5.961 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.84 \mathrm{ms} \pm 15.0 \mathrm{μs}\left({\color{gray}-4.479 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$3.38 \mathrm{ms} \pm 17.4 \mathrm{μs}\left({\color{lightgreen}-9.319 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.21 \mathrm{ms} \pm 11.2 \mathrm{μs}\left({\color{gray}-1.002 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.18 \mathrm{ms} \pm 13.4 \mathrm{μs}\left({\color{gray}-1.480 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.25 \mathrm{ms} \pm 9.59 \mathrm{μs}\left({\color{gray}-3.366 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$2.50 \mathrm{ms} \pm 14.3 \mathrm{μs}\left({\color{gray}0.288 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.31 \mathrm{ms} \pm 11.2 \mathrm{μs}\left({\color{gray}-2.040 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$2.63 \mathrm{ms} \pm 18.1 \mathrm{μs}\left({\color{gray}-0.238 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$2.52 \mathrm{ms} \pm 15.8 \mathrm{μs}\left({\color{gray}-0.219 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.29 \mathrm{ms} \pm 13.6 \mathrm{μs}\left({\color{gray}2.91 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$2.38 \mathrm{ms} \pm 11.4 \mathrm{μs}\left({\color{gray}0.076 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$2.86 \mathrm{ms} \pm 14.4 \mathrm{μs}\left({\color{gray}-0.706 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$2.48 \mathrm{ms} \pm 10.8 \mathrm{μs}\left({\color{gray}-0.686 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$2.67 \mathrm{ms} \pm 14.7 \mathrm{μs}\left({\color{gray}-0.201 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$2.80 \mathrm{ms} \pm 13.7 \mathrm{μs}\left({\color{gray}-3.800 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.49 \mathrm{ms} \pm 12.0 \mathrm{μs}\left({\color{gray}0.837 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$2.71 \mathrm{ms} \pm 12.4 \mathrm{μs}\left({\color{gray}0.343 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$40.5 \mathrm{ms} \pm 193 \mathrm{μs}\left({\color{gray}3.04 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$80.4 \mathrm{ms} \pm 453 \mathrm{μs}\left({\color{gray}2.66 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$45.9 \mathrm{ms} \pm 185 \mathrm{μs}\left({\color{gray}2.75 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$49.7 \mathrm{ms} \pm 319 \mathrm{μs}\left({\color{gray}3.32 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$57.7 \mathrm{ms} \pm 352 \mathrm{μs}\left({\color{gray}2.93 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$41.8 \mathrm{ms} \pm 202 \mathrm{μs}\left({\color{gray}-3.065 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$423 \mathrm{ms} \pm 917 \mathrm{μs}\left({\color{gray}1.64 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$93.7 \mathrm{ms} \pm 348 \mathrm{μs}\left({\color{gray}4.72 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$92.9 \mathrm{ms} \pm 335 \mathrm{μs}\left({\color{gray}-0.728 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$265 \mathrm{ms} \pm 753 \mathrm{μs}\left({\color{gray}0.143 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$18.0 \mathrm{ms} \pm 104 \mathrm{μs}\left({\color{gray}3.27 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$18.1 \mathrm{ms} \pm 74.7 \mathrm{μs}\left({\color{gray}-2.359 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$18.5 \mathrm{ms} \pm 103 \mathrm{μs}\left({\color{gray}-0.826 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$17.8 \mathrm{ms} \pm 86.8 \mathrm{μs}\left({\color{gray}-2.144 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$22.6 \mathrm{ms} \pm 90.6 \mathrm{μs}\left({\color{gray}1.51 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$17.5 \mathrm{ms} \pm 78.8 \mathrm{μs}\left({\color{gray}-3.381 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$17.9 \mathrm{ms} \pm 103 \mathrm{μs}\left({\color{gray}-1.472 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$17.9 \mathrm{ms} \pm 79.7 \mathrm{μs}\left({\color{gray}-0.171 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$18.5 \mathrm{ms} \pm 91.8 \mathrm{μs}\left({\color{gray}-1.075 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$24.8 \mathrm{ms} \pm 166 \mathrm{μs}\left({\color{gray}2.65 \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/block/v/1 $$32.5 \mathrm{ms} \pm 337 \mathrm{μs}\left({\color{gray}2.50 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$32.6 \mathrm{ms} \pm 273 \mathrm{μs}\left({\color{gray}-1.418 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$32.9 \mathrm{ms} \pm 272 \mathrm{μs}\left({\color{gray}-0.633 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$32.2 \mathrm{ms} \pm 274 \mathrm{μs}\left({\color{gray}-1.135 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$32.2 \mathrm{ms} \pm 315 \mathrm{μs}\left({\color{gray}-3.522 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$32.0 \mathrm{ms} \pm 293 \mathrm{μs}\left({\color{gray}-0.912 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$32.6 \mathrm{ms} \pm 276 \mathrm{μs}\left({\color{gray}0.362 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$33.1 \mathrm{ms} \pm 270 \mathrm{μs}\left({\color{gray}4.29 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$32.6 \mathrm{ms} \pm 327 \mathrm{μs}\left({\color{gray}2.33 \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 $$7.33 \mathrm{ms} \pm 40.7 \mathrm{μs}\left({\color{gray}3.69 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$99.3 \mathrm{ms} \pm 552 \mathrm{μs}\left({\color{gray}4.10 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$139 \mathrm{ms} \pm 480 \mathrm{μs}\left({\color{gray}-2.348 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$104 \mathrm{ms} \pm 392 \mathrm{μs}\left({\color{gray}2.72 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$111 \mathrm{ms} \pm 419 \mathrm{μs}\left({\color{gray}-0.857 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$120 \mathrm{ms} \pm 516 \mathrm{μs}\left({\color{gray}-0.160 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$124 \mathrm{ms} \pm 474 \mathrm{μs}\left({\color{gray}-1.812 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$100.0 \mathrm{ms} \pm 418 \mathrm{μs}\left({\color{gray}-1.842 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$124 \mathrm{ms} \pm 427 \mathrm{μs}\left({\color{gray}-0.476 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$106 \mathrm{ms} \pm 467 \mathrm{μs}\left({\color{gray}-0.799 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$113 \mathrm{ms} \pm 410 \mathrm{μs}\left({\color{gray}-1.284 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$115 \mathrm{ms} \pm 362 \mathrm{μs}\left({\color{gray}-0.816 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$115 \mathrm{ms} \pm 383 \mathrm{μs}\left({\color{gray}-1.890 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$120 \mathrm{ms} \pm 438 \mathrm{μs}\left({\color{lightgreen}-9.797 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$130 \mathrm{ms} \pm 481 \mathrm{μs}\left({\color{lightgreen}-8.116 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$91.3 \mathrm{ms} \pm 417 \mathrm{μs}\left({\color{gray}-0.204 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$495 \mathrm{ms} \pm 1.09 \mathrm{ms}\left({\color{gray}-2.035 \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) area/libs Relates to first-party libraries/crates/packages (area) area/tests New or updated tests

Development

Successfully merging this pull request may close these issues.

1 participant