Skip to content

H-6617: Create custom graph rendering pipeline inside frontend - #8952

Draft
indietyp wants to merge 600 commits into
mainfrom
bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph
Draft

H-6617: Create custom graph rendering pipeline inside frontend#8952
indietyp wants to merge 600 commits into
mainfrom
bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph

Conversation

@indietyp

@indietyp indietyp commented Jul 3, 2026

Copy link
Copy Markdown
Member

🌟 What is the purpose of this PR?

🔗 Related links

  • ...

🚫 Blocked by

  • ...

🔍 What does this change?

  • ...

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
  • modifies an npm-publishable library and I have added a changeset file(s)
  • modifies a Cargo-publishable library and I have amended the version
  • modifies a Cargo-publishable library, but it is not yet ready to publish
  • modifies a block that will need publishing via GitHub action once merged
  • I am unsure / need advice

📜 Does this require a change to the docs?

The changes in this PR:

  • are internal and do not require a docs change
  • are in a state where docs changes are not yet required but will be
  • require changes to docs which are made as part of this PR
  • require changes to docs which are not made in this PR
    • Provide more detail here
  • I am unsure / need advice

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

The changes in this PR:

  • do not affect the execution graph
  • affected the execution graph, and the turbo.json's have been updated to reflect this
  • I am unsure / need advice

⚠️ Known issues

🐾 Next steps

🛡 What tests cover this?

❓ How to test this?

  1. Checkout the branch / view the deployment
  2. Try X
  3. Confirm that Y

📹 Demo

@vercel

vercel Bot commented Jul 3, 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 Aug 23, 2026 11:37pm
3 Skipped Deployments
Project Deployment Actions Updated (UTC)
hashdotdesign-tokens Ignored Ignored Preview Aug 23, 2026 11:37pm
petrinaut Skipped Skipped Aug 23, 2026 11:37pm
petrinaut-docs Skipped Skipped Aug 23, 2026 11:37pm

@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 type/eng > backend Owned by the @backend team area/apps labels Jul 3, 2026

indietyp commented Jul 3, 2026

Copy link
Copy Markdown
Member Author

@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 3, 2026 16:19 Inactive
@indietyp
indietyp force-pushed the bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph branch from 2fbcafb to e313dac Compare July 3, 2026 16:21
@codspeed-hq

codspeed-hq Bot commented Jul 3, 2026

Copy link
Copy Markdown

Merging this PR will regress 3 benchmarks

⚠️ Different runtime environments detected

Some benchmarks with significant performance changes were compared across different runtime environments,
which may affect the accuracy of the results.

Open the report in CodSpeed to investigate

⚡ 12 improved benchmarks
❌ 3 regressed benchmarks
✅ 83 untouched benchmarks

Warning

Please fix the performance issues or acknowledge them on CodSpeed.

Performance Changes

Benchmark BASE HEAD Efficiency
bit_matrix/dense/iter_row[64] 140.8 ns 166.4 ns -15.36%
bit_matrix/dense/union_rows[1000] 102.5 µs 119.3 µs -14.07%
bit_matrix/sparse/union_rows[1000] 126.3 µs 144.8 µs -12.78%
n50000_d256[32] 1,468.2 ms 696.5 ms ×2.1
n10000_d256[128] 4 s 1.9 s ×2.1
n10000_d256[32] 1,033.7 ms 517.7 ms +99.68%
n10000_d256[8] 94.3 ms 47.9 ms +96.68%
d256[64] 68.3 µs 40.7 µs +67.87%
d1536[16] 111.6 µs 70.6 µs +57.99%
d3072[16] 221.2 µs 140.2 µs +57.8%
d256[16] 19.5 µs 12.4 µs +57.12%
d256[15] 18.6 µs 12.3 µs +50.58%
kernel/micro_4x2[256] 4.9 µs 3.9 µs +26.92%
kernel/micro_4x2[3072] 46.8 µs 36.9 µs +26.89%
kernel/micro_4x2[1536] 23.9 µs 18.9 µs +26.82%

Tip

Investigate this regression by commenting @codspeedbot fix this regression on this PR, or directly use the CodSpeed MCP with your agent.


Comparing bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph (3e04245) with main (206ca32)1

Open in CodSpeed

Footnotes

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

Comment thread tools/embedding-worker/embed.py Outdated
@codecov

