Skip to content

FE-225: Petrinaut: Setup rolldown-plugin-dts and update @typeScript/native-preview + vite#8509

Merged
kube merged 6 commits intomainfrom
cf/petrinaut-tsgo-dts
Mar 10, 2026
Merged

FE-225: Petrinaut: Setup rolldown-plugin-dts and update @typeScript/native-preview + vite#8509
kube merged 6 commits intomainfrom
cf/petrinaut-tsgo-dts

Conversation

@kube
Copy link
Collaborator

@kube kube commented Mar 6, 2026

🌟 What is the purpose of this PR?

Setup rolldown-plugin-dts for TypeScript definition files generation, and rely on @typescript/native-preview.

Before

λ time yarn build
yarn build  27.31s user 1.96s system 210% cpu 13.882 total

After

λ time yarn build
yarn build  15.84s user 1.78s system 263% cpu 6.693 total

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

@vercel
Copy link

vercel bot commented Mar 6, 2026

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

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Mar 10, 2026 10:15am
petrinaut Ready Ready Preview Mar 10, 2026 10:15am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
hashdotdesign Ignored Ignored Preview Mar 10, 2026 10:15am
hashdotdesign-tokens Ignored Ignored Preview Mar 10, 2026 10:15am

@kube kube marked this pull request as ready for review March 6, 2026 10:55
@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/libs Relates to first-party libraries/crates/packages (area) type/eng > frontend Owned by the @frontend team labels Mar 6, 2026
@cursor
Copy link

cursor bot commented Mar 6, 2026

PR Summary

