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.5 #5693

Merged
merged 1 commit into from
Nov 22, 2024

Conversation

hash-worker[bot]
Copy link
Contributor

@hash-worker hash-worker bot commented Nov 22, 2024

This PR contains the following updates:

Package Type Update Change
@temporalio/activity (source) dependencies patch 1.11.3 -> 1.11.5
@temporalio/client (source) dependencies patch 1.11.3 -> 1.11.5
@temporalio/common (source) dependencies patch 1.11.3 -> 1.11.5
@temporalio/proto (source) dependencies patch 1.11.3 -> 1.11.5
@temporalio/worker (source) dependencies patch 1.11.3 -> 1.11.5
@temporalio/workflow (source) devDependencies patch 1.11.3 -> 1.11.5
@temporalio/workflow (source) dependencies patch 1.11.3 -> 1.11.5

Release Notes

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

v1.11.5: 1.11.5

Compare Source

Noteworthy Changes
  • Normalize construction of user facing enums (#​1534)

    All user-facing enums have been revisited to be more in line with usual TypeScript conventions, rather than sticking to Temporal's Protobuf enum definitions.

    In short, that means:

    • No more redundant prefixes on enum values;
    • No more UNSPECIFIED values — TypeScript's undefined already means that;
    • Enum types are now string unions, and users may choose to provide the string value directly.

    For example:

        await startChild(sleep, {
    -     parentClosePolicy: ParentClosePolicy.PARENT_CLOSE_POLICY_ABANDON,
        
    +     parentClosePolicy: ParentClosePolicy.ABANDON,
            /* or even */
    +     parentClosePolicy: 'ABANDON',
        });

    Built-time compatibility is preserved for enum values that existed before. For example, code using ParentClosePolicy.PARENT_CLOSE_POLICY_ABANDON will still compile, but a deprecation will be reported.

    💥 Compile-time backward compatibility is only preserved for enums that were imported from user facing packages, such as @temporalio/common, @temporalio/client and @temporalio/workflow. Enum definitions imported directly from the @temporalio/proto package may no longer compile.

Features
  • Add experimental support for user-implementable Slot Supplier. (#​1553, temporalio/sdk-core#838, temporalio/sdk-core#842)

  • Add support for Workflow ID conflict policy. (#​1490)

  • Expose classes TextEncoder and TextDecoder inside of the Workflow sandbox. (#​1562, kudo to @​lukeramsden)

  • The OpenTelemetry Interceptor now adds correlation metadata on emitted logs from Workflow and Activity context loggers. (#​1565)

  • The OpenTelemetry Interceptor now passes the tracing metadata on signals. (#​1449, kudo to @​iravid)

  • [client] Add utility functions isGrpcDeadlineError and isGrpcCancelledError. (#​1548)

Bug Fixes
  • [worker] Fix memory leak on non-existant activity (#​1563)

  • [activity] Abort reason is now an instance of CancellationFailure (#​1561, kudo to @​ikonst)

  • [worker] Ensure Resource Tuner always hand out a minimum of one slot for sticky and not sticky Workflow Task pollers (temporalio/sdk-core#835)

Docs
Miscellaneous Tasks

v1.11.4: 1.11.4

Compare Source

This release was retracted due to inconsistencies in some package.json. Please use v1.11.5 instead.


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 November 22, 2024 15:12
@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 Nov 22, 2024
@hash-worker hash-worker bot added this pull request to the merge queue Nov 22, 2024
Copy link
Contributor

Benchmark results

@rust/hash-graph-benches – Integrations

representative_read_entity

Function Value Mean Flame graphs
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/person/v/1 $$16.8 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}-2.221 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/uk-address/v/1 $$16.1 \mathrm{ms} \pm 175 \mathrm{μs}\left({\color{lightgreen}-8.776 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/book/v/1 $$17.8 \mathrm{ms} \pm 170 \mathrm{μs}\left({\color{gray}2.77 \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 194 \mathrm{μs}\left({\color{gray}-0.955 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/organization/v/1 $$16.3 \mathrm{ms} \pm 163 \mathrm{μs}\left({\color{lightgreen}-6.909 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/playlist/v/1 $$16.9 \mathrm{ms} \pm 192 \mathrm{μs}\left({\color{lightgreen}-5.347 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/building/v/1 $$16.3 \mathrm{ms} \pm 187 \mathrm{μs}\left({\color{gray}-4.526 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/page/v/2 $$15.6 \mathrm{ms} \pm 145 \mathrm{μs}\left({\color{gray}1.88 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id entity type ID: https://blockprotocol.org/@alice/types/entity-type/song/v/1 $$16.8 \mathrm{ms} \pm 245 \mathrm{μs}\left({\color{gray}2.39 \mathrm{\%}}\right) $$ Flame Graph

representative_read_multiple_entities

Function Value Mean Flame graphs
entity_by_property depths: DT=255, PT=255, ET=255, E=255 $$69.8 \mathrm{ms} \pm 385 \mathrm{μs}\left({\color{gray}0.233 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=0 $$40.6 \mathrm{ms} \pm 163 \mathrm{μs}\left({\color{gray}-2.425 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=2, PT=2, ET=2, E=2 $$59.5 \mathrm{ms} \pm 268 \mathrm{μs}\left({\color{gray}0.754 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=0, E=2 $$44.9 \mathrm{ms} \pm 254 \mathrm{μs}\left({\color{gray}0.022 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=0, ET=2, E=2 $$50.2 \mathrm{ms} \pm 270 \mathrm{μs}\left({\color{gray}-0.293 \mathrm{\%}}\right) $$ Flame Graph
entity_by_property depths: DT=0, PT=2, ET=2, E=2 $$56.4 \mathrm{ms} \pm 416 \mathrm{μs}\left({\color{gray}3.47 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=255, PT=255, ET=255, E=255 $$109 \mathrm{ms} \pm 713 \mathrm{μs}\left({\color{gray}-1.635 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=0 $$43.1 \mathrm{ms} \pm 211 \mathrm{μs}\left({\color{gray}-1.464 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=2, PT=2, ET=2, E=2 $$98.5 \mathrm{ms} \pm 764 \mathrm{μs}\left({\color{gray}-0.907 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=0, E=2 $$80.9 \mathrm{ms} \pm 592 \mathrm{μs}\left({\color{gray}-2.271 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=0, ET=2, E=2 $$89.3 \mathrm{ms} \pm 584 \mathrm{μs}\left({\color{gray}-1.312 \mathrm{\%}}\right) $$ Flame Graph
link_by_source_by_property depths: DT=0, PT=2, ET=2, E=2 $$94.1 \mathrm{ms} \pm 623 \mathrm{μs}\left({\color{gray}-1.506 \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.38 \mathrm{ms} \pm 6.48 \mathrm{μs}\left({\color{gray}0.253 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_one_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$559 \mathrm{ms} \pm 4.32 \mathrm{ms}\left({\color{red}115 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$25.2 \mathrm{ms} \pm 203 \mathrm{μs}\left({\color{gray}1.61 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$20.2 \mathrm{ms} \pm 198 \mathrm{μs}\left({\color{gray}-0.356 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$51.1 \mathrm{ms} \pm 229 \mathrm{μs}\left({\color{gray}1.91 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$70.5 \mathrm{ms} \pm 502 \mathrm{μs}\left({\color{gray}-1.811 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_linkless

Function Value Mean Flame graphs
entity_by_id 1 entities $$1.88 \mathrm{ms} \pm 14.3 \mathrm{μs}\left({\color{gray}0.839 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 100 entities $$2.03 \mathrm{ms} \pm 9.88 \mathrm{μs}\left({\color{gray}0.206 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$1.92 \mathrm{ms} \pm 8.09 \mathrm{μs}\left({\color{gray}0.051 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1000 entities $$2.81 \mathrm{ms} \pm 11.7 \mathrm{μs}\left({\color{gray}0.026 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10000 entities $$13.5 \mathrm{ms} \pm 66.5 \mathrm{μs}\left({\color{gray}-0.160 \mathrm{\%}}\right) $$ Flame Graph

scaling_read_entity_complete_zero_depth

Function Value Mean Flame graphs
entity_by_id 50 entities $$5.33 \mathrm{ms} \pm 24.5 \mathrm{μs}\left({\color{red}23.9 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 5 entities $$1.89 \mathrm{ms} \pm 7.12 \mathrm{μs}\left({\color{gray}-2.723 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 1 entities $$1.90 \mathrm{ms} \pm 16.7 \mathrm{μs}\left({\color{gray}1.46 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 10 entities $$2.10 \mathrm{ms} \pm 7.35 \mathrm{μs}\left({\color{gray}-0.870 \mathrm{\%}}\right) $$ Flame Graph
entity_by_id 25 entities $$3.28 \mathrm{ms} \pm 11.4 \mathrm{μs}\left({\color{gray}-0.326 \mathrm{\%}}\right) $$ Flame Graph

Merged via the queue into main with commit 6a3d220 Nov 22, 2024
166 of 167 checks passed
@hash-worker hash-worker bot deleted the deps/js/temporalio-ts-monorepo branch November 22, 2024 16:17
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.

1 participant