Skip to content

Update npm package sharp to v0.35.4 [SECURITY] - abandoned - #9611

Closed
hash-dependencies[bot] wants to merge 3 commits into
mainfrom
deps/js/npm-sharp-vulnerability
Closed

hash-dependencies[bot] wants to merge 3 commits into
mainfrom
deps/js/npm-sharp-vulnerability

Conversation

@hash-dependencies

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
sharp (source, changelog) 0.35.30.35.4 age confidence

Warning

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


sharp: Vulnerabilities in libheif: GHSA-g89c-p67h-r497 and GHSA-2jg2-4ch7-h545

GHSA-rgj7-g3m4-5g8c

More information

Details

Impact

A number of vulnerabilities, two rated as "Critical" severity using CVSSv3, have been discovered and fixed in the upstream libheif dependency. These can lead to possible remote code execution (RCE) on glibc-based Linux when run under certain conditions.

The attack vector for these claims to be "network" however sharp does not provide any networking features so this vulnerability is down-rated to a "High" severity using CVSSv4 but please note its Subsequent System Impact.

Those processing untrusted input with versions of sharp prior to 0.35.4 are affected.

Patches
Using prebuilt binaries provided by sharp?

Most people rely on the prebuilt binaries provided by sharp.

Please upgrade sharp to the latest version, currently 0.35.4, which provides libheif 1.23.2.

Using a globally-installed libheif?

Please ensure you are using the latest libheif 1.23.2.

Workarounds

Add the following to your code to prevent sharp from decoding AVIF images.

sharp.block({ operation: ["VipsForeignLoadHeif"] });

Ensure you are using a node executable binary compiled as a Position Independent Executable (PIE). Most Linux package managers already do this for protection against RCE however be warned that the "official" Node.js binaries do not.

References

Severity

  • CVSS Score: 8.9 / 10 (High)
  • Vector String: CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

References

This data is provided by the GitHub Advisory Database (CC-BY 4.0).


Release Notes

lovell/sharp (sharp)

v0.35.4

Compare Source

https://github.com/lovell/sharp-libvips/releases/tag/v1.3.3


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • "before 4am every weekday,every weekend"

🚦 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 Mend Renovate CLI.

@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated
hash Ready Ready Preview Sep 15, 2026 9:22am UTC
hashdotdesign-tokens Ready Ready Preview Sep 15, 2026 9:22am UTC
petrinaut Ready Ready Preview Sep 15, 2026 9:22am UTC
petrinaut-docs Ready Ready Preview Sep 15, 2026 9:22am UTC

Request Review

@hash-dependencies

Copy link
Copy Markdown
Contributor Author

