Skip to content

SRE-927: Migrate same-repo action references to the $/ syntax - #9197

Merged
TimDiekmann merged 6 commits into
mainfrom
t/sre-927-migrate-same-repository-action-and-workflow-references-to
Aug 11, 2026
Merged

SRE-927: Migrate same-repo action references to the $/ syntax#9197
TimDiekmann merged 6 commits into
mainfrom
t/sre-927-migrate-same-repository-action-and-workflow-references-to

Conversation

@TimDiekmann

@TimDiekmann TimDiekmann commented Aug 11, 2026

Copy link
Copy Markdown
Member

Purpose

Migrates same-repo action references to the $/ self-repository syntax and wires up the centralized actionlint preflight (hashintel/.github#100#102), which lints all workflow files on every PR.

Related links

What does this change?

  • uses: ./.github/actions/…$/.github/actions/… in 7 workflows and 2 composite actions (nested references)
  • Fixes the actionlint/shellcheck findings the new check surfaces: quoted $GITHUB_OUTPUT/$GITHUB_ENV/$GITHUB_STEP_SUMMARY redirects, backticks in echoed help text replaced with double quotes, $(…) instead of legacy backticks in canary-release.yml, grouped summary redirects in lint.yml, a dead TEST_TASKS assignment removed in test.yml, and two unicode apostrophes replaced
  • warm-up-vercel.yml: cron */3*/5 — GitHub schedules at a 5-minute minimum, so the previous value was never honored
  • The pull_request preflights are consolidated into one preflight.yml: Todo comments plus the new Lint job calling the centralized preflight-actionlint.yml (check name: Preflight / Lint / Actions). The pull_request_target file (Dependencies, Labeler, PR title) moves to preflight-target.yml; check names stay unchanged.

Known issues

  • bench.yml base-leg semantics change with $/: the base-bench steps previously resolved composite actions from the base checkout; $/ always resolves them at the running commit, so both legs now use the PR's action versions. This matches the behavior the other repos converged on and removes a base/head skew, but base runs with changed actions are no longer byte-identical to their original runs.
  • release.yml keeps its two ./ references for now — SRE-904: Split token minting from the release run #9192 restructures that file and both changes would conflict. Migrate after SRE-904: Split token minting from the release run #9192 merges.

How to test this?

  • Every job on this PR resolves its composite actions via $/
  • The Preflight / Lint / Actions check lints this repo's workflows with only the three syntax-gap ignores ($/, concurrency.queue; SRE-941)

@TimDiekmann TimDiekmann self-assigned this Aug 11, 2026
@vercel

vercel Bot commented Aug 11, 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 11, 2026 11:46am
hashdotdesign-tokens Ready Ready Preview Aug 11, 2026 11:46am
petrinaut Ready Ready Preview Aug 11, 2026 11:46am

@codecov

codecov Bot commented Aug 11, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 59.63%. Comparing base (f06f964) to head (bd85fb3).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9197      +/-   ##
==========================================
- Coverage   59.63%   59.63%   -0.01%     
==========================================
  Files        1420     1420              
  Lines      138767   138767              
  Branches     6555     6555              
==========================================
- Hits        82754    82753       -1     
- Misses      54949    54950       +1     
  Partials     1064     1064              
Flag Coverage Δ
apps.hash-ai-worker-ts 1.99% <ø> (ø)
apps.hash-api 14.00% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
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-graph-api 7.36% <ø> (ø)
rust.hash-graph-authorization 62.59% <ø> (ø)
rust.hash-graph-embeddings 91.88% <ø> (ø)
rust.hash-graph-postgres-store 29.33% <ø> (ø)
rust.hash-graph-store 46.78% <ø> (ø)
rust.hash-graph-temporal-versioning 47.95% <ø> (ø)
rust.hash-graph-types 0.00% <ø> (ø)
rust.hash-graph-validation 84.71% <ø> (ø)
rust.hashql-ast 89.63% <ø> (ø)
rust.hashql-compiletest 28.39% <ø> (ø)
rust.hashql-core 78.98% <ø> (ø)
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-hq

codspeed-hq Bot commented Aug 11, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 98 untouched benchmarks


Comparing t/sre-927-migrate-same-repository-action-and-workflow-references-to (bd85fb3) with main (1e4cb8e)

Open in CodSpeed

Copilot AI balanced review requested due to automatic review settings August 11, 2026 11:23
@cursor

cursor Bot commented Aug 11, 2026

Copy link
Copy Markdown

PR Summary

Medium Risk
Touches many CI workflows and changes bench base-leg action resolution; deploy/release behavior is mostly reference-path and lint fixes, with release.yml still on ./.

Overview
Composite actions across CI workflows (and nested calls in install-tools / docker-build-push) now use $/.github/actions/… instead of ./.github/actions/…, so actions resolve from the workflow commit. release.yml is unchanged on purpose pending another PR.

Preflight is split: preflight-target.yml handles pull_request_target (dependencies, labeler, PR title); preflight.yml on pull_request / merge group runs todo-comments plus a new Lint job that calls centralized preflight-actionlint.yml. The standalone todo-comments workflow file is removed.

Lint/shell hygiene from the new check: quoted $GITHUB_OUTPUT, $GITHUB_ENV, and $GITHUB_STEP_SUMMARY; safer subshells in canary-release.yml; SARIF piping and grouped step-summary writes in lint.yml; removal of a dead assignment in test.yml; echoed help text uses double quotes instead of backticks.

warm-up-vercel.yml: schedule */3*/5 (GitHub’s minimum interval), drops redundant checkout, and uses $/…/warm-up-vercel.

Note: In bench.yml, base and head legs both use the PR’s composite action versions via $/ (no longer base-checkout-relative ./).

Reviewed by Cursor Bugbot for commit bd85fb3. Bugbot is set up for automated code reviews on this repo. 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.

Pull request overview

Migrates same-repository GitHub Action references to $/ syntax and centralizes PR preflight workflows.

Changes:

  • Migrates local composite-action references to $/.
  • Consolidates preflight checks and adds centralized actionlint.
  • Resolves shellcheck findings and corrects the Vercel warm-up schedule.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated no comments.

Show a summary per file
File Description
.github/workflows/warm-up-vercel.yml Migrates the action reference and fixes the cron interval.
.github/workflows/test.yml Migrates action references and addresses shellcheck findings.
.github/workflows/preflight.yml Consolidates pull-request preflight jobs and adds actionlint.
.github/workflows/preflight-todo-comments.yml Removes the superseded standalone workflow.
.github/workflows/preflight-target.yml Hosts privileged target-event preflight jobs.
.github/workflows/lint.yml Migrates actions and resolves linted shell patterns.
.github/workflows/deploy.yml Migrates deployment action references and quotes output redirects.
.github/workflows/codspeed.yml Migrates benchmark action references and quotes output redirects.
.github/workflows/canary-release.yml Migrates actions and modernizes command substitution.
.github/workflows/bench.yml Migrates benchmark actions and quotes workflow-file redirects.
.github/actions/install-tools/action.yml Migrates nested composite-action references.
.github/actions/docker-build-push/action.yml Migrates the nested ECR login action reference.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@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 94065d9. Configure here.

Comment thread .github/workflows/warm-up-vercel.yml

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.

Pull request overview

Copilot reviewed 12 out of 12 changed files in this pull request and generated no new comments.

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

The big one 🪨

@TimDiekmann
TimDiekmann added this pull request to the merge queue Aug 11, 2026
Merged via the queue into main with commit 5253e33 Aug 11, 2026
192 checks passed
@TimDiekmann
TimDiekmann deleted the t/sre-927-migrate-same-repository-action-and-workflow-references-to branch August 11, 2026 12:14
@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 $$26.7 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{gray}-1.391 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.40 \mathrm{ms} \pm 19.7 \mathrm{μs}\left({\color{gray}-4.024 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1002 $$12.2 \mathrm{ms} \pm 86.5 \mathrm{μs}\left({\color{gray}-0.128 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$42.5 \mathrm{ms} \pm 412 \mathrm{μs}\left({\color{gray}-0.130 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$14.2 \mathrm{ms} \pm 145 \mathrm{μs}\left({\color{gray}-4.812 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1527 $$23.5 \mathrm{ms} \pm 234 \mathrm{μs}\left({\color{gray}-0.366 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$28.0 \mathrm{ms} \pm 208 \mathrm{μs}\left({\color{gray}0.706 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.71 \mathrm{ms} \pm 19.9 \mathrm{μs}\left({\color{gray}-3.519 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.0 \mathrm{ms} \pm 119 \mathrm{μs}\left({\color{gray}-0.965 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.79 \mathrm{ms} \pm 19.4 \mathrm{μs}\left({\color{gray}-0.379 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.97 \mathrm{ms} \pm 16.7 \mathrm{μs}\left({\color{gray}-0.106 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 52 $$3.37 \mathrm{ms} \pm 22.0 \mathrm{μs}\left({\color{gray}0.462 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.15 \mathrm{ms} \pm 34.1 \mathrm{μs}\left({\color{gray}0.042 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.56 \mathrm{ms} \pm 28.4 \mathrm{μs}\left({\color{gray}1.04 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 108 $$4.11 \mathrm{ms} \pm 23.2 \mathrm{μs}\left({\color{gray}-0.364 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.38 \mathrm{ms} \pm 24.6 \mathrm{μs}\left({\color{gray}-0.631 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.43 \mathrm{ms} \pm 17.4 \mathrm{μs}\left({\color{gray}-0.061 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.10 \mathrm{ms} \pm 37.3 \mathrm{μs}\left({\color{gray}0.805 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_none

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 2 $$2.61 \mathrm{ms} \pm 17.5 \mathrm{μs}\left({\color{gray}-1.563 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.48 \mathrm{ms} \pm 9.97 \mathrm{μs}\left({\color{gray}-0.678 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 2 $$2.56 \mathrm{ms} \pm 14.8 \mathrm{μs}\left({\color{gray}-3.270 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$2.86 \mathrm{ms} \pm 16.9 \mathrm{μs}\left({\color{gray}-2.068 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.65 \mathrm{ms} \pm 17.8 \mathrm{μs}\left({\color{gray}-2.758 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$2.83 \mathrm{ms} \pm 15.1 \mathrm{μs}\left({\color{gray}-2.766 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.04 \mathrm{ms} \pm 16.6 \mathrm{μs}\left({\color{gray}-1.509 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.74 \mathrm{ms} \pm 17.8 \mathrm{μs}\left({\color{gray}-0.381 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 26 $$2.91 \mathrm{ms} \pm 14.1 \mathrm{μs}\left({\color{gray}-2.535 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.44 \mathrm{ms} \pm 26.4 \mathrm{μs}\left({\color{gray}0.005 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$2.98 \mathrm{ms} \pm 21.4 \mathrm{μs}\left({\color{gray}0.282 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 27 $$3.24 \mathrm{ms} \pm 19.0 \mathrm{μs}\left({\color{gray}-1.264 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.34 \mathrm{ms} \pm 16.1 \mathrm{μs}\left({\color{gray}-1.517 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.95 \mathrm{ms} \pm 19.9 \mathrm{μs}\left({\color{gray}-0.182 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.30 \mathrm{ms} \pm 25.6 \mathrm{μs}\left({\color{gray}-0.575 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$42.4 \mathrm{ms} \pm 260 \mathrm{μs}\left({\color{gray}-0.317 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$33.2 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}0.656 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$35.6 \mathrm{ms} \pm 270 \mathrm{μs}\left({\color{gray}0.766 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$31.9 \mathrm{ms} \pm 209 \mathrm{μs}\left({\color{gray}0.341 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$41.5 \mathrm{ms} \pm 287 \mathrm{μs}\left({\color{gray}1.20 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$50.0 \mathrm{ms} \pm 336 \mathrm{μs}\left({\color{gray}-0.590 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$40.0 \mathrm{ms} \pm 262 \mathrm{μs}\left({\color{gray}-0.343 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$92.6 \mathrm{ms} \pm 450 \mathrm{μs}\left({\color{gray}1.03 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$33.8 \mathrm{ms} \pm 239 \mathrm{μs}\left({\color{gray}1.02 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$278 \mathrm{ms} \pm 1.17 \mathrm{ms}\left({\color{gray}0.536 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$10.9 \mathrm{ms} \pm 50.1 \mathrm{μs}\left({\color{gray}-0.454 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$11.1 \mathrm{ms} \pm 58.0 \mathrm{μs}\left({\color{gray}0.309 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$11.2 \mathrm{ms} \pm 63.6 \mathrm{μs}\left({\color{gray}1.18 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$11.2 \mathrm{ms} \pm 79.6 \mathrm{μs}\left({\color{gray}0.591 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$11.1 \mathrm{ms} \pm 75.9 \mathrm{μs}\left({\color{gray}-0.205 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$10.9 \mathrm{ms} \pm 63.5 \mathrm{μs}\left({\color{gray}0.136 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$11.1 \mathrm{ms} \pm 63.0 \mathrm{μs}\left({\color{gray}-0.310 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$11.1 \mathrm{ms} \pm 66.7 \mathrm{μs}\left({\color{gray}-0.406 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$11.2 \mathrm{ms} \pm 104 \mathrm{μs}\left({\color{gray}0.809 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$11.3 \mathrm{ms} \pm 84.1 \mathrm{μs}\left({\color{gray}0.550 \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 81.1 \mathrm{μs}\left({\color{gray}0.393 \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 67.9 \mathrm{μs}\left({\color{gray}0.484 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$11.4 \mathrm{ms} \pm 60.4 \mathrm{μs}\left({\color{gray}-0.202 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$11.7 \mathrm{ms} \pm 83.6 \mathrm{μs}\left({\color{gray}-0.748 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$11.5 \mathrm{ms} \pm 75.7 \mathrm{μs}\left({\color{gray}0.356 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$11.6 \mathrm{ms} \pm 67.9 \mathrm{μs}\left({\color{gray}-0.134 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$11.5 \mathrm{ms} \pm 63.4 \mathrm{μs}\left({\color{gray}-0.025 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$11.5 \mathrm{ms} \pm 73.3 \mathrm{μs}\left({\color{gray}-0.280 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$11.7 \mathrm{ms} \pm 83.4 \mathrm{μs}\left({\color{gray}2.37 \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.59 \mathrm{ms} \pm 49.1 \mathrm{μs}\left({\color{gray}0.219 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$56.9 \mathrm{ms} \pm 467 \mathrm{μs}\left({\color{gray}1.23 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$109 \mathrm{ms} \pm 593 \mathrm{μs}\left({\color{gray}-0.224 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$63.4 \mathrm{ms} \pm 546 \mathrm{μs}\left({\color{gray}-1.402 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:1;link_dests:0;type:true $$73.1 \mathrm{ms} \pm 555 \mathrm{μs}\left({\color{gray}0.418 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:2;links:1;link_dests:0;type:true $$81.7 \mathrm{ms} \pm 594 \mathrm{μs}\left({\color{gray}-0.745 \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.8 \mathrm{ms} \pm 522 \mathrm{μs}\left({\color{gray}-0.259 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$42.9 \mathrm{ms} \pm 294 \mathrm{μs}\left({\color{gray}-0.419 \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 $$70.7 \mathrm{ms} \pm 423 \mathrm{μs}\left({\color{gray}-0.886 \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 $$49.0 \mathrm{ms} \pm 405 \mathrm{μs}\left({\color{gray}0.083 \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.2 \mathrm{ms} \pm 480 \mathrm{μs}\left({\color{gray}-1.067 \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 $$60.2 \mathrm{ms} \pm 507 \mathrm{μs}\left({\color{gray}-1.306 \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 $$60.5 \mathrm{ms} \pm 448 \mathrm{μs}\left({\color{gray}-0.325 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$123 \mathrm{ms} \pm 522 \mathrm{μs}\left({\color{gray}1.75 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$134 \mathrm{ms} \pm 537 \mathrm{μs}\left({\color{gray}0.902 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$19.2 \mathrm{ms} \pm 255 \mathrm{μs}\left({\color{gray}-0.589 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$521 \mathrm{ms} \pm 1.14 \mathrm{ms}\left({\color{gray}-1.594 \mathrm{\%}}\right) $$ Flame Graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infra Relates to version control, CI, CD or IaC (area)

Development

Successfully merging this pull request may close these issues.

3 participants