Skip to content

FE-817: Add supply chain site + product dashboard, Rudderstack telemetry handling#8908

Open
CiaranMn wants to merge 23 commits into
asa/supply-chainfrom
cm/add-supply-chain-dashboard
Open

FE-817: Add supply chain site + product dashboard, Rudderstack telemetry handling#8908
CiaranMn wants to merge 23 commits into
asa/supply-chainfrom
cm/add-supply-chain-dashboard

Conversation

@CiaranMn

Copy link
Copy Markdown
Member

🌟 What is the purpose of this PR?

  1. Adds a /supply-chain dashboard with a site-level and product-level view, including analysis on step and end-to-end pipeline, inventory dwell cost, and planning parameter calibration.
  2. Implement Rudderstack telemetry tracking

🚫 Blocked by

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:

  • require changes to docs which are made as part of this PR

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

The changes in this PR:

  • do not affect the execution graph

🛡 What tests cover this?

  • Tests added as part of this PR.

❓ How to test this?

  1. TODO

📹 Demo

Copilot AI review requested due to automatic review settings June 28, 2026 17:28
@vercel

vercel Bot commented Jun 28, 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 Jun 29, 2026 10:31am
2 Skipped Deployments
Project Deployment Actions Updated (UTC)
hashdotdesign-tokens Ignored Ignored Preview Jun 29, 2026 10:31am
petrinaut Skipped Skipped Jun 29, 2026 10:31am

@cursor

cursor Bot commented Jun 28, 2026

Copy link
Copy Markdown

PR Summary

High Risk
New authenticated analysis endpoint presigns storage keys (tenant isolation is critical), plus large ontology migrations and telemetry/auth identity changes on registration.

Overview
Replaces Snowplow product telemetry with Rudderstack (HASH_API_RUDDERSTACK_KEY, ENVIRONMENT for event labels), adds a server telemetry gateway and registration/analysis_run tracking, and drops Snowplow env/docs.

Adds an authenticated POST /api/analysis batch gateway that resolves named analyses (starting with supply-chain) to web-scoped S3 artifacts via presigned URLs, with slug validation, role checks, rate limits, and unit tests. Seeds a vendored demo dataset into example-org and a dev:import-supply-chain-data CLI to publish external JSON into the same storage layout.

Expands the system ontology with ISO 4217 currencies, a large supply-chain type set (materials, orders, sites, shipments, units, etc.), and opportunity status / supply-chain user preferences entity types; moves currency seeding from a dev-only migration into production migration 025.

Introduces isStagingEnv / ENVIRONMENT-aware prod detection, staging email subject prefixes, higher GraphQL rate limits for signed-in users, and a small Cursor naming rule for TypeScript identifiers.

Reviewed by Cursor Bugbot for commit 894722d. 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/apps > hash* Affects HASH (a `hash-*` app) area/infra Relates to version control, CI, CD or IaC (area) 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 labels Jun 28, 2026
@github-actions github-actions Bot added type/eng > backend Owned by the @backend team area/tests New or updated tests area/tests > integration New or updated integration tests area/apps labels Jun 28, 2026
Comment thread apps/hash-api/src/lib/env-config.ts Outdated
Comment thread apps/hash-api/src/seed-data/seed-supply-chain-demo.ts Outdated
@codecov

codecov Bot commented Jun 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.69%. Comparing base (bedc578) to head (d55b38f).

Additional details and impacted files
@@                 Coverage Diff                  @@
##           asa/supply-chain    #8908      +/-   ##
====================================================
+ Coverage             59.24%   59.69%   +0.45%     
====================================================
  Files                  1349     1351       +2     
  Lines                130165   132116    +1951     
  Branches               5898     5942      +44     
