Skip to content

SRE-805: Install Rust-ecosystem CI tools from GitHub releases via mise aqua backend#9017

Draft
claude[bot] wants to merge 4 commits into
mainfrom
claude/mise-wasm-tools-github-backend
Draft

SRE-805: Install Rust-ecosystem CI tools from GitHub releases via mise aqua backend#9017
claude[bot] wants to merge 4 commits into
mainfrom
claude/mise-wasm-tools-github-backend

Conversation

@claude

@claude claude Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Requested by Tim Diekmann · Slack thread

🌟 What is the purpose of this PR?

Before: Vercel builds fail at ./vercel-install.sh with mise ERROR Failed to install tools: cargo:wasm-opt@0.116.1, cargo:wasm-pack@0.15.0. mise re-resolves every config-declared tool's version on each install/use/reshim, and the cargo backend's only version source is crates.io/api/v1/crates//versions, which rate-limits Vercel's shared egress IPs (429) — roughly 8 mise invocations per build × 7 crates × retries ≈ 170 requests inside 75 seconds, and failed lookups aren't cached.

After: the tools that ship exact-version prebuilt GitHub releases for all four supported platforms (linux-x64, linux-arm64, macos-x64, macos-arm64) install via mise's aqua backend instead (checksum-verified, zero crates.io traffic):

  • wasm-packaqua:wasm-bindgen/wasm-pack (upstream moved to wasm-bindgen/wasm-pack; same 0.15.0)
  • cargo-llvm-covaqua:taiki-e/cargo-llvm-cov (0.8.7)
  • cargo-nextestaqua:nextest-rs/nextest/cargo-nextest (0.9.137; aqua maps this to release tag cargo-nextest-0.9.137)

