diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b789fbc80..fa095278a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,6 +77,9 @@ jobs: version: '23.x' repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Upgrade Rust to latest stable + uses: dtolnay/rust-toolchain@stable + - name: Rust Cargo and Build cache if: steps.cached-artifact.outputs.cache-hit != 'true' uses: Swatinem/rust-cache@v2 diff --git a/.github/workflows/conventions.yml b/.github/workflows/conventions.yml index b8f6ee163..60288f307 100644 --- a/.github/workflows/conventions.yml +++ b/.github/workflows/conventions.yml @@ -40,6 +40,11 @@ jobs: version: '23.x' repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Upgrade Rust to latest stable + uses: dtolnay/rust-toolchain@stable + with: + components: clippy + - name: Rust Cargo and Build cache uses: Swatinem/rust-cache@v2 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f506988b2..80864e1c5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,9 @@ jobs: version: '23.x' repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Upgrade Rust to latest stable + uses: dtolnay/rust-toolchain@stable + # FIXME: Setup volumes so that we can benefit from the cache in the Docker-build scenario. # Or maybe just get rid of the cache entirely if it doesn't have sufficient benefits. - name: Rust Cargo and Build cache diff --git a/.github/workflows/stress.yml b/.github/workflows/stress.yml index 0d7aec767..de4254853 100644 --- a/.github/workflows/stress.yml +++ b/.github/workflows/stress.yml @@ -83,6 +83,9 @@ jobs: version: '23.x' repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Upgrade Rust to latest stable + uses: dtolnay/rust-toolchain@stable + - name: Rust Cargo and Build cache uses: Swatinem/rust-cache@v2 with: diff --git a/packages/core-bridge/sdk-core b/packages/core-bridge/sdk-core index 1a3b41b3c..24a3c23a6 160000 --- a/packages/core-bridge/sdk-core +++ b/packages/core-bridge/sdk-core @@ -1 +1 @@ -Subproject commit 1a3b41b3c4ec5d800c84995748e9f16a67a9d4d9 +Subproject commit 24a3c23a6dc8842fddb5be3a52a534b863a01a7c diff --git a/packages/test/src/test-bridge.ts b/packages/test/src/test-bridge.ts index 04d930084..2605c762c 100644 --- a/packages/test/src/test-bridge.ts +++ b/packages/test/src/test-bridge.ts @@ -266,7 +266,7 @@ const GenericConfigs = { tuner: { workflowTaskSlotSupplier: { type: 'fixed-size', - numSlots: 1, + numSlots: 2, }, activityTaskSlotSupplier: { type: 'fixed-size', @@ -280,7 +280,7 @@ const GenericConfigs = { nonStickyToStickyPollRatio: 0.5, workflowTaskPollerBehavior: { type: 'simple-maximum', - maximum: 1, + maximum: 2, }, activityTaskPollerBehavior: { type: 'autoscaling', diff --git a/packages/workflow/src/interfaces.ts b/packages/workflow/src/interfaces.ts index 6ae15ff54..2c101387b 100644 --- a/packages/workflow/src/interfaces.ts +++ b/packages/workflow/src/interfaces.ts @@ -325,7 +325,7 @@ export interface ContinueAsNewOptions { * @deprecated In favor of the new Worker Deployment API. * @experimental The Worker Versioning API is still being designed. Major changes are expected. */ - versioningIntent?: VersioningIntent; + versioningIntent?: VersioningIntent; // eslint-disable-line deprecation/deprecation } /** @@ -496,7 +496,7 @@ export interface ChildWorkflowOptions extends Omit> & { diff --git a/packages/workflow/src/workflow.ts b/packages/workflow/src/workflow.ts index 745810f2b..2d5898865 100644 --- a/packages/workflow/src/workflow.ts +++ b/packages/workflow/src/workflow.ts @@ -195,7 +195,7 @@ function scheduleActivityNextHandler({ options, args, headers, seq, activityType headers, cancellationType: encodeActivityCancellationType(options.cancellationType), doNotEagerlyExecute: !(options.allowEagerDispatch ?? true), - versioningIntent: versioningIntentToProto(options.versioningIntent), + versioningIntent: versioningIntentToProto(options.versioningIntent), // eslint-disable-line deprecation/deprecation priority: options.priority ? compilePriority(options.priority) : undefined, }, });