====================================================
+ Hits                  77115    78866    +1751     
- Misses                52142    52343     +201     
+ Partials                908      907       -1     
Flag Coverage Δ
apps.hash-ai-worker-ts 1.39% <ø> (-0.02%) ⬇️
blockprotocol.type-system 40.84% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.harpc-client 51.49% <ø> (ø)
local.hash-backend-utils 2.81% <ø> (-0.02%) ⬇️
local.hash-graph-sdk 9.63% <ø> (ø)
local.hash-isomorphic-utils 0.18% <ø> (+0.18%) ⬆️
rust.antsi 0.00% <ø> (ø)
rust.error-stack 90.87% <ø> (ø)
rust.harpc-codec 84.70% <ø> (ø)
rust.harpc-net 96.19% <ø> (+0.01%) ⬆️
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.53% <ø> (-0.01%) ⬇️
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 29.44% <ø> (+2.60%) ⬆️
rust.hash-graph-store 37.99% <ø> (-0.08%) ⬇️
rust.hash-graph-temporal-versioning 47.95% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 83.43% <ø> (ø)
rust.hashql-ast 87.23% <ø> (ø)
rust.hashql-compiletest 28.24% <ø> (ø)
rust.hashql-core 79.60% <ø> (-0.24%) ⬇️
rust.hashql-diagnostics 72.31% <ø> (ø)
rust.hashql-eval 75.23% <ø> (-0.77%) ⬇️
rust.hashql-hir 89.06% <ø> (ø)
rust.hashql-mir 88.45% <ø> (+1.36%) ⬆️
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.

Comment thread apps/hash-frontend/src/pages/supply-chain/shared/plant-label.ts Outdated
Comment thread apps/hash-frontend/src/pages/supply-chain/shared/plant-label.ts Fixed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

@codspeed-hq

codspeed-hq Bot commented Jun 28, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 80 untouched benchmarks


Comparing cm/add-supply-chain-dashboard (d55b38f) with main (b8f5e58)1

Open in CodSpeed

Footnotes

  1. No successful run was found on asa/supply-chain (bedc578) during the generation of this report, so main (b8f5e58) was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.