codecov Bot commented Jul 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 60.00000% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 65.41%. Comparing base (357589c) to head (3e04245).
⚠️ Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
.../src/graph/knowledge/primitive/cluster-entities.ts 0.00% 7 Missing ⚠️
apps/hash-api/src/atlas-proxy.ts 78.26% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8952      +/-   ##
==========================================
+ Coverage   59.71%   65.41%   +5.70%     
==========================================
  Files        1423     1856     +433     
  Lines      138862   192496   +53634     
  Branches     6572     8096    +1524     
==========================================
+ Hits        82915   125915   +43000     
- Misses      54881    65096   +10215     
- Partials     1066     1485     +419     
Flag Coverage Δ
apps.hash-ai-worker-ts 1.99% <ø> (ø)
apps.hash-api 14.90% <60.00%> (+0.23%) ⬆️
local.hash-backend-utils 3.27% <ø> (ø)
local.hash-graph-sdk 10.02% <ø> (ø)
local.hash-isomorphic-utils 12.22% <ø> (ø)
rust.hash-graph-api 11.00% <ø> (+3.50%) ⬆️
rust.hash-graph-atlas 80.37% <ø> (?)
rust.hashql-ast 89.63% <ø> (ø)
rust.hashql-compiletest 28.39% <ø> (ø)
rust.hashql-core 78.89% <ø> (-0.10%) ⬇️
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.

@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 3, 2026 16:26 Inactive
@github-actions github-actions Bot removed the area/libs Relates to first-party libraries/crates/packages (area) label Jul 3, 2026
@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 3, 2026 16:40 Inactive
@indietyp
indietyp force-pushed the bm/be-629-implement-kmeans-clustering-in-the-hash-graph branch from 7c7fadb to 26a8078 Compare July 6, 2026 07:44
@indietyp
indietyp force-pushed the bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph branch from f4af41d to a4a2e3d Compare July 6, 2026 07:44
@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 6, 2026 07:49 Inactive
@indietyp
indietyp force-pushed the bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph branch from a4a2e3d to f91ab64 Compare July 6, 2026 07:57
@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 6, 2026 08:01 Inactive
@indietyp
indietyp force-pushed the bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph branch from f91ab64 to efb273c Compare July 6, 2026 08:15
@vercel
vercel Bot temporarily deployed to Preview – petrinaut July 6, 2026 08:20 Inactive
- add bytecheck/rancor deps for rkyv verify support
- make row ids, digests, and entity ids their own archived form
- add the dump reader/writer, and split the runner into live/offline operators
- extract shared embedder credential/preflight logic out of fit.rs
- wire the dump subcommand and fit's --offline flag into both binaries
nonce,
};

let mut blob = [0_u8; SealedAuthority::SIZE];
let blob = seal_raw(
&plaintext(11, k, filter, None),
issued_at(),
&[9; NONCE_BYTES],
Comment thread .env.development
FILE_UPLOAD_PROVIDER="AWS_S3"

# Development only dev secret for atlas
HASH_GRAPH_ATLAS_SECRET=de70de70de70de70de70de70de70de70de70de70de70de70de70de70de70de70
Comment thread apps/hash-frontend/src/components/tiled-network-graph/tiling/fetch-tile.ts Dismissed
alex-e-leon and others added 24 commits August 22, 2026 13:33
…h-graph' of github.com:hashintel/hash into bm/h-6617-experiment-with-graph-rendering-inside-of-hash-graph
- generic ArrayFile::column<I, T> replaces the per-type Element accessors
- consolidate the artifact! macro into one list with a compile-time uniqueness check
- narrow UnitFraction to crate-private, add Sub, and overflow-safe neighbourhood capacity checks
- measures how the deployed publish path serves arrivals a later generation fitted but an earlier one never saw
- hide the rest of one extreme-bearing cell, so the root cut loses a cell on any layout
- assert the emptying in the construction rather than trusting the fitted layout
- keep the atlas crate in the frontend unit job's prune scope for its wire fixtures
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/apps > hash.design Affects the `hash.design` design site (app) area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) area/apps > hash-graph 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 New or updated tests type/eng > backend Owned by the @backend team type/eng > frontend Owned by the @frontend team type/legal Owned by the @legal team

Development

Successfully merging this pull request may close these issues.

3 participants