⚠️ 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: yarn.lock
➤ YN0000: · Yarn 4.16.0
➤ YN0000: ┌ Project validation
➤ YN0057: │ @apps/plugin-browser: 'nohoist' is deprecated, please use 'installConfig.hoistingLimits' instead
➤ YN0000: └ Completed
➤ YN0000: ┌ Resolution step
➤ YN0085: │ + sharp@npm:0.35.4, @emnapi/runtime@npm:1.11.3, @img/sharp-darwin-arm64@npm:0.35.4, @img/sharp-darwin-x64@npm:0.35.4, @img/sharp-freebsd-wasm32@npm:0.35.4, and 23 more.
➤ YN0000: └ Completed in 0s 858ms
➤ YN0000: ┌ Post-resolution validation
➤ YN0060: │ @astrojs/markdown-remark is listed by your project with version 7.2.4 (ped3581), which doesn't satisfy what astro and other dependencies request (7.2.2).
➤ YN0060: │ @types/react is listed by your project with version 19.2.14 (p99e71d), which doesn't satisfy what react-remove-scroll (via @tldraw/tldraw) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ eslint is listed by your project with version 9.39.4 (p88bec7), which doesn't satisfy what eslint-config-airbnb and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ eslint-plugin-react-hooks is listed by your project with version 7.0.1 (p699002), which doesn't satisfy what eslint-config-airbnb requests (^4.3.0).
➤ YN0060: │ graphology is listed by your project with version 0.26.0 (p418068), which doesn't satisfy what @react-sigma/core requests (~0.25.4).
➤ YN0060: │ react is listed by your project with version 19.2.6 (p297d1e), which doesn't satisfy what material-ui-popup-state and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react is listed by your project with version 19.2.6 (p327a01), which doesn't satisfy what react-inspector (via @hashintel/ds-components) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react is listed by your project with version 19.2.6 (p53dd30), which doesn't satisfy what react-inspector (via @ladle/react) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react is listed by your project with version 19.2.6 (p5a9f3c), which doesn't satisfy what @apollo/client and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react is listed by your project with version 19.2.6 (p656648), which doesn't satisfy what react-inspector (via @hashintel/ds-components) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react is listed by your project with version 19.2.6 (p9bfa18), which doesn't satisfy what react-inspector (via @hashintel/ds-components) and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react is listed by your project with version 19.2.6 (pb2c0b1), which doesn't satisfy what @apollo/client and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react-dom is listed by your project with version 19.2.6 (pbfb936), which doesn't satisfy what @apollo/client and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ react-hook-form is listed by your project with version 7.65.0 (pf60118), which doesn't satisfy what @hashintel/query-editor and other dependencies request (7.61.1).
➤ YN0060: │ storybook is listed by your project with version 9.1.19 (p14b1b3), which doesn't satisfy what eslint-plugin-storybook requests (^10.3.1).
➤ YN0060: │ storybook is listed by your project with version 9.1.19 (pa824a9), which doesn't satisfy what eslint-plugin-storybook requests (^10.3.1).
➤ YN0060: │ storybook is listed by your project with version 9.1.19 (pcf516a), which doesn't satisfy what eslint-plugin-storybook requests (^10.3.1).
➤ YN0060: │ storybook is listed by your project with version 9.1.19 (pf24719), which doesn't satisfy what eslint-plugin-storybook requests (^10.3.1).
➤ YN0060: │ type-fest is listed by your project with version 5.3.1 (pf96305), which doesn't satisfy what @pmmmwh/react-refresh-webpack-plugin requests (>=0.17.0 <5.0.0).
➤ YN0060: │ vitest is listed by your project with version 4.1.10 (p1105ba), which doesn't satisfy what @effect/vitest and other dependencies request (but they have non-overlapping ranges!).
➤ YN0060: │ zod is listed by your project with version 4.4.3 (p3cb446), which doesn't satisfy what zod-to-json-schema and other dependencies request (^3.25.0).
➤ YN0002: │ @apps/brunch-agent@workspace:apps/brunch-agent doesn't provide zod (p783fc3), requested by @anthropic-ai/sdk and other dependencies.
➤ YN0002: │ @apps/hash-ai-worker-ts@workspace:apps/hash-ai-worker-ts doesn't provide @llamaindex/core (p84f0aa), requested by @llamaindex/readers.
➤ YN0002: │ @apps/hash-ai-worker-ts@workspace:apps/hash-ai-worker-ts doesn't provide @llamaindex/env (p06d4a4), requested by @llamaindex/readers.
➤ YN0002: │ @apps/hash-ai-worker-ts@workspace:apps/hash-ai-worker-ts doesn't provide react (p686178), requested by @blockprotocol/core and other dependencies.
➤ YN0002: │ @apps/hash-api@workspace:apps/hash-api doesn't provide react (p7e58b9), requested by @blockprotocol/core and other dependencies.
➤ YN0002: │ @apps/hash-frontend@workspace:apps/hash-frontend doesn't provide @codemirror/view (pc99a9f), requested by @uiw/react-codemirror.
➤ YN0002: │ @apps/hash-frontend@workspace:apps/hash-frontend doesn't provide react-is (pe06c1b), requested by recharts.
➤ YN0002: │ @apps/hash-integration-worker@workspace:apps/hash-integration-worker doesn't provide react (p652198), requested by @blockprotocol/graph.
➤ YN0002: │ @apps/plugin-browser@workspace:apps/plugin-browser doesn't provide webpack-sources (p2d6859), requested by zip-webpack-plugin.
➤ YN0002: │ @blockprotocol/graph@workspace:libs/@blockprotocol/graph [da39f] doesn't provide @types/json-schema (p7740d4), requested by @apidevtools/json-schema-ref-parser.
➤ YN0002: │ @blockprotocol/graph@workspace:libs/@blockprotocol/graph [e419a] doesn't provide @types/json-schema (pa38d4c), requested by @apidevtools/json-schema-ref-parser.
➤ YN0002: │ @blockprotocol/graph@workspace:libs/@blockprotocol/graph doesn't provide @types/json-schema (p15605f), requested by @apidevtools/json-schema-ref-parser.
➤ YN0002: │ @blockprotocol/graph@workspace:libs/@blockprotocol/graph doesn't provide react (p975fc7), requested by @blockprotocol/core.
➤ YN0002: │ @hashintel/block-design-system@workspace:libs/@hashintel/block-design-system [482cc] doesn't provide prop-types (pdc545e), requested by react-type-animation.
➤ YN0002: │ @hashintel/block-design-system@workspace:libs/@hashintel/block-design-system [64938] doesn't provide prop-types (p520cec), requested by react-type-animation.
➤ YN0002: │ @hashintel/block-design-system@workspace:libs/@hashintel/block-design-system doesn't provide prop-types (pdf5207), requested by react-type-animation.
➤ YN0002: │ @hashintel/brunch-agent-transport-aisdk@workspace:libs/@hashintel/brunch-agent/packages/transport-aisdk doesn't provide zod (p91c509), requested by ai.
➤ YN0002: │ @hashintel/ds-components@workspace:libs/@hashintel/ds-components [482cc] doesn't provide esbuild (pdd3db9), requested by esbuild-plugin-svgr and other dependencies.
➤ YN0002: │ @hashintel/ds-components@workspace:libs/@hashintel/ds-components [482cc] doesn't provide playwright (pf22dae), requested by @vitest/browser-playwright.
➤ YN0002: │ @hashintel/ds-components@workspace:libs/@hashintel/ds-components [c2099] doesn't provide esbuild (p62400f), requested by esbuild-plugin-svgr and other dependencies.
➤ YN0002: │ @hashintel/ds-components@workspace:libs/@hashintel/ds-components [c2099] doesn't provide playwright (pe7944e), requested by @vitest/browser-playwright.
➤ YN0002: │ @hashintel/ds-components@workspace:libs/@hashintel/ds-components doesn't provide esbuild (pe4a1b8), requested by esbuild-plugin-svgr and other dependencies.
➤ YN0002: │ @hashintel/ds-components@workspace:libs/@hashintel/ds-components doesn't provide playwright (pe68d39), requested by @vitest/browser-playwright.
➤ YN0002: │ @hashintel/petrinaut@workspace:libs/@hashintel/petrinaut [482cc] doesn't provide zod (p3e879a), requested by ai.
➤ YN0002: │ @hashintel/petrinaut@workspace:libs/@hashintel/petrinaut [95a4e] doesn't provide zod (pe8cf49), requested by ai.
➤ YN0002: │ @hashintel/petrinaut@workspace:libs/@hashintel/petrinaut [c2099] doesn't provide zod (pe7c2dd), requested by ai.
➤ YN0002: │ @hashintel/petrinaut@workspace:libs/@hashintel/petrinaut doesn't provide zod (p3323f1), requested by ai.
➤ YN0002: │ @local/eslint@workspace:libs/@local/eslint doesn't provide eslint-plugin-jsx-a11y (p90ae76), requested by eslint-config-airbnb.
➤ YN0002: │ @local/eslint@workspace:libs/@local/eslint doesn't provide eslint-plugin-react (p47f64a), requested by eslint-config-airbnb.
➤ YN0002: │ @local/eslint@workspace:libs/@local/eslint doesn't provide storybook (p77c4dc), requested by eslint-plugin-storybook.
➤ YN0002: │ @local/harpc-client@workspace:libs/@local/harpc/client/typescript doesn't provide @effect/workflow (p5c866d), requested by @effect/cluster.
➤ YN0002: │ @local/hash-backend-utils@workspace:libs/@local/hash-backend-utils doesn't provide react (pe5f543), requested by @blockprotocol/core and other dependencies.
➤ YN0002: │ @local/hash-graph-sdk@workspace:libs/@local/graph/sdk/typescript doesn't provide react (p5e03d4), requested by @blockprotocol/graph.
➤ YN0002: │ @local/hash-isomorphic-utils@workspace:libs/@local/hash-isomorphic-utils doesn't provide react-dom (p3d46d6), requested by @apollo/client and other dependencies.
➤ YN0002: │ @local/repo-chores@workspace:libs/@local/repo-chores/node doesn't provide react (pe2fb17), requested by @blockprotocol/core.
➤ YN0002: │ @tests/hash-backend-integration@workspace:tests/hash-backend-integration doesn't provide graphql-request (p792347), requested by @graphql-codegen/typescript-graphql-request.
➤ YN0002: │ @tests/hash-backend-integration@workspace:tests/hash-backend-integration doesn't provide graphql-tag (pa67a63), requested by @graphql-codegen/typescript-graphql-request.
➤ YN0002: │ @tests/hash-backend-integration@workspace:tests/hash-backend-integration doesn't provide react (pec02bf), requested by @blockprotocol/graph.
➤ YN0002: │ @tests/hash-playwright@workspace:tests/hash-playwright doesn't provide react (p373b8b), requested by @blockprotocol/graph.
➤ YN0086: │ Some peer dependencies are incorrectly met by your project; run yarn explain peer-requirements <hash> for details, where <hash> is the six-letter p-prefixed code.
➤ YN0086: │ Some peer dependencies are incorrectly met by dependencies; run yarn explain peer-requirements for details.
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 5 packages were added to the project (+ 28.26 MiB).
➤ YN0000: └ Completed in 0s 575ms
➤ YN0000: ┌ Link step
➤ YN0073: │ Skipped due to mode=update-lockfile
➤ YN0000: └ Completed
➤ YN0000: ┌ Post-install validation
➤ YN0001: │ Error: Cannot find module '@yarnpkg/types'
Require stack:
- /tmp/renovate/repos/github/hashintel/hash/yarn.config.cjs
- /home/runner/.cache/node/corepack/v1/yarn/4.16.0/yarn.js
    at Module._resolveFilename (node:internal/modules/cjs/loader:1564:15)
    at wrapResolveFilename (node:internal/modules/cjs/loader:1118:27)
    at defaultResolveImplForCJSLoading (node:internal/modules/cjs/loader:1142:10)
    at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1169:12)
    at Module._load (node:internal/modules/cjs/loader:1341:5)
    at wrapModuleLoad (node:internal/modules/cjs/loader:261:19)
    at Module.require (node:internal/modules/cjs/loader:1674:12)
    at require (node:internal/modules/helpers:157:16)
    at Object.<anonymous> (/tmp/renovate/repos/github/hashintel/hash/yarn.config.cjs:7:26)
    at Module._compile (node:internal/modules/cjs/loader:1929:14)
