Skip to content

Update temporalio-ts monorepo to v1.15.0#7731

Open
hash-worker[bot] wants to merge 1 commit intomainfrom
deps/js/temporalio-ts-monorepo
Open

Update temporalio-ts monorepo to v1.15.0#7731
hash-worker[bot] wants to merge 1 commit intomainfrom
deps/js/temporalio-ts-monorepo

Conversation

@hash-worker
Copy link
Copy Markdown
Contributor

@hash-worker hash-worker bot commented Aug 16, 2025

This PR contains the following updates:

Package Change Age Confidence
@temporalio/activity (source) 1.12.1 -> 1.15.0 age confidence
@temporalio/client (source) 1.12.1 -> 1.15.0 age confidence
@temporalio/common (source) 1.12.1 -> 1.15.0 age confidence
@temporalio/proto (source) 1.12.1 -> 1.15.0 age confidence
@temporalio/worker (source) 1.12.1 -> 1.15.0 age confidence
@temporalio/workflow (source) 1.12.1 -> 1.15.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

temporalio/sdk-typescript (@​temporalio/activity)

v1.15.0: 1.15.0

Compare Source

Notable Changes
  • ⚠️ Fixed potential request storms when worker is configured with poller autoscaling, due to missing exponential backoff on ResourceExhausted and other gRPC errors. See PRs temporalio/sdk-core#1110 and temporalio/sdk-core#1111 for more details.
  • 💥 Node.js 18 is no longer supported (#​1930)
  • 🧪 Added experimental support for Bun runtime (#​1906)
Features
  • [opentelemetry] Expose functionality as plugin (#​1884)
  • [worker] Worker Connection Replacement (#​1902)
  • [workflow] Nexus Cancellation Types (#​1894)
  • [worker] Worker deployment versioning is now GA (#​1924)
  • [envconfig] Environment configuration is now GA (#​1924)
  • [testing] Add API to setup Nexus endpoint on ephemeral test server (#​1897)
  • [nexus] Expose Temporal Nexus operation info to Temporal Nexus operation (#​1896)
  • [bun] 🧪 Bun support - experimental (#​1906)
  • [runtime] 🧪 Buffered metrics - experimental (#​1922)
Bug Fixes
  • [worker] Add exponential backoff on ResourceExhausted and other gRPC errors in Poller autoscaler (#​1938 and #​1944)
  • [native] Correct native binding type for workerValidate (#​1939)
  • [client] Expose operatorService on ConnectionLike interface (#​1904)
  • [opentelemetry] Serialize TraceState before exporting to sink (#​1891)
  • [opentelemetry] makeWorkflowExporter accepts SpanProcessor (#​1886)
  • [ai] Add await to tool execution (#​1882)
  • [ai] Description was missing from the derived mcp tools (#​1905)
  • [ai] Fix a bug in AI SDK MCP Schema conversion (#​1890)
  • [common] Make search attribute type more lenient when parsing (#​1943)
  • [workflow] Allow logging queries validators during replay (#​1927)
  • [ai] Add missing dependency to ai package (#​1878)
  • [worker] Fix wf_task_replay_latency metric recording for non-replay tasks (#​1083)
  • [worker] Always send shutdown_worker RPC, fix WorkerStatus state when shutting down worker (#​1082)
  • [worker] Fix bug where we count first WFT as sticky cache hit (#​1091)
Dependencies

Breaking changes are marked with 💥
Experimental features are marked with 🧪

Full Changelog: temporalio/sdk-typescript@v1.14.1...v1.15.0

v1.14.1: 1.14.1

Compare Source

Minor Features
Bug Fixes
  • [workflow] Automatically cleanup AsyncLocalStorage on workflow context disposal (#​1871)
  • [OpenTelemetry] Avoid lazy loading workflow package in interceptors (#​1872)
  • Fix Env Config path to match docs (#​1870)
  • Fix typos in heartbeat JSDoc (#​1863, thanks @​daveyarwood)
Security
  • Bump lru from 0.16.1 to 0.16.3 (#​1873)

Full Changelog: temporalio/sdk-typescript@v1.14.0...v1.14.1

v1.14.0: 1.14.0

Compare Source

Noteworthy Features
  • 🧪 [ai] Introduced (experimental) AI SDK Integration (#​1792).
  • 💥 [client] TLS is enabled by default if an API key is provided (#​1847). To disable TLS in that specific context, explicitly set tls: false.
Minor Features
  • [opentelemetry] Create spans for all interceptor events (#​1835)
  • [worker] Enable Worker heartbeating (#​1818). Worker heartbeating allows smoother server-side behaviors when a Worker is shut down or somehow become unreachable.
Bug Fixes
  • [worker] The reusable workflow executor now properly runs dispose interceptors (#​1834, thanks @​mnahkies 🙏).
  • [core-bridge] Include bridge macros rust package in core-bridge npm package to allow building from source (#​1852, thanks @​stathis-alexander 🙏)
Security
  • [@temporalio/create]: bump glob from 10.3.10 to 10.5.0 (#​1828)
SDK-Core update

Commit temporalio/sdk-core@bd02cce -> temporalio/sdk-core@44a6576

Full Changelog: temporalio/sdk-typescript@v1.13.2...v1.14.0

v1.13.2: 1.13.2

Compare Source

[1.13.2] - 2025-11-10
Note Worthy Features
  • (experimental) Plugins Implementation (#​1794)
    • Plugins are a new way of providing easy configuration of workers and clients
  • (experimental) Introduce envconfig package (#​1795)
    • envconfig provides a way to configure clients using TOML files
Minor Features
  • Create RawValue from direct payload using identity payload converter (#​1806)
  • Add support for gRPC binary metadata values (#​1791)
  • Make address of test server public (#​1819)
  • Bump uuid to 11.1.0 (#​1789, thanks to @​TastyPi 🙏)
Bug Fixes
  • [otel] Mark peer dependencies as optional (#​1812)
  • [otel] Remove await from OTEL handleSignal interceptor (#​1803)
Security
  • Set explicit permissions for GitHub Actions workflows (#​1815)
Notable Changes
  • Remove experimental notices from poller behavior (#​1821)
  • Remove experimental notices from worker tuner APIs (#​1797)
SDK-Core update

Commit 871b320 -> bd02cce:

v1.13.1: 1.13.1

Compare Source

[1.13.1] - 2025-10-08
Minor features
Bug Fixes
  • Added retry policy to activity info (#​1788)
  • Don't set error status on otel spans for benign exceptions (#​1786)
Vulnerabilities
  • Bump tracing-subscriber from 0.3.19 to 0.3.20 in /packages/core-bridge (#​1780)

v1.13.0: 1.13.0

Compare Source

Note Worthy Features
  • [Experimental] Initial Nexus support (#​1708)
  • [Experimental] Fairness Keys & Weights (#​1768)
  • [Experimental] Expose Client on Activity Context (#​1769)
Bug Fixes
  • Fix worker logs not getting flushed in Core log level set to ERROR (#​1777)
New Contributors

Full Changelog: temporalio/sdk-typescript@v1.12.3...v1.13.0

v1.12.3: 1.12.3

Compare Source

[1.12.3] - 2025-08-19
Bug Fixes
  • Fix a recurring "Network error while sending worker heartbeat error due to PermissionDenied" warning messages in worker logs observed by Temporal Cloud users after upgrading to TS SDK 1.12.2 (#​1766)
  • Fix "Critical dependency: the request of a dependency is an expression" warning message emitted by workflow bundler since TS SDK 1.12.2 (#​1767).
  • Set default workflowExecution.runId to a UUID in MockActivityEnvironment (#​1723, thanks @​TastyPi).
Minor features
  • [Experimental] Activity pause/unpause (#​1729)

Full Changelog: temporalio/sdk-typescript@v1.12.2...v1.12.3

v1.12.2: 1.12.2

Compare Source

[1.12.2] - 2025-08-13
Bug Fixes
  • fix for pinned versioning behavior on server version >=1.28.0 (#​1754)
Minor features
  • Add RawValue support for payloads to bypass custom payload converters (#​1664)
  • The __temporal_ prefix is now reserved for internal entities. The __stack_trace and __enhanced_stack_trace are also reserved for internal queries (#​1644)
Notable changes
  • Experimental notices for Update with Start have now been removed, it is no longer experimental (#​1745)
  • User metadata allows you to attach arbitrary information to workflows and events. This information can be displayed in the Temporal UI, making it easier to identify and understand workflows and their operations. (#​1657)

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - "before 4am every weekday,every weekend" (UTC).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@hash-worker hash-worker bot enabled auto-merge August 16, 2025 18:50
@github-actions github-actions bot added area/deps Relates to third-party dependencies (area) area/apps > hash* Affects HASH (a `hash-*` app) area/apps > hash-api Affects the HASH API (app) labels Aug 16, 2025
hashdotai
hashdotai previously approved these changes Aug 16, 2025
@github-actions github-actions bot added area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team area/apps labels Aug 16, 2025
@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from 5907383 to 644b84c Compare August 23, 2025 00:36
@hash-worker hash-worker bot changed the title Update temporalio-ts monorepo to v1.12.2 Update temporalio-ts monorepo to v1.12.3 Aug 23, 2025
hashdotai
hashdotai previously approved these changes Aug 23, 2025
@codecov
Copy link
Copy Markdown

codecov bot commented Aug 23, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.49%. Comparing base (8df3d38) to head (394be0e).
⚠️ Report is 10 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #7731   +/-   ##
=======================================
  Coverage   62.49%   62.49%           
=======================================
  Files        1318     1318           
  Lines      134209   134210    +1     
  Branches     5517     5517           
=======================================
+ Hits        83876    83879    +3     
+ Misses      49418    49416    -2     
  Partials      915      915           
Flag Coverage Δ
apps.hash-ai-worker-ts 1.40% <ø> (-0.01%) ⬇️
apps.hash-api 0.00% <ø> (ø)
blockprotocol.type-system 40.84% <ø> (ø)
local.claude-hooks 0.00% <ø> (ø)
local.hash-graph-sdk 9.63% <ø> (ø)
local.hash-isomorphic-utils 0.00% <ø> (ø)
rust.antsi 0.00% <ø> (ø)
rust.error-stack 90.88% <ø> (ø)
rust.harpc-net 96.19% <ø> (+0.04%) ⬆️
rust.harpc-tower 66.80% <ø> (ø)
rust.harpc-types 0.00% <ø> (ø)
rust.harpc-wire-protocol 92.23% <ø> (ø)
rust.hash-graph-api 2.52% <ø> (ø)
rust.hash-graph-authorization 62.34% <ø> (ø)
rust.hash-graph-postgres-store 26.39% <ø> (ø)
rust.hash-graph-store 37.76% <ø> (ø)
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-eval 69.13% <ø> (ø)
rust.hashql-hir 89.06% <ø> (ø)
rust.hashql-mir 92.64% <ø> (ø)
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.

hashdotai
hashdotai previously approved these changes Aug 26, 2025
hashdotai
hashdotai previously approved these changes Aug 26, 2025
@github-actions github-actions bot added the area/apps > hash-api Affects the HASH API (app) label Aug 26, 2025
@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from 3ff9f9c to bbebd93 Compare August 30, 2025 21:48
@hash-worker hash-worker bot changed the title Update temporalio-ts monorepo to v1.12.3 Update temporalio-ts monorepo to v1.13.0 Aug 30, 2025
hashdotai
hashdotai previously approved these changes Aug 30, 2025
@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from 0df2f1a to cf0aec4 Compare November 13, 2025 22:14
@hash-worker hash-worker bot changed the title Update temporalio-ts monorepo to v1.13.1 Update temporalio-ts monorepo Nov 13, 2025
@vercel
Copy link
Copy Markdown

vercel bot commented Nov 13, 2025

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

Project Deployment Actions Updated (UTC)
hash Ready Ready Preview, Comment Mar 25, 2026 9:06pm
hashdotdesign Ready Ready Preview, Comment Mar 25, 2026 9:06pm
hashdotdesign-tokens Ready Ready Preview, Comment Mar 25, 2026 9:06pm
petrinaut Ready Ready Preview Mar 25, 2026 9:06pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
ds-theme Ignored Ignored Mar 25, 2026 9:06pm

@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented Nov 13, 2025

Here's the code health analysis summary for commits d9a3b41..6e67031. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource JavaScript LogoJavaScript✅ SuccessView Check ↗
DeepSource Secrets LogoSecrets✅ SuccessView Check ↗
DeepSource SQL LogoSQL✅ SuccessView Check ↗
DeepSource Rust LogoRust✅ SuccessView Check ↗
DeepSource Shell LogoShell✅ SuccessView Check ↗
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource Test coverage LogoTest coverage✅ SuccessView Check ↗

Code Coverage Report

MetricAggregateJavascript
Branch Coverage1.2% (down 28.4% from main)1.2% (down 2.8% from main)
Composite Coverage1.7% (down 54% from main)1.7% (down 5.8% from main)
Line Coverage1.8% (down 55.2% from main)1.8% (down 6.5% from main)

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from cf0aec4 to 7fe19ad Compare November 13, 2025 22:45
@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from 7fe19ad to 6e67031 Compare November 14, 2025 00:34
@hash-worker hash-worker bot changed the title Update temporalio-ts monorepo Update temporalio-ts monorepo to v1.13.2 Nov 14, 2025
@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from 6e67031 to 368b18d Compare November 25, 2025 11:40
@vercel vercel bot temporarily deployed to Preview – petrinaut November 25, 2025 11:40 Inactive
@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from 368b18d to 3ca5a86 Compare November 30, 2025 02:50
@vercel vercel bot temporarily deployed to Preview – petrinaut November 30, 2025 02:50 Inactive
@hash-worker hash-worker bot force-pushed the deps/js/temporalio-ts-monorepo branch from 3ca5a86 to ee915c6 Compare December 20, 2025 21:14
@cursor
Copy link
Copy Markdown

cursor bot commented Dec 20, 2025

PR Summary

Medium Risk
Upgrades core Temporal runtime/client/worker dependencies used by multiple services; behavioral changes in workflow execution or worker polling could impact background job processing despite being a version bump.

Overview
Updates the Temporal TypeScript SDK across the monorepo, bumping @temporalio/* packages from 1.12.1 to 1.15.0 in the API, workers, and shared libs.

Regenerates yarn.lock to reflect the new Temporal dependency graph (including new transitive packages like @temporalio/nexus and related version bumps such as webpack/heap-js).

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

@hash-worker hash-worker bot changed the title Update temporalio-ts monorepo to v1.13.2 Update temporalio-ts monorepo to v1.14.0 Dec 20, 2025
@vercel vercel bot temporarily deployed to Preview – petrinaut December 20, 2025 21:14 Inactive
Copy link
Copy Markdown

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

@codspeed-hq
Copy link
Copy Markdown

codspeed-hq bot commented Mar 18, 2026

Merging this PR will not alter performance

✅ 80 untouched benchmarks


Comparing deps/js/temporalio-ts-monorepo (394be0e) with main (4b21598)1

Open in CodSpeed

Footnotes

  1. No successful run was found on main (867de28) during the generation of this report, so 4b21598 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.9 \mathrm{ms} \pm 180 \mathrm{μs}\left({\color{gray}2.96 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$3.56 \mathrm{ms} \pm 26.7 \mathrm{μs}\left({\color{gray}4.19 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1001 $$13.1 \mathrm{ms} \pm 122 \mathrm{μs}\left({\color{gray}-4.070 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 3314 $$42.5 \mathrm{ms} \pm 299 \mathrm{μs}\left({\color{gray}-4.281 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$13.8 \mathrm{ms} \pm 117 \mathrm{μs}\left({\color{lightgreen}-7.497 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 1526 $$23.8 \mathrm{ms} \pm 173 \mathrm{μs}\left({\color{gray}-4.523 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 2078 $$29.4 \mathrm{ms} \pm 200 \mathrm{μs}\left({\color{gray}1.30 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.71 \mathrm{ms} \pm 20.9 \mathrm{μs}\left({\color{gray}-0.786 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 1033 $$13.6 \mathrm{ms} \pm 86.4 \mathrm{μs}\left({\color{lightgreen}-8.415 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_medium

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 102 $$3.72 \mathrm{ms} \pm 17.7 \mathrm{μs}\left({\color{gray}-0.093 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.89 \mathrm{ms} \pm 12.6 \mathrm{μs}\left({\color{gray}-0.656 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 51 $$3.26 \mathrm{ms} \pm 21.3 \mathrm{μs}\left({\color{gray}-0.091 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 269 $$5.18 \mathrm{ms} \pm 33.1 \mathrm{μs}\left({\color{gray}-2.423 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$3.48 \mathrm{ms} \pm 17.5 \mathrm{μs}\left({\color{gray}-1.778 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 107 $$4.13 \mathrm{ms} \pm 28.5 \mathrm{μs}\left({\color{gray}-1.853 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 133 $$4.43 \mathrm{ms} \pm 23.2 \mathrm{μs}\left({\color{gray}0.976 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$3.38 \mathrm{ms} \pm 20.6 \mathrm{μs}\left({\color{gray}1.49 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 63 $$4.02 \mathrm{ms} \pm 20.7 \mathrm{μs}\left({\color{gray}0.960 \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 13.5 \mathrm{μs}\left({\color{gray}0.554 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.60 \mathrm{ms} \pm 12.4 \mathrm{μs}\left({\color{gray}0.167 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 1 $$2.71 \mathrm{ms} \pm 15.1 \mathrm{μs}\left({\color{gray}0.122 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 8 $$2.97 \mathrm{ms} \pm 11.3 \mathrm{μs}\left({\color{gray}-0.490 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.78 \mathrm{ms} \pm 13.9 \mathrm{μs}\left({\color{gray}0.852 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 3 $$3.09 \mathrm{ms} \pm 19.0 \mathrm{μs}\left({\color{gray}0.729 \mathrm{\%}}\right) $$ Flame Graph

policy_resolution_small

Function Value Mean Flame graphs
resolve_policies_for_actor user: empty, selectivity: high, policies: 52 $$3.03 \mathrm{ms} \pm 19.6 \mathrm{μs}\left({\color{gray}0.315 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: low, policies: 1 $$2.69 \mathrm{ms} \pm 14.3 \mathrm{μs}\left({\color{gray}-1.675 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: empty, selectivity: medium, policies: 25 $$2.87 \mathrm{ms} \pm 14.3 \mathrm{μs}\left({\color{gray}-0.824 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: high, policies: 94 $$3.45 \mathrm{ms} \pm 15.5 \mathrm{μs}\left({\color{gray}-0.270 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: low, policies: 1 $$2.96 \mathrm{ms} \pm 14.4 \mathrm{μs}\left({\color{gray}-1.306 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: seeded, selectivity: medium, policies: 26 $$3.20 \mathrm{ms} \pm 15.1 \mathrm{μs}\left({\color{gray}-0.848 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: high, policies: 66 $$3.37 \mathrm{ms} \pm 16.4 \mathrm{μs}\left({\color{gray}0.317 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: low, policies: 1 $$2.95 \mathrm{ms} \pm 16.6 \mathrm{μs}\left({\color{gray}-0.554 \mathrm{\%}}\right) $$ Flame Graph
resolve_policies_for_actor user: system, selectivity: medium, policies: 29 $$3.26 \mathrm{ms} \pm 17.5 \mathrm{μs}\left({\color{gray}-0.099 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_complete

Function Value Mean Flame graphs
entity_by_id;one_depth 1 entities $$43.3 \mathrm{ms} \pm 193 \mathrm{μs}\left({\color{gray}-4.070 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 10 entities $$80.4 \mathrm{ms} \pm 404 \mathrm{μs}\left({\color{gray}-2.708 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 25 entities $$47.2 \mathrm{ms} \pm 245 \mathrm{μs}\left({\color{gray}-4.250 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 5 entities $$50.2 \mathrm{ms} \pm 302 \mathrm{μs}\left({\color{gray}-3.427 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;one_depth 50 entities $$59.4 \mathrm{ms} \pm 404 \mathrm{μs}\left({\color{gray}-0.829 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 1 entities $$44.7 \mathrm{ms} \pm 214 \mathrm{μs}\left({\color{gray}-1.623 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 10 entities $$417 \mathrm{ms} \pm 1.04 \mathrm{ms}\left({\color{gray}-0.528 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 25 entities $$100 \mathrm{ms} \pm 484 \mathrm{μs}\left({\color{gray}0.364 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 5 entities $$89.1 \mathrm{ms} \pm 320 \mathrm{μs}\left({\color{gray}0.614 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;two_depth 50 entities $$287 \mathrm{ms} \pm 930 \mathrm{μs}\left({\color{gray}0.398 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 1 entities $$18.6 \mathrm{ms} \pm 85.3 \mathrm{μs}\left({\color{gray}-2.362 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 10 entities $$19.2 \mathrm{ms} \pm 119 \mathrm{μs}\left({\color{gray}-1.651 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 25 entities $$19.5 \mathrm{ms} \pm 121 \mathrm{μs}\left({\color{gray}-0.687 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 5 entities $$19.2 \mathrm{ms} \pm 98.2 \mathrm{μs}\left({\color{gray}-2.756 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id;zero_depth 50 entities $$23.2 \mathrm{ms} \pm 118 \mathrm{μs}\left({\color{gray}-3.590 \mathrm{\%}}\right) $$ Flame Graph

read_scaling_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$18.6 \mathrm{ms} \pm 88.4 \mathrm{μs}\left({\color{gray}-0.910 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$18.8 \mathrm{ms} \pm 86.2 \mathrm{μs}\left({\color{gray}-1.814 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$18.9 \mathrm{ms} \pm 108 \mathrm{μs}\left({\color{gray}-1.420 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$19.2 \mathrm{ms} \pm 116 \mathrm{μs}\left({\color{gray}-2.266 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$25.9 \mathrm{ms} \pm 159 \mathrm{μs}\left({\color{gray}-1.744 \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.8 \mathrm{ms} \pm 273 \mathrm{μs}\left({\color{gray}0.488 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$33.2 \mathrm{ms} \pm 304 \mathrm{μs}\left({\color{gray}0.435 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$32.7 \mathrm{ms} \pm 292 \mathrm{μs}\left({\color{gray}-1.293 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$32.8 \mathrm{ms} \pm 344 \mathrm{μs}\left({\color{gray}-2.401 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$33.3 \mathrm{ms} \pm 291 \mathrm{μs}\left({\color{gray}0.798 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$33.4 \mathrm{ms} \pm 348 \mathrm{μs}\left({\color{gray}1.82 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$33.8 \mathrm{ms} \pm 327 \mathrm{μs}\left({\color{gray}1.52 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$33.8 \mathrm{ms} \pm 412 \mathrm{μs}\left({\color{gray}-0.693 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$33.5 \mathrm{ms} \pm 313 \mathrm{μs}\left({\color{gray}3.28 \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.21 \mathrm{ms} \pm 48.9 \mathrm{μs}\left({\color{gray}-0.485 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property traversal_paths=0 0 $$92.3 \mathrm{ms} \pm 558 \mathrm{μs}\left({\color{gray}1.76 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=255 1,resolve_depths=inherit:1;values:255;properties:255;links:127;link_dests:126;type:true $$141 \mathrm{ms} \pm 632 \mathrm{μs}\left({\color{gray}0.313 \mathrm{\%}}\right) $$
entity_by_property traversal_paths=2 1,resolve_depths=inherit:0;values:0;properties:0;links:0;link_dests:0;type:false $$97.7 \mathrm{ms} \pm 489 \mathrm{μs}\left({\color{gray}-0.092 \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 513 \mathrm{μs}\left({\color{gray}0.220 \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 518 \mathrm{μs}\left({\color{gray}0.067 \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 553 \mathrm{μs}\left({\color{gray}0.203 \mathrm{\%}}\right) $$
link_by_source_by_property traversal_paths=0 0 $$99.9 \mathrm{ms} \pm 648 \mathrm{μs}\left({\color{gray}1.99 \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 $$127 \mathrm{ms} \pm 542 \mathrm{μs}\left({\color{gray}1.35 \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 $$109 \mathrm{ms} \pm 768 \mathrm{μs}\left({\color{gray}4.13 \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 $$116 \mathrm{ms} \pm 790 \mathrm{μs}\left({\color{gray}2.98 \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 $$118 \mathrm{ms} \pm 592 \mathrm{μs}\left({\color{gray}1.89 \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 $$116 \mathrm{ms} \pm 573 \mathrm{μs}\left({\color{gray}1.07 \mathrm{\%}}\right) $$

scenarios

Function Value Mean Flame graphs
full_test query-limited $$136 \mathrm{ms} \pm 540 \mathrm{μs}\left({\color{gray}4.76 \mathrm{\%}}\right) $$ Flame Graph
full_test query-unlimited $$145 \mathrm{ms} \pm 490 \mathrm{μs}\left({\color{gray}3.52 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-limited $$103 \mathrm{ms} \pm 579 \mathrm{μs}\left({\color{gray}-1.947 \mathrm{\%}}\right) $$ Flame Graph
linked_queries query-unlimited $$573 \mathrm{ms} \pm 2.75 \mathrm{ms}\left({\color{gray}0.675 \mathrm{\%}}\right) $$ Flame Graph

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/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team

Development

Successfully merging this pull request may close these issues.

2 participants