wasm-opt does not change backend anywhere — it stays on cargo:wasm-opt, like cargo-insta, because binaryen publishes no linux-arm64 prebuilt binaries (the aqua registry marks it supported_envs: [darwin, amd64]) and wasm-opt runs inside the arm64 Docker image builds. An earlier revision of this PR split wasm-opt across two backends (aqua on amd64/darwin, cargo on arm64); that dual setup has been dropped — the committed mise.lock (from #9000, now enforced on main via mise install --locked) already pins the cargo-backend tools to exact versions and eliminates their crates.io version-listing calls, which was the whole point of the swap.

How/notes: cargo:wasm-opt, cargo:cargo-insta, cargo:cargo-hack, and cargo:cargo-codspeed stay on the cargo backend — wasm-opt and cargo-insta lack linux-arm64 prebuilts and both execute in the arm64 Docker image builds, cargo-hack has no aqua registry entry, and codspeed ships bare linux-musl-only binaries that would break macOS dev machines. With the lockfile enforced, their installs no longer hit the crates.io versions API. Installed binary names are unchanged, so all invocations (wasm-pack build, wasm-opt, cargo insta, cargo llvm-cov, cargo nextest) keep working as-is.

⚠️ Remaining step (required before CI can pass)

.config/mise/mise.lock does not yet contain entries for the three aqua-backed tools — aqua lock entries need per-platform release URLs and checksums that can only be generated with GitHub network access, which the authoring sandbox does not have. The stale cargo: lock entries for the renamed tools have been pruned; until the aqua entries are added, every mise install --locked setup job on this branch fails with … is not in the lockfile. On a machine with GitHub access, run:

mise lock "aqua:wasm-bindgen/wasm-pack" "aqua:nextest-rs/nextest/cargo-nextest" "aqua:taiki-e/cargo-llvm-cov" -p linux-x64,linux-arm64,macos-x64,macos-arm64

and commit the resulting .config/mise/mise.lock to this branch.

🔗 Related links

🔍 What does this change?

  • .config/mise/config.toml: swaps wasm-pack, cargo-llvm-cov, and cargo-nextest from the cargo: backend to aqua:. cargo:wasm-opt and cargo:cargo-insta stay on the cargo backend (no linux-arm64 prebuilts upstream — see comments in the file). Re-sorted and re-aligned per taplo reorder_keys/align_entries; cargo:cargo-hack, cargo:cargo-codspeed, and cargo-binstall are untouched
  • .config/mise/mise.lock: removes the stale cargo:wasm-pack, cargo:cargo-llvm-cov, and cargo:cargo-nextest entries (those tool IDs no longer exist in the config). The replacement aqua: entries still need to be generated — see Remaining step above
  • apps/hash-frontend/vercel-install.sh, apps/petrinaut-website/vercel-install.sh: the explicit mise install … tool list now uses aqua:wasm-bindgen/wasm-pack and keeps cargo:wasm-opt
  • apps/{hash-api,hash-ai-worker-ts,hash-frontend,hash-integration-worker}/docker/Dockerfile: mise install … uses aqua:wasm-bindgen/wasm-pack and keeps cargo:wasm-opt
  • libs/@blockprotocol/type-system/rust/package.json: mise exec … cargo:wasm-packaqua:wasm-bindgen/wasm-pack in the build:wasm script (tool ID only — the invoked binary is unchanged). All build:types scripts across the repo keep cargo:cargo-insta.

Pre-Merge Checklist 🚀

🚢 Has this modified a publishable library?

This PR:

  • does not modify any publishable blocks or libraries, or modifications do not need publishing

📜 Does this require a change to the docs?

The changes in this PR:

  • are internal and do not require a docs change

🕸️ Does this require a change to the Turbo Graph?

The changes in this PR:

  • do not affect the execution graph

⚠️ Known issues

  • Setup jobs fail until the lockfile is regenerated — see the Remaining step section above.
  • The mise config change invalidates turborepo's global cache once (expected — .config/mise is a global input), so the first CI run after merge is a cold build.
  • cargo-insta was moved to aqua:mitsuhiko/insta in an earlier revision of this PR, then reverted to the cargo: backend: it executes inside the arm64 Docker image builds (the build:types package scripts invoke it via mise exec during turbo build), and its prebuilt releases lack linux-arm64, so the aqua install fails there with unsupported env: linux/arm64. Its exact version is pinned by the committed lockfile.

🛡 What tests cover this?

  • No unit tests apply. The edited config parses cleanly with mise 2026.7.5 locally — mise ls resolves all aqua: tool IDs; actual installs could not be exercised in the authoring sandbox, so CI on this PR (after the lockfile is regenerated — see Remaining step) is the install verification.

❓ How to test this?

  1. Run the mise lock command from Remaining step and commit the lockfile — until then all setup jobs fail with … is not in the lockfile.
  2. Confirm the Vercel preview deployments (hash-frontend, petrinaut-website) build — ./vercel-install.sh should install aqua:wasm-bindgen/wasm-pack from GitHub releases without touching the crates.io versions API.
  3. Confirm the per-service Docker build validation jobs pass for both amd64 and arm64 — the images keep cargo:wasm-opt in their mise install layer.
  4. Confirm Rust CI jobs that use cargo-insta / cargo-llvm-cov / cargo-nextest still find their binaries (names unchanged).

Generated by Claude Code

@vercel

vercel Bot commented Jul 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Jul 13, 2026 7:42pm
hashdotdesign-tokens Ready Ready Preview, Comment Jul 13, 2026 7:42pm
petrinaut Ready Ready Preview, Comment Jul 13, 2026 7:42pm

@github-actions github-actions Bot added area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team type/eng > backend Owned by the @backend team area/apps labels Jul 13, 2026
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #9017   +/-   ##
=======================================
  Coverage   59.73%   59.73%           
=======================================
  Files        1371     1371           
  Lines      135461   135461           
  Branches     6066     6066           
=======================================
+ Hits        80911    80914    +3     
+ Misses      53618    53615    -3     
  Partials      932      932           
Flag Coverage Δ
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hashql-diagnostics 72.51% <ø> (ø)

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-hq

codspeed-hq Bot commented Jul 13, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 98 untouched benchmarks


Comparing claude/mise-wasm-tools-github-backend (f2f4db0) with main (b6fb59e)

Open in CodSpeed

@claude claude Bot changed the title Install Rust-ecosystem CI tools from GitHub releases via mise aqua backend SRE-805: Install Rust-ecosystem CI tools from GitHub releases via mise aqua backend Jul 13, 2026
@vercel vercel Bot temporarily deployed to Preview – petrinaut July 13, 2026 13:27 Inactive

@TimDiekmann TimDiekmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Your re-trigger commit is not validated. Either run it validated or find another way.

@claude claude Bot force-pushed the claude/mise-wasm-tools-github-backend branch from e17f315 to f2f4db0 Compare July 13, 2026 13:34
@vercel vercel Bot temporarily deployed to Preview – petrinaut July 13, 2026 13:34 Inactive
@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.2 \mathrm{ms} \pm 198 \mathrm{μs}\left({\color{gray}-0.399 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.42 \mathrm{ms} \pm 17.3 \mathrm{μs}\left({\color{gray}-0.536 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1002 $$12.3 \mathrm{ms} \pm 112 \mathrm{μs}\left({\color{gray}0.471 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$42.2 \mathrm{ms} \pm 412 \mathrm{μs}\left({\color{gray}-1.145 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$14.0 \mathrm{ms} \pm 124 \mathrm{μs}\left({\color{gray}1.53 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1527 $$23.9 \mathrm{ms} \pm 279 \mathrm{μs}\left({\color{gray}3.47 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$28.5 \mathrm{ms} \pm 287 \mathrm{μs}\left({\color{gray}0.826 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.75 \mathrm{ms} \pm 19.5 \mathrm{μs}\left({\color{gray}0.112 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.2 \mathrm{ms} \pm 84.0 \mathrm{μs}\left({\color{gray}-0.857 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.85 \mathrm{ms} \pm 26.2 \mathrm{μs}\left({\color{gray}1.81 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.98 \mathrm{ms} \pm 15.3 \mathrm{μs}\left({\color{gray}-1.628 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 52 $$3.41 \mathrm{ms} \pm 24.0 \mathrm{μs}\left({\color{gray}1.07 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.18 \mathrm{ms} \pm 24.5 \mathrm{μs}\left({\color{gray}-0.255 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.55 \mathrm{ms} \pm 19.2 \mathrm{μs}\left({\color{gray}-0.068 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 108 $$4.15 \mathrm{ms} \pm 26.9 \mathrm{μs}\left({\color{gray}-0.033 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.44 \mathrm{ms} \pm 33.1 \mathrm{μs}\left({\color{gray}0.957 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.46 \mathrm{ms} \pm 15.5 \mathrm{μs}\left({\color{gray}-0.164 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.17 \mathrm{ms} \pm 39.3 \mathrm{μs}\left({\color{gray}1.93 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.77 \mathrm{ms} \pm 24.0 \mathrm{μs}\left({\color{gray}3.38 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.52 \mathrm{ms} \pm 14.8 \mathrm{μs}\left({\color{gray}-0.633 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 2 $$2.67 \mathrm{ms} \pm 14.9 \mathrm{μs}\left({\color{gray}0.124 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$2.99 \mathrm{ms} \pm 21.2 \mathrm{μs}\left({\color{gray}0.744 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.79 \mathrm{ms} \pm 22.5 \mathrm{μs}\left({\color{gray}1.47 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$2.97 \mathrm{ms} \pm 18.3 \mathrm{μs}\left({\color{gray}-1.129 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.06 \mathrm{ms} \pm 18.4 \mathrm{μs}\left({\color{gray}0.772 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.76 \mathrm{ms} \pm 19.7 \mathrm{μs}\left({\color{gray}-0.080 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 26 $$2.94 \mathrm{ms} \pm 16.0 \mathrm{μs}\left({\color{gray}-1.539 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.45 \mathrm{ms} \pm 21.3 \mathrm{μs}\left({\color{gray}-1.035 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$2.98 \mathrm{ms} \pm 15.9 \mathrm{μs}\left({\color{gray}0.067 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 27 $$3.25 \mathrm{ms} \pm 15.8 \mathrm{μs}\left({\color{gray}-1.748 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.40 \mathrm{ms} \pm 23.3 \mathrm{μs}\left({\color{gray}-0.737 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.97 \mathrm{ms} \pm 19.4 \mathrm{μs}\left({\color{gray}0.893 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.31 \mathrm{ms} \pm 22.9 \mathrm{μs}\left({\color{gray}-1.117 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$41.9 \mathrm{ms} \pm 268 \mathrm{μs}\left({\color{gray}-0.027 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$32.5 \mathrm{ms} \pm 216 \mathrm{μs}\left({\color{gray}0.550 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$35.3 \mathrm{ms} \pm 248 \mathrm{μs}\left({\color{gray}0.340 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$32.5 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}0.497 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$41.1 \mathrm{ms} \pm 227 \mathrm{μs}\left({\color{gray}-0.206 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$49.4 \mathrm{ms} \pm 279 \mathrm{μs}\left({\color{gray}0.104 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$39.0 \mathrm{ms} \pm 239 \mathrm{μs}\left({\color{gray}-1.621 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$90.5 \mathrm{ms} \pm 624 \mathrm{μs}\left({\color{gray}0.700 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$33.1 \mathrm{ms} \pm 170 \mathrm{μs}\left({\color{gray}-0.323 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$274 \mathrm{ms} \pm 966 \mathrm{μs}\left({\color{lightgreen}-9.889 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$10.5 \mathrm{ms} \pm 70.4 \mathrm{μs}\left({\color{gray}-0.760 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$10.6 \mathrm{ms} \pm 67.9 \mathrm{μs}\left({\color{gray}-0.276 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$10.6 \mathrm{ms} \pm 65.5 \mathrm{μs}\left({\color{gray}-0.906 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$10.5 \mathrm{ms} \pm 47.7 \mathrm{μs}\left({\color{gray}-1.381 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$10.6 \mathrm{ms} \pm 58.6 \mathrm{μs}\left({\color{gray}-1.091 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$10.5 \mathrm{ms} \pm 55.5 \mathrm{μs}\left({\color{gray}-1.353 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$10.7 \mathrm{ms} \pm 58.0 \mathrm{μs}\left({\color{gray}-0.861 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$10.8 \mathrm{ms} \pm 62.0 \mathrm{μs}\left({\color{gray}-0.659 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$10.7 \mathrm{ms} \pm 66.3 \mathrm{μs}\left({\color{gray}-1.330 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$11.0 \mathrm{ms} \pm 78.9 \mathrm{μs}\left({\color{gray}-0.428 \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 $$11.2 \mathrm{ms} \pm 75.7 \mathrm{μs}\left({\color{gray}-0.219 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$11.1 \mathrm{ms} \pm 81.8 \mathrm{μs}\left({\color{gray}1.81 \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 64.3 \mathrm{μs}\left({\color{gray}-0.507 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$11.0 \mathrm{ms} \pm 56.8 \mathrm{μs}\left({\color{gray}0.216 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$11.0 \mathrm{ms} \pm 69.6 \mathrm{μs}\left({\color{gray}-0.286 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$11.0 \mathrm{ms} \pm 68.4 \mathrm{μs}\left({\color{gray}0.270 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$11.0 \mathrm{ms} \pm 64.4 \mathrm{μs}\left({\color{gray}0.017 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$11.1 \mathrm{ms} \pm 75.3 \mathrm{μs}\left({\color{gray}0.469 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$11.0 \mathrm{ms} \pm 50.1 \mathrm{μs}\left({\color{gray}-0.247 \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.57 \mathrm{ms} \pm 44.4 \mathrm{μs}\left({\color{gray}-1.598 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$55.6 \mathrm{ms} \pm 536 \mathrm{μs}\left({\color{lightgreen}-7.202 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$111 \mathrm{ms} \pm 539 \mathrm{μs}\left({\color{lightgreen}-5.012 \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.8 \mathrm{ms} \pm 405 \mathrm{μs}\left({\color{lightgreen}-6.919 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$71.5 \mathrm{ms} \pm 461 \mathrm{μs}\left({\color{lightgreen}-6.723 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$82.0 \mathrm{ms} \pm 426 \mathrm{μs}\left({\color{gray}-4.972 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$87.7 \mathrm{ms} \pm 678 \mathrm{μs}\left({\color{lightgreen}-5.538 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$42.8 \mathrm{ms} \pm 287 \mathrm{μs}\left({\color{gray}-2.917 \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.5 \mathrm{ms} \pm 403 \mathrm{μs}\left({\color{gray}-2.610 \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 $$48.9 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}-2.252 \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 $$58.4 \mathrm{ms} \pm 396 \mathrm{μs}\left({\color{gray}-3.329 \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.1 \mathrm{ms} \pm 394 \mathrm{μs}\left({\color{gray}-2.222 \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.5 \mathrm{ms} \pm 512 \mathrm{μs}\left({\color{gray}-2.917 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$120 \mathrm{ms} \pm 650 \mathrm{μs}\left({\color{gray}-0.424 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$131 \mathrm{ms} \pm 608 \mathrm{μs}\left({\color{gray}-1.419 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$23.0 \mathrm{ms} \pm 131 \mathrm{μs}\left({\color{red}26.2 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$525 \mathrm{ms} \pm 1.20 \mathrm{ms}\left({\color{gray}-0.651 \mathrm{\%}}\right) $$ Flame Graph

TimDiekmann
TimDiekmann previously approved these changes Jul 13, 2026

@TimDiekmann TimDiekmann left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You have merge conflicts

claude added 3 commits July 13, 2026 19:12
binaryen ships no linux-arm64 release asset (and the aqua registry limits
it to darwin/amd64), so the four arm64 Docker images install wasm-opt via
the cargo backend again. amd64/darwin environments (CI, Vercel) keep using
binaryen's GitHub releases via aqua.

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMbVqCoNeoGCAPRK94LcCF
…rm64 image builds

Co-Authored-By: Claude <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMbVqCoNeoGCAPRK94LcCF
…for renamed tools

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01RMbVqCoNeoGCAPRK94LcCF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/apps area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

2 participants