diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d393728f4..892daefe7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -218,7 +218,7 @@ jobs: TEMPORAL_CLOUD_MTLS_TEST_CLIENT_KEY: ${{ secrets.TEMPORAL_CLIENT_KEY }} # For Temporal Cloud + API key tests - TEMPORAL_CLOUD_API_KEY_TEST_TARGET_HOST: us-west-2.aws.api.temporal.io:7233 + TEMPORAL_CLOUD_API_KEY_TEST_TARGET_HOST: us-east-1.aws.api.temporal.io:7233 TEMPORAL_CLOUD_API_KEY_TEST_NAMESPACE: ${{ vars.TEMPORAL_CLIENT_NAMESPACE }} TEMPORAL_CLOUD_API_KEY_TEST_API_KEY: ${{ secrets.TEMPORAL_CLIENT_CLOUD_API_KEY }} diff --git a/.gitmodules b/.gitmodules index b8abbc4e2..81168c312 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,4 @@ [submodule "sdk-core"] path = packages/core-bridge/sdk-core - url = https://github.com/temporalio/sdk-core.git + url = https://github.com/temporalio/sdk-rust.git + branch = main diff --git a/packages/proto/protos/index.d.ts b/packages/proto/protos/index.d.ts index 8405bc0e4..9db53aa89 100644 --- a/packages/proto/protos/index.d.ts +++ b/packages/proto/protos/index.d.ts @@ -5,14 +5,14 @@ * * ### Core SDK API * - * [Core SDK](https://github.com/temporalio/sdk-core) interfaces can be accessed in the `coresdk` namespace. + * [Core SDK](https://github.com/temporalio/sdk-rust) interfaces can be accessed in the `coresdk` namespace. * * ```ts * import { coresdk } from '@temporalio/proto'; * const activityTask: coresdk.activity_task.IActivityTask = { ... }; * ``` * - * The source protos are in the [sdk-core repo](https://github.com/temporalio/sdk-core/tree/ts-release/protos/local/temporal/sdk/core), for example [`ActivityTask` in `activity_task.proto`](https://github.com/temporalio/sdk-core/blob/85454935e39f789aaaa81f8a05773f8e2cdbcde2/protos/local/temporal/sdk/core/activity_task/activity_task.proto#L12). + * The source protos are in the [sdk-rust repo](https://github.com/temporalio/sdk-rust/tree/ts-release/protos/local/temporal/sdk/core), for example [`ActivityTask` in `activity_task.proto`](https://github.com/temporalio/sdk-rust/blob/85454935e39f789aaaa81f8a05773f8e2cdbcde2/protos/local/temporal/sdk/core/activity_task/activity_task.proto#L12). * * ### Temporal Service API * @@ -23,7 +23,7 @@ * const retryPolicy: temporal.api.common.v1.IRetryPolicy = { ... }; * ``` * - * The source protos are in [sdk-core/protos/api_upstream/temporal/api/](https://github.com/temporalio/sdk-core/tree/ts-release/protos/api_upstream/temporal/api), for example [`RetryPolicy` in `temporal/api/common/v1/message.proto`](https://github.com/temporalio/sdk-core/blob/85454935e39f789aaaa81f8a05773f8e2cdbcde2/protos/api_upstream/temporal/api/common/v1/message.proto#L96). + * The source protos are in [sdk-rust/protos/api_upstream/temporal/api/](https://github.com/temporalio/sdk-rust/tree/ts-release/protos/api_upstream/temporal/api), for example [`RetryPolicy` in `temporal/api/common/v1/message.proto`](https://github.com/temporalio/sdk-rust/blob/85454935e39f789aaaa81f8a05773f8e2cdbcde2/protos/api_upstream/temporal/api/common/v1/message.proto#L96). * * The gRPC service methods are documented in the proto comments and in the corresponding [`Temporal CLI` docs](https://docs.temporal.io/cli/). * @module diff --git a/packages/test/src/run-activation-perf-tests.ts b/packages/test/src/run-activation-perf-tests.ts index 3478391c1..139b25dab 100644 --- a/packages/test/src/run-activation-perf-tests.ts +++ b/packages/test/src/run-activation-perf-tests.ts @@ -104,7 +104,7 @@ if (!wf.inWorkflowContext()) { async function activate(workflow: VMWorkflow, activation: coresdk.workflow_activation.IWorkflowActivation) { // Core guarantees the following jobs ordering: // initWf -> patches -> update random seed -> signals+update -> others -> Resolve LA - // reference: github.com/temporalio/sdk-core/blob/a8150d5c7c3fc1bfd5a941fd315abff1556cd9dc/core/src/worker/workflow/mod.rs#L1363-L1378 + // reference: github.com/temporalio/sdk-rust/blob/a8150d5c7c3fc1bfd5a941fd315abff1556cd9dc/core/src/worker/workflow/mod.rs#L1363-L1378 // Tests are likely to fail if we artifically make an activation that does not follow that order const jobs: coresdk.workflow_activation.IWorkflowActivationJob[] = activation.jobs ?? []; function getPriority(job: coresdk.workflow_activation.IWorkflowActivationJob) { diff --git a/packages/test/src/test-workflows.ts b/packages/test/src/test-workflows.ts index f43ef8cc1..e08b45bf9 100644 --- a/packages/test/src/test-workflows.ts +++ b/packages/test/src/test-workflows.ts @@ -142,7 +142,7 @@ async function activate(t: ExecutionContext, activation: coresdk.workfl // Core guarantees the following jobs ordering: // initWf -> patches -> update random seed -> signals+update -> others -> Resolve LA - // reference: github.com/temporalio/sdk-core/blob/a8150d5c7c3fc1bfd5a941fd315abff1556cd9dc/core/src/worker/workflow/mod.rs#L1363-L1378 + // reference: github.com/temporalio/sdk-rust/blob/a8150d5c7c3fc1bfd5a941fd315abff1556cd9dc/core/src/worker/workflow/mod.rs#L1363-L1378 // Tests are likely to fail if we artifically make an activation that does not follow that order const jobs: coresdk.workflow_activation.IWorkflowActivationJob[] = activation.jobs ?? []; function getPriority(job: coresdk.workflow_activation.IWorkflowActivationJob) { diff --git a/packages/test/src/workflows/core-issue-589.ts b/packages/test/src/workflows/core-issue-589.ts index adb14a08b..0e6dfe563 100644 --- a/packages/test/src/workflows/core-issue-589.ts +++ b/packages/test/src/workflows/core-issue-589.ts @@ -4,7 +4,7 @@ import { unblockSignal } from './definitions'; const { customLogger } = wf.proxySinks(); -// Demo for https://github.com/temporalio/sdk-core/issues/589 +// Demo for https://github.com/temporalio/sdk-rust/issues/589 export async function coreIssue589(): Promise { wf.setHandler(wf.defineQuery('q'), () => { return 'not important';