➤ YN0000: └ Completed
➤ YN0000: · Failed with errors in 1s 864ms

@cursor

cursor Bot commented Sep 9, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Patch-level dependency bump with no source changes; main residual risk is native binary behavior in image pipelines (docs site, favicon tooling, Next transitive sharp).

Overview
Bumps sharp from 0.35.3 to 0.35.4 across the monorepo: direct deps in @apps/petrinaut-docs and @apps/petrinaut-website, plus the root resolutions entry for next/sharp. yarn.lock is refreshed so platform packages (@img/sharp-*) and bundled libvips (1.3.21.3.3) align with the new release.

This is a security-driven patch upgrade (libheif issues addressed in sharp’s prebuilt binaries). No application code changes—only dependency versions and the lockfile.

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

@codecov

codecov Bot commented Sep 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.89%. Comparing base (fb728e4) to head (a7a1bc2).
⚠️ Report is 45 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9611      +/-   ##
==========================================
- Coverage   65.90%   65.89%   -0.01%     
==========================================
  Files        1887     1887              
  Lines      198443   198443              
  Branches     8248     8248              
==========================================
- Hits       130774   130773       -1     
- Misses      66139    66140       +1     
  Partials     1530     1530              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.99% <ø> (ø)
apps.hash-api 15.35% <ø> (ø)
apps.hash-graph 12.54% <ø> (ø)
blockprotocol.type-system 38.15% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.harpc-client 51.49% <ø> (ø)
local.hash-backend-utils 3.27% <ø> (ø)
local.hash-graph-sdk 10.02% <ø> (ø)
local.hash-isomorphic-utils 12.22% <ø> (ø)
rust.antsi 2.36% <ø> (ø)
rust.error-stack 90.81% <ø> (ø)
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.21% <ø> (-0.02%) ⬇️
rust.harpc-tower 67.03% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-config 81.14% <ø> (ø)
rust.hash-graph-api 19.71% <ø> (ø)
rust.hash-graph-atlas 80.36% <ø> (ø)
rust.hash-graph-authentication 96.02% <ø> (ø)
rust.hash-graph-authorization 63.14% <ø> (ø)
rust.hash-graph-embeddings 91.88% <ø> (ø)
rust.hash-graph-postgres-store 32.15% <ø> (ø)
rust.hash-graph-store 48.41% <ø> (ø)
rust.hash-graph-temporal-versioning 50.18% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 84.71% <ø> (ø)
rust.hash-middleware 90.92% <ø> (ø)
rust.hashql-ast 89.63% <ø> (ø)
rust.hashql-compiletest 28.39% <ø> (ø)
rust.hashql-core 78.92% <ø> (ø)
rust.hashql-diagnostics 72.51% <ø> (ø)
rust.hashql-eval 79.82% <ø> (ø)
rust.hashql-hir 89.09% <ø> (ø)
rust.hashql-mir 87.92% <ø> (ø)
rust.hashql-syntax-jexpr 94.04% <ø> (ø)

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

