From 8790667bfb381a9e931bb8078e6020df157a4f95 Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Mon, 10 Aug 2026 11:20:51 -0700 Subject: [PATCH 1/2] Bump api to v1.63.5 --- server/go.mod | 2 +- server/go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/go.mod b/server/go.mod index c15e8b5b1a..2f03840b79 100644 --- a/server/go.mod +++ b/server/go.mod @@ -11,7 +11,7 @@ require ( github.com/labstack/echo/v4 v4.13.4 github.com/stretchr/testify v1.10.0 github.com/urfave/cli/v2 v2.3.0 - go.temporal.io/api v1.63.4 + go.temporal.io/api v1.63.5 golang.org/x/net v0.55.0 golang.org/x/oauth2 v0.34.0 google.golang.org/grpc v1.79.3 diff --git a/server/go.sum b/server/go.sum index ab08533a06..16e19ef01f 100644 --- a/server/go.sum +++ b/server/go.sum @@ -90,8 +90,8 @@ go.opentelemetry.io/otel/sdk/metric v1.39.0 h1:cXMVVFVgsIf2YL6QkRF4Urbr/aMInf+2W go.opentelemetry.io/otel/sdk/metric v1.39.0/go.mod h1:xq9HEVH7qeX69/JnwEfp6fVq5wosJsY1mt4lLfYdVew= go.opentelemetry.io/otel/trace v1.39.0 h1:2d2vfpEDmCJ5zVYz7ijaJdOF59xLomrvj7bjt6/qCJI= go.opentelemetry.io/otel/trace v1.39.0/go.mod h1:88w4/PnZSazkGzz/w84VHpQafiU4EtqqlVdxWy+rNOA= -go.temporal.io/api v1.63.4 h1:p4dVIAP3dJop0MfcyH9QSzjU7+V/ttLDhxFhSRUar58= -go.temporal.io/api v1.63.4/go.mod h1:SrlW2JMwVlDP4nRWSNznUFqnSHd+YeMDS1BkYo63HCQ= +go.temporal.io/api v1.63.5 h1:c11+kPYHkXXL3UiShPdbMD+xtvqGsbTibUA9ypmiCa4= +go.temporal.io/api v1.63.5/go.mod h1:SrlW2JMwVlDP4nRWSNznUFqnSHd+YeMDS1BkYo63HCQ= golang.org/x/crypto v0.52.0 h1:RMs7fP2rXdep0CftQlK8Uf+kibLm7qkCcradZWYz988= golang.org/x/crypto v0.52.0/go.mod h1:1QgfPxDqh0T2M/elOJtp9RvuR95kVjir0e6/BvEmGbc= golang.org/x/net v0.55.0 h1:bcvxaJn3e1U6InsFWt1JUq1aSjnRxLzT2rtD2KfkDF8= From d8d93f4c289f69f3c48aa6ad764a2092ca82ae20 Mon Sep 17 00:00:00 2001 From: Laura Whitaker Date: Mon, 10 Aug 2026 14:24:31 -0700 Subject: [PATCH 2/2] Bump protos to v1.22.0 --- package.json | 12 +-- pnpm-lock.yaml | 108 ++++++++++++------------ src/lib/i18n/locales/en/typed-errors.ts | 14 +++ src/lib/types/activity-execution.ts | 4 +- src/lib/types/index.ts | 28 ++---- 5 files changed, 82 insertions(+), 84 deletions(-) diff --git a/package.json b/package.json index 5a40bd4697..2c749c8010 100644 --- a/package.json +++ b/package.json @@ -135,12 +135,12 @@ "@sveltejs/adapter-vercel": "^6.3.2", "@sveltejs/kit": "2.57.1", "@sveltejs/vite-plugin-svelte": "^6.2.4", - "@temporalio/activity": "1.21.1", - "@temporalio/client": "1.21.1", - "@temporalio/common": "1.21.1", - "@temporalio/proto": "1.21.1", - "@temporalio/worker": "1.21.1", - "@temporalio/workflow": "1.21.1", + "@temporalio/activity": "1.22.0", + "@temporalio/client": "1.22.0", + "@temporalio/common": "1.22.0", + "@temporalio/proto": "1.22.0", + "@temporalio/worker": "1.22.0", + "@temporalio/workflow": "1.22.0", "@types/cors": "^2.8.13", "@types/express": "^4.17.17", "@types/js-yaml": "^4.0.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index d8f3d26945..079a59c8f1 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -212,23 +212,23 @@ importers: specifier: ^6.2.4 version: 6.2.4(svelte@5.55.7(@typescript-eslint/types@8.62.0))(vite@6.4.3(@types/node@18.19.130)(jiti@1.21.7)(terser@5.46.1)(yaml@2.8.3)) '@temporalio/activity': - specifier: 1.21.1 - version: 1.21.1 + specifier: 1.22.0 + version: 1.22.0 '@temporalio/client': - specifier: 1.21.1 - version: 1.21.1 + specifier: 1.22.0 + version: 1.22.0 '@temporalio/common': - specifier: 1.21.1 - version: 1.21.1 + specifier: 1.22.0 + version: 1.22.0 '@temporalio/proto': - specifier: 1.21.1 - version: 1.21.1 + specifier: 1.22.0 + version: 1.22.0 '@temporalio/worker': - specifier: 1.21.1 - version: 1.21.1(cssnano@5.1.15(postcss@8.5.16))(esbuild@0.25.12)(postcss@8.5.16) + specifier: 1.22.0 + version: 1.22.0(cssnano@5.1.15(postcss@8.5.16))(esbuild@0.25.12)(postcss@8.5.16) '@temporalio/workflow': - specifier: 1.21.1 - version: 1.21.1 + specifier: 1.22.0 + version: 1.22.0 '@types/cors': specifier: ^2.8.13 version: 2.8.19 @@ -2202,36 +2202,36 @@ packages: '@swc/types@0.1.25': resolution: {integrity: sha512-iAoY/qRhNH8a/hBvm3zKj9qQ4oc2+3w1unPJa2XvTK3XjeLXtzcCingVPw/9e5mn1+0yPqxcBGp9Jf0pkfMb1g==} - '@temporalio/activity@1.21.1': - resolution: {integrity: sha512-UjA1d4ugL3pRXElwnggtVAMe3lppUPzYpBPmpDLTXfOtxEXPTK1x+8OC2jrZY7qmvpHkOdoo86S+UYFzJkMk/A==} + '@temporalio/activity@1.22.0': + resolution: {integrity: sha512-hrPeELIMloFWVrwmDfG1lh3uFNkaYp1ZHpcpWmJniTeSyxqCqLdil4lBOv11FByb6HeKxE6rsvOOUohulyVhRg==} engines: {node: '>= 20.3.0'} - '@temporalio/client@1.21.1': - resolution: {integrity: sha512-rdZAh20wzI5i/SyS46Nv9mE6t2KkS9DTrB57HEMLsq6eqm58Nc6la0WQKJGsUNkmN98KKirByidZ5D/ik3kiQw==} + '@temporalio/client@1.22.0': + resolution: {integrity: sha512-b02ty0uDly6/ZRKlbavs5GjXVTry/GB4tkq0v1NH4H7x+nTo/OK0u5Ms8Nni8D+aar3xff9lzIpXNwu/Dp3P3w==} engines: {node: '>= 20.3.0'} - '@temporalio/common@1.21.1': - resolution: {integrity: sha512-8Pis59xYLrGu6GfkkWvrYWkSPEvo8lBBILsR6gBHGbymNlEc0ynylRXqPmRjwuLfYS7jHzxqjjO7cvXJQ/z2Fg==} + '@temporalio/common@1.22.0': + resolution: {integrity: sha512-1NpQpo/y6XU1ULbo/bXgBEhl6qQnOeB79NrsSJdjI38/hfXPom2IYGJcIxOFfsQICQ0zePEKzB9Yyo31KNpIxA==} engines: {node: '>= 20.3.0'} - '@temporalio/core-bridge@1.21.1': - resolution: {integrity: sha512-gCy/6TFhcFAjFPRN1DeHSwAnXU380Jn/y6yG2dkSV+rYK0JRl66SE2NvdcAjzhoPO/twHEaHklbppojH0cUpUw==} + '@temporalio/core-bridge@1.22.0': + resolution: {integrity: sha512-mJ5agqtfW+GBPYl+ivYLrBpKJ3oFOw8ogcoizNrxYCzwJeprGFiEgHDb/jzyvECR4HAy5s9zQFJYNyTruXXFMw==} engines: {node: '>= 20.3.0'} - '@temporalio/nexus@1.21.1': - resolution: {integrity: sha512-CIAoTt/WpSE0bn1mE9q5O6hU76q97W349e0FSrUuwQAYDXBy7jzFM6ZzYmm7S5Uk2tC1xrRCAjUGg1lMnHQppw==} + '@temporalio/nexus@1.22.0': + resolution: {integrity: sha512-4S1ZZdSNjrO9IUyhWxweIidvNn1X/ihEl+P2fOn/Ky38YRx9G+8wtV6g6lqG8zUrtEv//uqFw+HsRMziE2y4tg==} engines: {node: '>= 20.3.0'} - '@temporalio/proto@1.21.1': - resolution: {integrity: sha512-eSHGrZ6CxbtjrAzxiMgKrWeDiBlWk6/JkIqsB1hrkPB6TQXC67Az8v0BL0Fj3ur8ktQZbaacON/xCDjTsvJyGw==} + '@temporalio/proto@1.22.0': + resolution: {integrity: sha512-X7NVa0Z6HK3l9irZR48FKwZ9w9YXetCdF2z2KCIRr0W7Kul64Wt9o5hwvSXShAtrZuCEEHH8WO/ffHTXxJieLg==} engines: {node: '>= 20.3.0'} - '@temporalio/worker@1.21.1': - resolution: {integrity: sha512-ccXus6+w317tL+NsJXEYWpHFxcy0VDPfstmBzej0yZrkzWNvAkaWVGQbguKoLToDM8+DMaqklx1dX4gJnknR1g==} + '@temporalio/worker@1.22.0': + resolution: {integrity: sha512-axRHhUsovFlqDtXZxUnhRLV7WmC6qOMUCij13lw4glT5yRH62k8wIZqcT3naEfvLSzoDxjt2xM7me3VvTRSaow==} engines: {node: '>= 20.3.0'} - '@temporalio/workflow@1.21.1': - resolution: {integrity: sha512-Tsoe9RnB0mL75DGVo3wJJrgTl+QnHYUysPjqRkzQdzgeKravN8RxE0HCfS3cYRZej3eEVwoDftgbo7/KR0NXWQ==} + '@temporalio/workflow@1.22.0': + resolution: {integrity: sha512-31Ax529+TvfH2RCexOhiCyM3lARJJoVzrnRUS1gX+jl+mka+pRRnEUx4B572mZz0oOlCCxbiztHZF72wwwWZDA==} engines: {node: '>= 20.3.0'} '@testing-library/dom@10.4.1': @@ -9496,58 +9496,58 @@ snapshots: dependencies: '@swc/counter': 0.1.3 - '@temporalio/activity@1.21.1': + '@temporalio/activity@1.22.0': dependencies: - '@temporalio/client': 1.21.1 - '@temporalio/common': 1.21.1 + '@temporalio/client': 1.22.0 + '@temporalio/common': 1.22.0 - '@temporalio/client@1.21.1': + '@temporalio/client@1.22.0': dependencies: '@grpc/grpc-js': 1.14.3 - '@temporalio/common': 1.21.1 - '@temporalio/proto': 1.21.1 + '@temporalio/common': 1.22.0 + '@temporalio/proto': 1.22.0 abort-controller: 3.0.0 long: 5.3.2 nexus-rpc: 0.0.2 uuid: 11.1.1 - '@temporalio/common@1.21.1': + '@temporalio/common@1.22.0': dependencies: - '@temporalio/proto': 1.21.1 + '@temporalio/proto': 1.22.0 long: 5.3.2 ms: 3.0.0-canary.1 nexus-rpc: 0.0.2 proto3-json-serializer: 2.0.2 - '@temporalio/core-bridge@1.21.1': + '@temporalio/core-bridge@1.22.0': dependencies: '@grpc/grpc-js': 1.14.3 - '@temporalio/common': 1.21.1 + '@temporalio/common': 1.22.0 - '@temporalio/nexus@1.21.1': + '@temporalio/nexus@1.22.0': dependencies: - '@temporalio/client': 1.21.1 - '@temporalio/common': 1.21.1 - '@temporalio/proto': 1.21.1 + '@temporalio/client': 1.22.0 + '@temporalio/common': 1.22.0 + '@temporalio/proto': 1.22.0 long: 5.3.2 nexus-rpc: 0.0.2 - '@temporalio/proto@1.21.1': + '@temporalio/proto@1.22.0': dependencies: long: 5.3.2 protobufjs: 7.5.8 - '@temporalio/worker@1.21.1(cssnano@5.1.15(postcss@8.5.16))(esbuild@0.25.12)(postcss@8.5.16)': + '@temporalio/worker@1.22.0(cssnano@5.1.15(postcss@8.5.16))(esbuild@0.25.12)(postcss@8.5.16)': dependencies: '@grpc/grpc-js': 1.14.3 '@swc/core': 1.15.5 - '@temporalio/activity': 1.21.1 - '@temporalio/client': 1.21.1 - '@temporalio/common': 1.21.1 - '@temporalio/core-bridge': 1.21.1 - '@temporalio/nexus': 1.21.1 - '@temporalio/proto': 1.21.1 - '@temporalio/workflow': 1.21.1 + '@temporalio/activity': 1.22.0 + '@temporalio/client': 1.22.0 + '@temporalio/common': 1.22.0 + '@temporalio/core-bridge': 1.22.0 + '@temporalio/nexus': 1.22.0 + '@temporalio/proto': 1.22.0 + '@temporalio/workflow': 1.22.0 heap-js: 2.7.1 memfs: 4.51.1 nexus-rpc: 0.0.2 @@ -9574,10 +9574,10 @@ snapshots: - uglify-js - webpack-cli - '@temporalio/workflow@1.21.1': + '@temporalio/workflow@1.22.0': dependencies: - '@temporalio/common': 1.21.1 - '@temporalio/proto': 1.21.1 + '@temporalio/common': 1.22.0 + '@temporalio/proto': 1.22.0 nexus-rpc: 0.0.2 '@testing-library/dom@10.4.1': diff --git a/src/lib/i18n/locales/en/typed-errors.ts b/src/lib/i18n/locales/en/typed-errors.ts index 4d7daa2b1d..ab408fe009 100644 --- a/src/lib/i18n/locales/en/typed-errors.ts +++ b/src/lib/i18n/locales/en/typed-errors.ts @@ -195,6 +195,20 @@ export const Strings = { description: 'A Workflow Task failed because its payloads exceeded the maximum allowed size.', }, + ExternalStorageFailure: { + title: 'External Storage Failure', + description: 'A Workflow Task failed due to an external storage failure.', + }, + WorkflowPauseRequestedBeforeTaskStarted: { + title: 'Workflow Pause Requested Before Task Started', + description: + 'A Workflow Task failed because a pause was requested for the Workflow before the task started.', + }, + RequestTooLarge: { + title: 'Request Too Large', + description: + 'A Workflow Task failed because the request exceeded the maximum allowed size.', + }, WorkflowTaskTimedOut: { title: 'Workflow Task Timed Out', description: 'The Workflow Task encountered a timeout.', diff --git a/src/lib/types/activity-execution.ts b/src/lib/types/activity-execution.ts index 225bba2e92..005a12e740 100644 --- a/src/lib/types/activity-execution.ts +++ b/src/lib/types/activity-execution.ts @@ -7,8 +7,7 @@ import type { WorkflowSearchAttributes } from './workflows'; // string unions of the proto enum keys (not the numeric proto enum). Keying off // the generated proto enums ties them to the current API so they can't drift. export type ActivityExecutionStatus = - | keyof typeof import('@temporalio/proto').temporal.api.enums.v1.ActivityExecutionStatus - | 'ACTIVITY_EXECUTION_STATUS_PAUSED'; // TODO: Remove ACTIVITY_EXECUTION_STATUS_PAUSED once it is added to the proto enum + keyof typeof import('@temporalio/proto').temporal.api.enums.v1.ActivityExecutionStatus; export type ActivityIdReusePolicy = keyof typeof import('@temporalio/proto').temporal.api.enums.v1.ActivityIdReusePolicy; @@ -63,6 +62,7 @@ export interface ActivityExecutionInfo extends Omit< | 'executionDuration' | 'stateTransitionCount' | 'currentRetryInterval' + | 'executionTime' | 'startDelay' > { status: ActivityExecutionStatus; diff --git a/src/lib/types/index.ts b/src/lib/types/index.ts index fa3daafe2b..8d39c28263 100644 --- a/src/lib/types/index.ts +++ b/src/lib/types/index.ts @@ -17,17 +17,10 @@ export type GetClusterInfoResponse = export type GetSystemInfoResponse = temporal.api.workflowservice.v1.IGetSystemInfoResponse; export type Capabilities = - temporal.api.workflowservice.v1.GetSystemInfoResponse.ICapabilities & { - serverScaledProviderCloudRun?: boolean | null; - }; + temporal.api.workflowservice.v1.GetSystemInfoResponse.ICapabilities; -export type NamespaceCapabilities = NonNullable< - temporal.api.namespace.v1.NamespaceInfo.ICapabilities & { - standaloneActivityStartDelay?: boolean | null; - standaloneActivityBatchOperations?: boolean | null; - standaloneActivityOperatorCommands?: boolean | null; - } ->; +export type NamespaceCapabilities = + NonNullable; export type GetWorkflowExecutionHistoryResponse = temporal.api.workflowservice.v1.IGetWorkflowExecutionHistoryResponse; export type GetSearchAttributesResponse = @@ -47,12 +40,7 @@ export type UpdateScheduleRequest = temporal.api.workflowservice.v1.IUpdateScheduleRequest; export type StartBatchOperationRequest = temporal.api.workflowservice.v1.IStartBatchOperationRequest; -// TODO: Replace with temporal.api.common.v1.Execution -export type Execution = { - type?: ExecutionType; - businessId?: string; - runId?: string; -}; +export type Execution = temporal.api.common.v1.IExecution; export type CancelWorkflowRequest = temporal.api.workflowservice.v1.IRequestCancelWorkflowExecutionRequest; export type ResetWorkflowRequest = @@ -197,9 +185,7 @@ export type ActivityUpdateOptionsRequest = temporal.api.workflowservice.v1.IUpdateActivityOptionsRequest; export type ActivityUpdateOptionsResponse = temporal.api.workflowservice.v1.IUpdateActivityOptionsResponse; -export type ActivityOptions = temporal.api.activity.v1.IActivityOptions & { - startDelay?: string; -}; +export type ActivityOptions = temporal.api.activity.v1.IActivityOptions; export type WorkflowPropertiesModifiedEventAttributes = temporal.api.history.v1.IWorkflowPropertiesModifiedEventAttributes; @@ -327,9 +313,7 @@ export type EventLink = temporal.api.common.v1.ILink; export type Failure = temporal.api.failure.v1.IFailure; // api.worker -export type WorkerHostInfo = temporal.api.worker.v1.IWorkerHostInfo & { - workerGroupingKey?: string; -}; +export type WorkerHostInfo = temporal.api.worker.v1.IWorkerHostInfo; export type WorkerHeartbeat = temporal.api.worker.v1.IWorkerHeartbeat; export type WorkerPollerInfo = temporal.api.worker.v1.IWorkerPollerInfo; export type WorkerSlotsInfo = temporal.api.worker.v1.IWorkerSlotsInfo;