Skip to content

Commit 974080c

Browse files
authored
chore: Update Core in prep for v1.12.0 release (#1735)
1 parent 9b3ec22 commit 974080c

File tree

8 files changed

+20
-6
lines changed

8 files changed

+20
-6
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ jobs:
7777
version: '23.x'
7878
repo-token: ${{ secrets.GITHUB_TOKEN }}
7979

80+
- name: Upgrade Rust to latest stable
81+
uses: dtolnay/rust-toolchain@stable
82+
8083
- name: Rust Cargo and Build cache
8184
if: steps.cached-artifact.outputs.cache-hit != 'true'
8285
uses: Swatinem/rust-cache@v2

.github/workflows/conventions.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,11 @@ jobs:
4040
version: '23.x'
4141
repo-token: ${{ secrets.GITHUB_TOKEN }}
4242

43+
- name: Upgrade Rust to latest stable
44+
uses: dtolnay/rust-toolchain@stable
45+
with:
46+
components: clippy
47+
4348
- name: Rust Cargo and Build cache
4449
uses: Swatinem/rust-cache@v2
4550
with:

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,9 @@ jobs:
7575
version: '23.x'
7676
repo-token: ${{ secrets.GITHUB_TOKEN }}
7777

78+
- name: Upgrade Rust to latest stable
79+
uses: dtolnay/rust-toolchain@stable
80+
7881
# FIXME: Setup volumes so that we can benefit from the cache in the Docker-build scenario.
7982
# Or maybe just get rid of the cache entirely if it doesn't have sufficient benefits.
8083
- name: Rust Cargo and Build cache

.github/workflows/stress.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,9 @@ jobs:
8383
version: '23.x'
8484
repo-token: ${{ secrets.GITHUB_TOKEN }}
8585

86+
- name: Upgrade Rust to latest stable
87+
uses: dtolnay/rust-toolchain@stable
88+
8689
- name: Rust Cargo and Build cache
8790
uses: Swatinem/rust-cache@v2
8891
with:

packages/core-bridge/sdk-core

Submodule sdk-core updated 71 files

packages/test/src/test-bridge.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ const GenericConfigs = {
266266
tuner: {
267267
workflowTaskSlotSupplier: {
268268
type: 'fixed-size',
269-
numSlots: 1,
269+
numSlots: 2,
270270
},
271271
activityTaskSlotSupplier: {
272272
type: 'fixed-size',
@@ -280,7 +280,7 @@ const GenericConfigs = {
280280
nonStickyToStickyPollRatio: 0.5,
281281
workflowTaskPollerBehavior: {
282282
type: 'simple-maximum',
283-
maximum: 1,
283+
maximum: 2,
284284
},
285285
activityTaskPollerBehavior: {
286286
type: 'autoscaling',

packages/workflow/src/interfaces.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ export interface ContinueAsNewOptions {
325325
* @deprecated In favor of the new Worker Deployment API.
326326
* @experimental The Worker Versioning API is still being designed. Major changes are expected.
327327
*/
328-
versioningIntent?: VersioningIntent;
328+
versioningIntent?: VersioningIntent; // eslint-disable-line deprecation/deprecation
329329
}
330330

331331
/**
@@ -496,7 +496,7 @@ export interface ChildWorkflowOptions extends Omit<CommonWorkflowOptions, 'workf
496496
* @deprecated In favor of the new Worker Deployment API.
497497
* @experimental The Worker Versioning API is still being designed. Major changes are expected.
498498
*/
499-
versioningIntent?: VersioningIntent;
499+
versioningIntent?: VersioningIntent; // eslint-disable-line deprecation/deprecation
500500
}
501501

502502
export type RequiredChildWorkflowOptions = Required<Pick<ChildWorkflowOptions, 'workflowId' | 'cancellationType'>> & {

packages/workflow/src/workflow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ function scheduleActivityNextHandler({ options, args, headers, seq, activityType
195195
headers,
196196
cancellationType: encodeActivityCancellationType(options.cancellationType),
197197
doNotEagerlyExecute: !(options.allowEagerDispatch ?? true),
198-
versioningIntent: versioningIntentToProto(options.versioningIntent),
198+
versioningIntent: versioningIntentToProto(options.versioningIntent), // eslint-disable-line deprecation/deprecation
199199
priority: options.priority ? compilePriority(options.priority) : undefined,
200200
},
201201
});

0 commit comments

Comments
 (0)