Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update temporalio-ts monorepo to v1.11.2 #5204

Merged
merged 1 commit into from
Sep 29, 2024

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Sep 21, 2024

This PR contains the following updates:

Package Type Update Change
@temporalio/activity (source) dependencies minor 1.10.1 -> 1.11.2
@temporalio/client (source) dependencies minor 1.10.1 -> 1.11.2
@temporalio/common (source) dependencies minor 1.10.1 -> 1.11.2
@temporalio/proto (source) dependencies minor 1.10.1 -> 1.11.2
@temporalio/worker (source) dependencies minor 1.10.1 -> 1.11.2
@temporalio/workflow (source) devDependencies minor 1.10.1 -> 1.11.2
@temporalio/workflow (source) dependencies minor 1.10.1 -> 1.11.2

Release Notes

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

v1.11.2: 1.11.2

Compare Source

Important ⚠️ ⚠️ ⚠️
  • This release fixes a bug in 1.11.0 and 1.11.1 that may result in Workflows failing to replay with the very same code.
    We urge users who are already using v1.11.0 or v1.11.1 to promptly upgrade to this release.
Bug Fixes
Dependencies
Thanks

v1.11.1: 1.11.1

Compare Source

Bug Fixes
  • [client] Reexport WorkflowExecutionAlreadyStartedError from @temporalio/client (#​1498)

v1.11.0: 1.11.0

Compare Source

Bug Fixes
  • Fix flakes in Worker Tuner and Workflow Update tests (#​1463)
  • [workflow] Don't propagate cancellation from non-cancellable scopes to children (#​1429)
  • [worker] Don't fail Worker on Activity Task decode failures (port from #​1473) (#​1477)
  • [ci] Enable file-based persistence on dev server for stress tests (#​1480)
  • [workflow] Fix cancel-before-started abandon activity (#​1487)
  • [doc] Docs were no longer being built and deployed in CI (#​1494)
  • [workflow] Process all activation jobs as a single batch (#​1488)
Documentation
  • Clarify some drawbacks of ephemeral servers, and other minor fixes (#​1478)
Features
Resource-based Worker Auto-tuning (EXPERIMENTAL)

Experimental support for worker tuning has been added along with an implementation for auto-tuning based on available
resources. WorkerOptions now has a tuner field that can be set to a WorkerTuner. This is composed of SlotSuppliers, of which currently FixedSize and ResourceBased are available. ResourceBased tuners change the number of available slots dynamically based on resource usage. For some examples of initializing the worker tuner, see here.

At some point the SlotSupplier interface will be manually implementable, but only fixed-size and resource-based slot suppliers are currently supported. Custom slot suppliers will appear in the future.

This SDK API is experimental and may change in incompatible ways in the future.

  • [workflow] Unify GRPC::CANCELED and DEADLINE_EXCEEDED in an SDK Timeout exception for Update (#​1452)
  • [workflow] Expose updateId to update handlers (#​1450)
  • [workflow] Add upsert memo command (#​1321)
Miscellaneous Tasks
  • Bump GHA runner for stress tests (#​1492)
Client
  • Make gRPC INTERNAL status retryable (#​1455)

v1.10.3: 1.10.3

Compare Source

Bug Fixes
  • [worker] Don't fail Worker on Activity Task decode failures (#​1473)

v1.10.2

Compare Source

Bug Fixes
  • [worker] Fix clients being created without prefixed metric meter (#​1465)
  • [workflow] Don't propagate cancellation from non-cancellable scopes to children (#​1466)
  • Update dependencies (#​1467)

Configuration

📅 Schedule: Branch creation - "before 4am every weekday,every weekend" (UTC), Automerge - At any time (no schedule defined).

🚦 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 September 21, 2024 09: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) area/libs Relates to first-party libraries/crates/packages (area) type/eng > backend Owned by the @backend team area/apps labels Sep 21, 2024
hashdotai
hashdotai previously approved these changes Sep 21, 2024
Copy link
Contributor

Benchmark results

@rust/graph-benches – Integrations

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$57.6 \mathrm{ms} \pm 403 \mathrm{μs}\left({\color{gray}1.17 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$55.4 \mathrm{ms} \pm 564 \mathrm{μs}\left({\color{gray}4.07 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$47.0 \mathrm{ms} \pm 246 \mathrm{μs}\left({\color{gray}2.90 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$71.6 \mathrm{ms} \pm 705 \mathrm{μs}\left({\color{lightgreen}-9.631 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$61.3 \mathrm{ms} \pm 310 \mathrm{μs}\left({\color{gray}0.473 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$42.3 \mathrm{ms} \pm 272 \mathrm{μs}\left({\color{gray}-4.027 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$99.2 \mathrm{ms} \pm 826 \mathrm{μs}\left({\color{gray}2.72 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$95.4 \mathrm{ms} \pm 626 \mathrm{μs}\left({\color{gray}2.49 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$84.7 \mathrm{ms} \pm 713 \mathrm{μs}\left({\color{gray}2.13 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$115 \mathrm{ms} \pm 1.47 \mathrm{ms}\left({\color{gray}4.38 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$107 \mathrm{ms} \pm 1.12 \mathrm{ms}\left({\color{gray}3.18 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$44.0 \mathrm{ms} \pm 340 \mathrm{μs}\left({\color{gray}1.11 \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/organization/v/1 $$18.1 \mathrm{ms} \pm 233 \mathrm{μs}\left({\color{gray}0.114 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$18.3 \mathrm{ms} \pm 249 \mathrm{μs}\left({\color{gray}3.26 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$17.7 \mathrm{ms} \pm 245 \mathrm{μs}\left({\color{lightgreen}-31.313 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.9 \mathrm{ms} \pm 225 \mathrm{μs}\left({\color{lightgreen}-13.780 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/block/v/1 $$16.8 \mathrm{ms} \pm 196 \mathrm{μs}\left({\color{red}5.50 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$17.0 \mathrm{ms} \pm 230 \mathrm{μs}\left({\color{gray}-3.885 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$17.3 \mathrm{ms} \pm 222 \mathrm{μs}\left({\color{lightgreen}-33.117 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.7 \mathrm{ms} \pm 172 \mathrm{μs}\left({\color{gray}-1.072 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$17.3 \mathrm{ms} \pm 247 \mathrm{μs}\left({\color{gray}1.09 \mathrm{\%}}\right) $$ Flame Graph

representative_read_entity_type

Function Value Mean Flame graphs
get_entity_type_by_id Account ID: d4e16033-c281-4cde-aa35-9085bf2e7579 $$1.51 \mathrm{ms} \pm 11.8 \mathrm{μs}\left({\color{red}6.21 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$2.01 \mathrm{ms} \pm 12.3 \mathrm{μs}\left({\color{gray}-2.897 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$2.56 \mathrm{ms} \pm 14.6 \mathrm{μs}\left({\color{lightgreen}-14.654 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.92 \mathrm{ms} \pm 10.0 \mathrm{μs}\left({\color{gray}1.23 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$4.13 \mathrm{ms} \pm 38.1 \mathrm{μs}\left({\color{gray}0.940 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.91 \mathrm{ms} \pm 9.08 \mathrm{μs}\left({\color{gray}1.85 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 10 entities $$51.5 \mathrm{ms} \pm 267 \mathrm{μs}\left({\color{red}22.9 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$73.7 \mathrm{ms} \pm 518 \mathrm{μs}\left({\color{gray}-2.146 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$24.7 \mathrm{ms} \pm 132 \mathrm{μs}\left({\color{gray}-0.041 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 50 entities $$272 \mathrm{ms} \pm 1.23 \mathrm{ms}\left({\color{gray}-0.619 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.5 \mathrm{ms} \pm 171 \mathrm{μs}\left({\color{gray}2.89 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 10000 entities $$13.1 \mathrm{ms} \pm 154 \mathrm{μs}\left({\color{gray}2.81 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.95 \mathrm{ms} \pm 14.1 \mathrm{μs}\left({\color{gray}4.41 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.22 \mathrm{ms} \pm 22.3 \mathrm{μs}\left({\color{red}9.62 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$3.11 \mathrm{ms} \pm 41.3 \mathrm{μs}\left({\color{red}13.3 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$2.00 \mathrm{ms} \pm 16.3 \mathrm{μs}\left({\color{red}6.68 \mathrm{\%}}\right) $$ Flame Graph

@hash-worker hash-worker bot deleted the deps/js/temporalio-ts-monorepo branch September 29, 2024 00:09
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