☔ View full report in Codecov by Harness.
📢 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.

@codspeed

codspeed Bot commented Sep 9, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

⚠️ 6 benchmarks measured no execution time

Nothing ran under measurement, usually because the compiler removed the code under test. These results are not comparable, so they count as unchanged.

Preventing compiler optimizations

✅ 98 untouched benchmarks

Performance Changes

Benchmark BASE HEAD Efficiency
⚠️ as_constant < 1 ns < 1 ns N/A
⚠️ constant_equal < 1 ns < 1 ns N/A
⚠️ constant_not_equal < 1 ns < 1 ns N/A
⚠️ access < 1 ns < 1 ns N/A
⚠️ runtime_equal < 1 ns < 1 ns N/A
⚠️ runtime_not_equal < 1 ns < 1 ns N/A

Comparing deps/js/npm-sharp-vulnerability (a7a1bc2) with main (9cd2082)1

Open in CodSpeed

Footnotes

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

@hash-dependencies

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@hash-dependencies
hash-dependencies Bot added this pull request to the merge queue Sep 15, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Sep 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

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.3 \mathrm{ms} \pm 255 \mathrm{μs}\left({\color{gray}-3.353 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.47 \mathrm{ms} \pm 26.4 \mathrm{μs}\left({\color{gray}-0.710 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1002 $$12.5 \mathrm{ms} \pm 124 \mathrm{μs}\left({\color{lightgreen}-5.651 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$44.3 \mathrm{ms} \pm 365 \mathrm{μs}\left({\color{gray}-0.119 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$14.3 \mathrm{ms} \pm 148 \mathrm{μs}\left({\color{lightgreen}-5.290 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1527 $$24.2 \mathrm{ms} \pm 255 \mathrm{μs}\left({\color{gray}-3.143 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$28.5 \mathrm{ms} \pm 252 \mathrm{μs}\left({\color{gray}-3.631 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.77 \mathrm{ms} \pm 29.0 \mathrm{μs}\left({\color{gray}-0.259 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.4 \mathrm{ms} \pm 126 \mathrm{μs}\left({\color{lightgreen}-9.296 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.82 \mathrm{ms} \pm 30.5 \mathrm{μs}\left({\color{gray}-1.242 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.96 \mathrm{ms} \pm 18.8 \mathrm{μs}\left({\color{gray}-2.033 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 52 $$3.34 \mathrm{ms} \pm 17.0 \mathrm{μs}\left({\color{gray}-1.606 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.20 \mathrm{ms} \pm 41.4 \mathrm{μs}\left({\color{gray}-2.828 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.55 \mathrm{ms} \pm 20.5 \mathrm{μs}\left({\color{gray}-2.523 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 108 $$4.14 \mathrm{ms} \pm 24.9 \mathrm{μs}\left({\color{gray}-2.840 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.49 \mathrm{ms} \pm 36.7 \mathrm{μs}\left({\color{gray}-1.195 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.40 \mathrm{ms} \pm 21.4 \mathrm{μs}\left({\color{gray}-1.210 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.09 \mathrm{ms} \pm 31.2 \mathrm{μs}\left({\color{gray}-1.629 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.71 \mathrm{ms} \pm 14.0 \mathrm{μs}\left({\color{gray}-1.710 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.68 \mathrm{ms} \pm 22.3 \mathrm{μs}\left({\color{gray}-1.379 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 2 $$2.78 \mathrm{ms} \pm 19.8 \mathrm{μs}\left({\color{gray}-2.177 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$3.02 \mathrm{ms} \pm 16.9 \mathrm{μs}\left({\color{gray}-2.149 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.85 \mathrm{ms} \pm 21.7 \mathrm{μs}\left({\color{gray}-1.344 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$3.18 \mathrm{ms} \pm 23.5 \mathrm{μs}\left({\color{gray}-0.540 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.08 \mathrm{ms} \pm 18.0 \mathrm{μs}\left({\color{gray}-2.243 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.77 \mathrm{ms} \pm 18.6 \mathrm{μs}\left({\color{gray}-2.654 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 26 $$2.96 \mathrm{ms} \pm 24.9 \mathrm{μs}\left({\color{gray}-1.810 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.54 \mathrm{ms} \pm 22.9 \mathrm{μs}\left({\color{gray}-0.714 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.05 \mathrm{ms} \pm 21.0 \mathrm{μs}\left({\color{gray}-2.562 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 27 $$3.34 \mathrm{ms} \pm 27.1 \mathrm{μs}\left({\color{gray}-1.066 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.43 \mathrm{ms} \pm 20.5 \mathrm{μs}\left({\color{gray}-2.350 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.00 \mathrm{ms} \pm 16.6 \mathrm{μs}\left({\color{gray}-4.147 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.34 \mathrm{ms} \pm 21.6 \mathrm{μs}\left({\color{gray}-2.754 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$31.6 \mathrm{ms} \pm 233 \mathrm{μs}\left({\color{gray}-3.896 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$70.3 \mathrm{ms} \pm 596 \mathrm{μs}\left({\color{red}32.0 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$35.3 \mathrm{ms} \pm 436 \mathrm{μs}\left({\color{gray}-4.649 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$39.0 \mathrm{ms} \pm 292 \mathrm{μs}\left({\color{lightgreen}-6.584 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$41.1 \mathrm{ms} \pm 393 \mathrm{μs}\left({\color{gray}-4.945 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$33.3 \mathrm{ms} \pm 271 \mathrm{μs}\left({\color{gray}-4.658 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$416 \mathrm{ms} \pm 1.79 \mathrm{ms}\left({\color{red}63.5 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$88.9 \mathrm{ms} \pm 927 \mathrm{μs}\left({\color{gray}-1.408 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$78.2 \mathrm{ms} \pm 523 \mathrm{μs}\left({\color{lightgreen}-10.790 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$273 \mathrm{ms} \pm 1.05 \mathrm{ms}\left({\color{gray}-2.354 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$10.2 \mathrm{ms} \pm 64.0 \mathrm{μs}\left({\color{gray}-3.423 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$10.3 \mathrm{ms} \pm 59.2 \mathrm{μs}\left({\color{gray}-4.434 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$10.5 \mathrm{ms} \pm 61.7 \mathrm{μs}\left({\color{gray}-0.357 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$10.4 \mathrm{ms} \pm 94.1 \mathrm{μs}\left({\color{gray}-2.284 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$10.4 \mathrm{ms} \pm 63.7 \mathrm{μs}\left({\color{gray}-3.212 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$10.2 \mathrm{ms} \pm 74.4 \mathrm{μs}\left({\color{gray}-2.691 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$10.2 \mathrm{ms} \pm 61.5 \mathrm{μs}\left({\color{gray}-3.633 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$10.2 \mathrm{ms} \pm 60.4 \mathrm{μs}\left({\color{gray}-4.529 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$10.4 \mathrm{ms} \pm 82.2 \mathrm{μs}\left({\color{gray}-2.291 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$10.6 \mathrm{ms} \pm 80.1 \mathrm{μs}\left({\color{gray}-2.813 \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 $$10.6 \mathrm{ms} \pm 66.5 \mathrm{μs}\left({\color{gray}-4.501 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$10.8 \mathrm{ms} \pm 104 \mathrm{μs}\left({\color{gray}-2.983 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$10.9 \mathrm{ms} \pm 82.1 \mathrm{μs}\left({\color{gray}-2.329 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$10.6 \mathrm{ms} \pm 67.9 \mathrm{μs}\left({\color{gray}-4.350 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$10.7 \mathrm{ms} \pm 73.4 \mathrm{μs}\left({\color{gray}-3.562 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$10.9 \mathrm{ms} \pm 93.0 \mathrm{μs}\left({\color{gray}-3.158 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$10.6 \mathrm{ms} \pm 60.5 \mathrm{μs}\left({\color{lightgreen}-5.075 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$10.8 \mathrm{ms} \pm 80.1 \mathrm{μs}\left({\color{gray}-1.812 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$10.8 \mathrm{ms} \pm 71.8 \mathrm{μs}\left({\color{gray}-3.674 \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.90 \mathrm{ms} \pm 48.1 \mathrm{μs}\left({\color{gray}-1.968 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$54.9 \mathrm{ms} \pm 306 \mathrm{μs}\left({\color{gray}-4.251 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$106 \mathrm{ms} \pm 628 \mathrm{μs}\left({\color{gray}-2.506 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$61.0 \mathrm{ms} \pm 458 \mathrm{μs}\left({\color{gray}-4.724 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$69.8 \mathrm{ms} \pm 474 \mathrm{μs}\left({\color{gray}-3.986 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$78.3 \mathrm{ms} \pm 469 \mathrm{μs}\left({\color{gray}-2.560 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$85.0 \mathrm{ms} \pm 632 \mathrm{μs}\left({\color{gray}-3.982 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$45.0 \mathrm{ms} \pm 289 \mathrm{μs}\left({\color{gray}-3.321 \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 $$72.2 \mathrm{ms} \pm 585 \mathrm{μs}\left({\color{gray}-1.975 \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 $$50.8 \mathrm{ms} \pm 369 \mathrm{μs}\left({\color{lightgreen}-5.796 \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 $$59.3 \mathrm{ms} \pm 421 \mathrm{μs}\left({\color{gray}-3.193 \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 $$61.3 \mathrm{ms} \pm 376 \mathrm{μs}\left({\color{gray}-2.988 \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 $$61.7 \mathrm{ms} \pm 546 \mathrm{μs}\left({\color{gray}-3.751 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$106 \mathrm{ms} \pm 657 \mathrm{μs}\left({\color{lightgreen}-5.654 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$118 \mathrm{ms} \pm 645 \mathrm{μs}\left({\color{gray}-4.149 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$22.2 \mathrm{ms} \pm 153 \mathrm{μs}\left({\color{gray}3.96 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$518 \mathrm{ms} \pm 895 \mathrm{μs}\left({\color{gray}3.50 \mathrm{\%}}\right) $$ Flame Graph

@hash-dependencies hash-dependencies Bot changed the title Update npm package sharp to v0.35.4 [SECURITY] Update npm package sharp to v0.35.4 [SECURITY] - abandoned Sep 15, 2026
@hash-dependencies

Copy link
Copy Markdown
Contributor Author

Autoclosing Skipped

This PR has been flagged for autoclosing. However, it is being skipped due to the branch being already modified. Please close/delete it manually or report a bug if you think this is in error.

@claude

claude Bot commented Sep 15, 2026

Copy link
Copy Markdown
Contributor

Superseded by #9701, which put sharp 0.35.4 — the version this PR targets — on main. Merged three-way against main this PR produces no change outside yarn.lock, so closing.


Generated by Claude Code

@claude claude Bot closed this Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps area/deps Relates to third-party dependencies (area)

Development

Successfully merging this pull request may close these issues.

2 participants