Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,12 @@
"@sveltejs/adapter-vercel": "^6.3.2",
"@sveltejs/kit": "2.70.2",
"@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",
Expand Down
108 changes: 54 additions & 54 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion server/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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.36.0
google.golang.org/grpc v1.82.1
Expand Down
4 changes: 2 additions & 2 deletions server/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ go.opentelemetry.io/otel/sdk/metric v1.43.0 h1:S88dyqXjJkuBNLeMcVPRFXpRw2fuwdvfC
go.opentelemetry.io/otel/sdk/metric v1.43.0/go.mod h1:C/RJtwSEJ5hzTiUz5pXF1kILHStzb9zFlIEe85bhj6A=
go.opentelemetry.io/otel/trace v1.43.0 h1:BkNrHpup+4k4w+ZZ86CZoHHEkohws8AY+WTX09nk+3A=
go.opentelemetry.io/otel/trace v1.43.0/go.mod h1:/QJhyVBUUswCphDVxq+8mld+AvhXZLhe+8WVFxiFff0=
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=
Expand Down
14 changes: 14 additions & 0 deletions src/lib/i18n/locales/en/typed-errors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Expand Down
4 changes: 2 additions & 2 deletions src/lib/types/activity-execution.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,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;
Expand Down Expand Up @@ -65,6 +64,7 @@ export interface ActivityExecutionInfo extends Omit<
| 'executionDuration'
| 'stateTransitionCount'
| 'currentRetryInterval'
| 'executionTime'
| 'startDelay'
> {
status: ActivityExecutionStatus;
Expand Down
28 changes: 6 additions & 22 deletions src/lib/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<temporal.api.namespace.v1.NamespaceInfo.ICapabilities>;
export type GetWorkflowExecutionHistoryResponse =
temporal.api.workflowservice.v1.IGetWorkflowExecutionHistoryResponse;
export type GetSearchAttributesResponse =
Expand All @@ -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 =
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
Loading