@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 $$28.2 \mathrm{ms} \pm 191 \mathrm{μs}\left({\color{gray}0.766 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.49 \mathrm{ms} \pm 20.8 \mathrm{μs}\left({\color{gray}-0.045 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$13.5 \mathrm{ms} \pm 106 \mathrm{μs}\left({\color{gray}1.22 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$45.2 \mathrm{ms} \pm 511 \mathrm{μs}\left({\color{gray}0.440 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$14.7 \mathrm{ms} \pm 114 \mathrm{μs}\left({\color{gray}-0.855 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$25.5 \mathrm{ms} \pm 347 \mathrm{μs}\left({\color{gray}0.625 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$29.4 \mathrm{ms} \pm 243 \mathrm{μs}\left({\color{gray}0.373 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.90 \mathrm{ms} \pm 30.2 \mathrm{μs}\left({\color{gray}1.15 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$14.8 \mathrm{ms} \pm 114 \mathrm{μs}\left({\color{gray}-0.981 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.92 \mathrm{ms} \pm 26.4 \mathrm{μs}\left({\color{gray}0.509 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.06 \mathrm{ms} \pm 14.6 \mathrm{μs}\left({\color{gray}-2.358 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$3.46 \mathrm{ms} \pm 27.8 \mathrm{μs}\left({\color{gray}-0.843 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.34 \mathrm{ms} \pm 40.6 \mathrm{μs}\left({\color{gray}-2.599 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.63 \mathrm{ms} \pm 24.3 \mathrm{μs}\left({\color{gray}-0.109 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$4.23 \mathrm{ms} \pm 35.4 \mathrm{μs}\left({\color{gray}-2.293 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.54 \mathrm{ms} \pm 31.2 \mathrm{μs}\left({\color{gray}0.728 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.57 \mathrm{ms} \pm 19.4 \mathrm{μs}\left({\color{gray}-0.797 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.21 \mathrm{ms} \pm 33.8 \mathrm{μs}\left({\color{gray}0.400 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.65 \mathrm{ms} \pm 17.1 \mathrm{μs}\left({\color{gray}-1.247 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.56 \mathrm{ms} \pm 13.3 \mathrm{μs}\left({\color{gray}-0.948 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.64 \mathrm{ms} \pm 17.9 \mathrm{μs}\left({\color{gray}-0.162 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$2.92 \mathrm{ms} \pm 16.5 \mathrm{μs}\left({\color{gray}0.564 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.71 \mathrm{ms} \pm 16.4 \mathrm{μs}\left({\color{gray}0.589 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$2.91 \mathrm{ms} \pm 16.6 \mathrm{μs}\left({\color{gray}0.421 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.11 \mathrm{ms} \pm 25.2 \mathrm{μs}\left({\color{gray}-0.350 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.80 \mathrm{ms} \pm 14.9 \mathrm{μs}\left({\color{gray}0.477 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$3.05 \mathrm{ms} \pm 19.8 \mathrm{μs}\left({\color{gray}-0.145 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.50 \mathrm{ms} \pm 22.8 \mathrm{μs}\left({\color{gray}0.418 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.03 \mathrm{ms} \pm 15.3 \mathrm{μs}\left({\color{gray}-0.301 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$3.38 \mathrm{ms} \pm 24.3 \mathrm{μs}\left({\color{gray}0.132 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.41 \mathrm{ms} \pm 26.5 \mathrm{μs}\left({\color{gray}-1.137 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.01 \mathrm{ms} \pm 20.6 \mathrm{μs}\left({\color{gray}-0.091 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.39 \mathrm{ms} \pm 22.3 \mathrm{μs}\left({\color{gray}-1.401 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$43.4 \mathrm{ms} \pm 264 \mathrm{μs}\left({\color{gray}1.61 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$33.9 \mathrm{ms} \pm 206 \mathrm{μs}\left({\color{gray}-1.149 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$36.9 \mathrm{ms} \pm 215 \mathrm{μs}\left({\color{gray}-1.359 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$33.3 \mathrm{ms} \pm 296 \mathrm{μs}\left({\color{gray}3.22 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$43.6 \mathrm{ms} \pm 242 \mathrm{μs}\left({\color{gray}-2.195 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$51.0 \mathrm{ms} \pm 331 \mathrm{μs}\left({\color{gray}0.586 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$41.5 \mathrm{ms} \pm 259 \mathrm{μs}\left({\color{gray}-2.049 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$95.0 \mathrm{ms} \pm 575 \mathrm{μs}\left({\color{gray}-0.011 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$55.4 \mathrm{ms} \pm 4.90 \mathrm{ms}\left({\color{red}59.9 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$284 \mathrm{ms} \pm 984 \mathrm{μs}\left({\color{gray}-1.084 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$10.9 \mathrm{ms} \pm 84.4 \mathrm{μs}\left({\color{gray}-1.412 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$11.1 \mathrm{ms} \pm 70.6 \mathrm{μs}\left({\color{gray}0.231 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$11.0 \mathrm{ms} \pm 63.5 \mathrm{μs}\left({\color{gray}-0.553 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$10.8 \mathrm{ms} \pm 63.0 \mathrm{μs}\left({\color{gray}0.222 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$11.1 \mathrm{ms} \pm 65.8 \mathrm{μs}\left({\color{gray}1.15 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$10.9 \mathrm{ms} \pm 75.0 \mathrm{μs}\left({\color{gray}0.724 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$10.8 \mathrm{ms} \pm 76.0 \mathrm{μs}\left({\color{gray}-0.153 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$10.9 \mathrm{ms} \pm 65.6 \mathrm{μs}\left({\color{gray}0.087 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$11.0 \mathrm{ms} \pm 58.3 \mathrm{μs}\left({\color{lightgreen}-6.069 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$11.3 \mathrm{ms} \pm 80.5 \mathrm{μs}\left({\color{gray}-2.359 \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.6 \mathrm{ms} \pm 102 \mathrm{μs}\left({\color{gray}-1.557 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$11.5 \mathrm{ms} \pm 74.3 \mathrm{μs}\left({\color{gray}-1.592 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$11.3 \mathrm{ms} \pm 80.1 \mathrm{μs}\left({\color{gray}-2.893 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$11.4 \mathrm{ms} \pm 79.1 \mathrm{μs}\left({\color{gray}-2.245 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$11.7 \mathrm{ms} \pm 98.4 \mathrm{μs}\left({\color{gray}-0.879 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$11.4 \mathrm{ms} \pm 57.2 \mathrm{μs}\left({\color{gray}-3.326 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$11.4 \mathrm{ms} \pm 71.8 \mathrm{μs}\left({\color{gray}-2.972 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$11.3 \mathrm{ms} \pm 72.7 \mathrm{μs}\left({\color{gray}-1.007 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$11.3 \mathrm{ms} \pm 72.4 \mathrm{μs}\left({\color{gray}-3.435 \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.82 \mathrm{ms} \pm 46.7 \mathrm{μs}\left({\color{gray}-0.752 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$60.9 \mathrm{ms} \pm 462 \mathrm{μs}\left({\color{gray}-4.830 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$114 \mathrm{ms} \pm 617 \mathrm{μs}\left({\color{gray}-3.125 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$66.5 \mathrm{ms} \pm 544 \mathrm{μs}\left({\color{gray}-4.107 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$77.1 \mathrm{ms} \pm 525 \mathrm{μs}\left({\color{gray}-3.966 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$85.5 \mathrm{ms} \pm 484 \mathrm{μs}\left({\color{gray}-3.954 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:2;properties:2;links:1;link_dests:0;type:true $$91.8 \mathrm{ms} \pm 533 \mathrm{μs}\left({\color{gray}-4.004 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$46.3 \mathrm{ms} \pm 326 \mathrm{μs}\left({\color{gray}-3.970 \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 $$76.7 \mathrm{ms} \pm 547 \mathrm{μs}\left({\color{gray}-1.657 \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 $$53.4 \mathrm{ms} \pm 425 \mathrm{μs}\left({\color{gray}-0.340 \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 $$62.6 \mathrm{ms} \pm 434 \mathrm{μs}\left({\color{gray}-2.638 \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 $$64.7 \mathrm{ms} \pm 537 \mathrm{μs}\left({\color{gray}-2.727 \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 $$64.7 \mathrm{ms} \pm 488 \mathrm{μs}\left({\color{gray}-2.183 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$123 \mathrm{ms} \pm 637 \mathrm{μs}\left({\color{lightgreen}-6.409 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$135 \mathrm{ms} \pm 719 \mathrm{μs}\left({\color{gray}-3.126 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$19.3 \mathrm{ms} \pm 155 \mathrm{μs}\left({\color{gray}-0.828 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$533 \mathrm{ms} \pm 1.37 \mathrm{ms}\left({\color{gray}-0.647 \mathrm{\%}}\right) $$ Flame Graph

@thehabbos007 thehabbos007 force-pushed the asa/supply-chain branch 2 times, most recently from ea0c24f to 52c24b3 Compare June 29, 2026 06:35
Copilot AI review requested due to automatic review settings June 29, 2026 10:23
@vercel vercel Bot temporarily deployed to Preview – petrinaut June 29, 2026 10:23 Inactive

@cursor cursor Bot left a comment

Copy link
Copy Markdown

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 is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 894722d. Configure here.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot wasn't able to review this pull request because it exceeds the maximum number of files (300). Try reducing the number of changed files and requesting a review from Copilot again.

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/deps Relates to third-party dependencies (area) area/infra Relates to version control, CI, CD or IaC (area) area/libs Relates to first-party libraries/crates/packages (area) area/tests > integration New or updated integration tests area/tests New or updated tests 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.

4 participants