Medium Risk
Moderate risk because it changes how dist/*.d.ts is produced (and upgrades Vite/rolldown tooling), which could alter published type output or build behavior for consumers.

Overview
Build pipeline update for Petrinaut. Replaces vite-plugin-dts with rolldown-plugin-dts (enabled only on vite build) and uses tsgo for faster declaration generation, including a small Vite plugin ordering tweak to run before Vite’s TS transform.

Updates tooling deps (vite beta bump, @typescript/native-preview bump, adds rolldown/rolldown-plugin-dts) and removes declaration emit settings from tsconfig since declarations are now handled by the build. Adds a @fontsource-variable/jetbrains-mono module stub for tsgo, and tightens Petrinaut’s export typing to FunctionComponent<PetrinautProps>.

Written by Cursor Bugbot for commit d04280a. This will update automatically on new commits. Configure here.

@kube kube changed the title Temporary patch Setup rolldown-plugin-dts and update @typeScript/native-preview Mar 6, 2026
@augmentcode
Copy link

augmentcode bot commented Mar 6, 2026

🤖 Augment PR Summary

Summary: This PR updates Petrinaut’s build toolchain as a temporary patch, focusing on newer Vite/TypeScript preview tooling and a different DTS generation plugin.

Changes:

  • Bumped @typescript/native-preview to 7.0.0-dev.20260306.1.
  • Updated vite from 8.0.0-beta.14 to 8.0.0-beta.16.
  • Replaced vite-plugin-dts with rolldown-plugin-dts in vite.config.ts.
  • Enabled tsgo-based declaration generation and adjusted plugin enforcement so the “fake-js” step runs pre the native TS transform.

Technical Notes: The package still declares types: dist/main.d.ts, so the new DTS plugin needs to continue producing that entrypoint (and avoid emitting story/test types into the published output).

🤖 Was this summary useful? React with 👍 or 👎

Copy link

@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. 2 suggestions posted.

Fix All in Augment

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

@codecov
Copy link

codecov bot commented Mar 6, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.64%. Comparing base (6df3785) to head (d04280a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8509      +/-   ##
==========================================
- Coverage   62.65%   62.64%   -0.01%     
==========================================
  Files        1312     1312              
  Lines      133689   133689              
  Branches     5510     5510              
==========================================
- Hits        83757    83756       -1     
- Misses      49018    49019       +1     
  Partials      914      914              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.40% <ø> (ø)
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.harpc-client 51.24% <ø> (ø)
local.hash-graph-sdk 7.73% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.error-stack 90.88% <ø> (ø)
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.14% <ø> (-0.02%) ⬇️
rust.harpc-tower 66.80% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-graph-api 2.64% <ø> (ø)
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 26.64% <ø> (ø)
rust.hash-graph-store 37.88% <ø> (ø)
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.59% <ø> (ø)
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.

@codspeed-hq
Copy link

codspeed-hq bot commented Mar 6, 2026

Merging this PR will not alter performance

✅ 80 untouched benchmarks


Comparing cf/petrinaut-tsgo-dts (d04280a) with main (6df3785)

Open in CodSpeed

@kube kube changed the title Setup rolldown-plugin-dts and update @typeScript/native-preview Petrinaut: Setup rolldown-plugin-dts and update @typeScript/native-preview Mar 6, 2026
kube and others added 6 commits March 10, 2026 10:59
Upgrade @typescript/native-preview to 7.0.0-dev.20260309.1 and add a
module declaration for @fontsource-variable/jetbrains-mono, which tsgo
requires for side-effect-only CSS imports.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy link

@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.

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

@github-actions
Copy link
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.5 \mathrm{ms} \pm 150 \mathrm{μs}\left({\color{lightgreen}-5.854 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.52 \mathrm{ms} \pm 15.4 \mathrm{μs}\left({\color{gray}-1.071 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$12.6 \mathrm{ms} \pm 96.5 \mathrm{μs}\left({\color{gray}-2.652 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$44.9 \mathrm{ms} \pm 324 \mathrm{μs}\left({\color{gray}0.864 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$15.1 \mathrm{ms} \pm 102 \mathrm{μs}\left({\color{gray}-0.240 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$24.8 \mathrm{ms} \pm 143 \mathrm{μs}\left({\color{gray}-1.557 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$28.7 \mathrm{ms} \pm 175 \mathrm{μs}\left({\color{gray}-3.353 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.83 \mathrm{ms} \pm 22.3 \mathrm{μs}\left({\color{gray}-1.050 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.7 \mathrm{ms} \pm 107 \mathrm{μs}\left({\color{gray}-2.961 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.91 \mathrm{ms} \pm 21.5 \mathrm{μs}\left({\color{gray}-0.554 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.11 \mathrm{ms} \pm 14.3 \mathrm{μs}\left({\color{gray}-1.239 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$3.47 \mathrm{ms} \pm 20.3 \mathrm{μs}\left({\color{gray}-0.796 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.33 \mathrm{ms} \pm 26.3 \mathrm{μs}\left({\color{gray}-1.688 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.67 \mathrm{ms} \pm 14.2 \mathrm{μs}\left({\color{gray}-0.835 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$4.25 \mathrm{ms} \pm 19.6 \mathrm{μs}\left({\color{gray}-2.087 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.59 \mathrm{ms} \pm 32.8 \mathrm{μs}\left({\color{gray}-1.430 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.56 \mathrm{ms} \pm 16.8 \mathrm{μs}\left({\color{gray}-1.140 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.17 \mathrm{ms} \pm 22.5 \mathrm{μs}\left({\color{gray}-2.476 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.84 \mathrm{ms} \pm 13.1 \mathrm{μs}\left({\color{gray}0.711 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.78 \mathrm{ms} \pm 12.3 \mathrm{μs}\left({\color{gray}-0.365 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.90 \mathrm{ms} \pm 14.3 \mathrm{μs}\left({\color{gray}-0.091 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$3.18 \mathrm{ms} \pm 17.2 \mathrm{μs}\left({\color{gray}0.354 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.96 \mathrm{ms} \pm 11.4 \mathrm{μs}\left({\color{gray}-1.006 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$3.29 \mathrm{ms} \pm 13.5 \mathrm{μs}\left({\color{gray}0.548 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.21 \mathrm{ms} \pm 14.4 \mathrm{μs}\left({\color{gray}0.178 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.92 \mathrm{ms} \pm 13.5 \mathrm{μs}\left({\color{gray}-0.458 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$3.06 \mathrm{ms} \pm 13.5 \mathrm{μs}\left({\color{gray}-0.174 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.64 \mathrm{ms} \pm 21.5 \mathrm{μs}\left({\color{gray}-1.077 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.20 \mathrm{ms} \pm 18.9 \mathrm{μs}\left({\color{gray}-0.182 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$3.43 \mathrm{ms} \pm 19.0 \mathrm{μs}\left({\color{gray}-0.916 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.57 \mathrm{ms} \pm 19.1 \mathrm{μs}\left({\color{gray}-0.573 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.19 \mathrm{ms} \pm 14.8 \mathrm{μs}\left({\color{gray}-0.263 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.48 \mathrm{ms} \pm 21.2 \mathrm{μs}\left({\color{gray}0.120 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$42.2 \mathrm{ms} \pm 239 \mathrm{μs}\left({\color{gray}0.699 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$79.7 \mathrm{ms} \pm 375 \mathrm{μs}\left({\color{gray}0.349 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$45.5 \mathrm{ms} \pm 160 \mathrm{μs}\left({\color{gray}-3.011 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$49.2 \mathrm{ms} \pm 252 \mathrm{μs}\left({\color{gray}2.04 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$56.1 \mathrm{ms} \pm 290 \mathrm{μs}\left({\color{gray}-0.865 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$43.7 \mathrm{ms} \pm 192 \mathrm{μs}\left({\color{gray}-0.013 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$424 \mathrm{ms} \pm 960 \mathrm{μs}\left({\color{gray}0.999 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$99.1 \mathrm{ms} \pm 406 \mathrm{μs}\left({\color{gray}0.595 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$89.3 \mathrm{ms} \pm 438 \mathrm{μs}\left({\color{gray}2.29 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$289 \mathrm{ms} \pm 714 \mathrm{μs}\left({\color{gray}0.490 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$15.7 \mathrm{ms} \pm 78.3 \mathrm{μs}\left({\color{gray}-0.065 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$16.0 \mathrm{ms} \pm 80.1 \mathrm{μs}\left({\color{gray}0.184 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$16.2 \mathrm{ms} \pm 77.6 \mathrm{μs}\left({\color{gray}0.267 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$16.0 \mathrm{ms} \pm 83.1 \mathrm{μs}\left({\color{gray}0.515 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$18.6 \mathrm{ms} \pm 108 \mathrm{μs}\left({\color{gray}-2.499 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$15.5 \mathrm{ms} \pm 74.2 \mathrm{μs}\left({\color{gray}-1.242 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$15.8 \mathrm{ms} \pm 85.6 \mathrm{μs}\left({\color{gray}1.63 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$15.7 \mathrm{ms} \pm 71.2 \mathrm{μs}\left({\color{gray}0.300 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$16.3 \mathrm{ms} \pm 88.6 \mathrm{μs}\left({\color{gray}0.745 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$23.8 \mathrm{ms} \pm 171 \mathrm{μs}\left({\color{gray}1.88 \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 264 \mathrm{μs}\left({\color{gray}3.37 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$32.2 \mathrm{ms} \pm 260 \mathrm{μs}\left({\color{gray}2.79 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$31.4 \mathrm{ms} \pm 276 \mathrm{μs}\left({\color{gray}2.48 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$30.5 \mathrm{ms} \pm 286 \mathrm{μs}\left({\color{gray}1.05 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$31.6 \mathrm{ms} \pm 312 \mathrm{μs}\left({\color{gray}2.02 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$31.1 \mathrm{ms} \pm 279 \mathrm{μs}\left({\color{gray}-0.751 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$31.3 \mathrm{ms} \pm 289 \mathrm{μs}\left({\color{gray}4.11 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$31.7 \mathrm{ms} \pm 316 \mathrm{μs}\left({\color{gray}1.71 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$32.0 \mathrm{ms} \pm 315 \mathrm{μs}\left({\color{gray}2.45 \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.68 \mathrm{ms} \pm 41.1 \mathrm{μs}\left({\color{gray}-0.502 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$90.8 \mathrm{ms} \pm 412 \mathrm{μs}\left({\color{gray}-0.942 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$142 \mathrm{ms} \pm 630 \mathrm{μs}\left({\color{gray}-1.429 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$96.5 \mathrm{ms} \pm 507 \mathrm{μs}\left({\color{gray}-2.138 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$105 \mathrm{ms} \pm 417 \mathrm{μs}\left({\color{gray}-2.608 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$114 \mathrm{ms} \pm 470 \mathrm{μs}\left({\color{gray}-2.490 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$121 \mathrm{ms} \pm 530 \mathrm{μs}\left({\color{gray}-1.869 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$88.2 \mathrm{ms} \pm 503 \mathrm{μs}\left({\color{gray}-0.955 \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 $$117 \mathrm{ms} \pm 617 \mathrm{μs}\left({\color{gray}-0.170 \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 $$95.1 \mathrm{ms} \pm 478 \mathrm{μs}\left({\color{gray}-1.474 \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 $$104 \mathrm{ms} \pm 567 \mathrm{μs}\left({\color{gray}-0.061 \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 $$106 \mathrm{ms} \pm 517 \mathrm{μs}\left({\color{gray}-0.923 \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 $$106 \mathrm{ms} \pm 459 \mathrm{μs}\left({\color{gray}-0.560 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$131 \mathrm{ms} \pm 520 \mathrm{μs}\left({\color{lightgreen}-8.414 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$133 \mathrm{ms} \pm 470 \mathrm{μs}\left({\color{gray}-4.049 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$123 \mathrm{ms} \pm 555 \mathrm{μs}\left({\color{red}196 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$598 \mathrm{ms} \pm 3.90 \mathrm{ms}\left({\color{red}5.67 \mathrm{\%}}\right) $$ Flame Graph

@codecov
Copy link

codecov bot commented Mar 10, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.64%. Comparing base (6df3785) to head (d04280a).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8509      +/-   ##
==========================================
- Coverage   62.65%   62.64%   -0.01%     
==========================================
  Files        1312     1312              
  Lines      133689   133689              
  Branches     5510     5510              
==========================================
- Hits        83757    83756       -1     
- Misses      49018    49019       +1     
  Partials      914      914              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.40% <ø> (ø)
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.harpc-client 51.24% <ø> (ø)
local.hash-graph-sdk 7.73% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.error-stack 90.88% <ø> (ø)
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.14% <ø> (-0.02%) ⬇️
rust.harpc-tower 66.80% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-codec 72.76% <ø> (ø)
rust.hash-graph-api 2.64% <ø> (ø)
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 26.64% <ø> (ø)
rust.hash-graph-store 37.88% <ø> (ø)
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.59% <ø> (ø)
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.

@kube kube added this pull request to the merge queue Mar 10, 2026
Merged via the queue into main with commit 153fb35 Mar 10, 2026
228 of 231 checks passed
@kube kube deleted the cf/petrinaut-tsgo-dts branch March 10, 2026 12:13
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) type/eng > frontend Owned by the @frontend team

Development

Successfully merging this pull request may close these issues.

2 participants