Skip to content

Commit aac3eb5

Browse files
committed
Fix lint/build errors
1 parent c85fd1b commit aac3eb5

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

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)