Skip to content

Conversation

@rossedfort
Copy link
Contributor

@rossedfort rossedfort commented Feb 12, 2026

Description & motivation 💭

Screenshots (if applicable) 📸

Design Considerations 🎨

Testing 🧪

How was this tested 👻

  • Manual testing
  • E2E tests added
  • Unit tests added

Steps for others to test: 🚶🏽‍♂️🚶🏽‍♀️

  • Go to the schedules page and click "Create Schedule" in the empty state.
  • Ensure the form submit button is enabled.
  • Hit the "create" button, ensure field errors are displayed
  • Fill out all required fields, hit the "create" button, ensure schedule is created.
  • Go to the edit page for that schedule
  • Ensure same functionality as above

Checklists

Draft Checklist

Merge Checklist

Issue(s) closed

Docs

Any docs updates needed?

@rossedfort rossedfort requested a review from a team as a code owner February 12, 2026 20:42
@rossedfort rossedfort requested review from KATIETOLER and removed request for a team February 12, 2026 20:42
@vercel
Copy link

vercel bot commented Feb 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Feb 12, 2026 9:16pm

Request Review

const action: ScheduleActionParameters = {
identity,
namespace,
namespace: page.params.namespace,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

identity,
namespace,
namespace: page.params.namespace,
name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

namespace,
namespace: page.params.namespace,
name,
workflowType,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

namespace: page.params.namespace,
name,
workflowType,
workflowId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

const action: ScheduleActionParameters = {
identity,
namespace,
namespace: page.params.namespace,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

identity,
namespace,
namespace: page.params.namespace,
name,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

namespace,
namespace: page.params.namespace,
name,
workflowType,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

namespace: page.params.namespace,
name,
workflowType,
workflowId,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

@temporal-cicd
Copy link
Contributor

temporal-cicd bot commented Feb 12, 2026

Warnings
⚠️

📊 Strict Mode: 59 errors in 8 files (5.3% of 1122 total)

src/lib/services/workflow-service.ts (24)
  • L196:6: Type 'ErrorCallback' is not assignable to type '(error: unknown, toasts?: Toaster, errors?: Writable<NetworkError | null>, isBrowser?: boolean) => void'.
  • L258:4: Type 'ErrorCallback' is not assignable to type '(error: unknown, toasts?: Toaster, errors?: Writable<NetworkError | null>, isBrowser?: boolean) => void'.
  • L297:45: Argument of type 'unknown' is not assignable to parameter of type 'WorkflowExecutionAPIResponse | undefined'.
  • L430:28: No overload matches this call.
  • L646:4: Type 'ErrorCallback' is not assignable to type '(error: unknown, toasts?: Toaster, errors?: Writable<NetworkError | null>, isBrowser?: boolean) => void'.
  • L647:10: Argument of type '(response?: WorkflowExecutionAPIResponse) => WorkflowExecution' is not assignable to parameter of type '(value: unknown) => WorkflowExecution | PromiseLike'.
  • L677:4: Element implicitly has an 'any' type because expression of type 'string' can't be used to index type 'ISearchAttributes'.
  • L753:37: Argument of type 'SearchAttributeInput[]' is not assignable to parameter of type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; }[]'.
  • L816:8: Type 'ErrorCallback' is not assignable to type '(error: unknown, toasts?: Toaster, errors?: Writable<NetworkError | null>, isBrowser?: boolean) => void'.
  • L835:6: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  • L841:8: 'workflow' is possibly 'undefined'.
  • L843:8: 'workflow' is possibly 'undefined'.
  • L851:8: 'workflow' is possibly 'undefined'.
  • L853:8: 'workflow' is possibly 'undefined'.
  • L860:28: Element implicitly has an 'any' type because expression of type '0' can't be used to index type '{}'.
  • L865:8: Element implicitly has an 'any' type because expression of type '0' can't be used to index type '{}'.
  • L867:10: Element implicitly has an 'any' type because expression of type '0' can't be used to index type '{}'.
  • L870:8: Element implicitly has an 'any' type because expression of type '0' can't be used to index type '{}'.
  • L1017:20: Argument of type 'WorkflowExecution | undefined' is not assignable to parameter of type 'WorkflowExecution'.
  • L1056:28: Argument of type 'string | undefined' is not assignable to parameter of type 'string'.
  • L1084:10: Property 'executions' does not exist on type 'WithoutNextPageToken'.
  • L1084:41: Argument of type '(token: string) => Promise' is not assignable to parameter of type '(token?: NextPageToken | undefined) => Promise'.
  • L1128:6: Type 'ErrorCallback' is not assignable to type '(error: unknown, toasts?: Toaster, errors?: Writable<NetworkError | null>, isBrowser?: boolean) => void'.
  • L1157:6: Type 'ErrorCallback' is not assignable to type '(error: unknown, toasts?: Toaster, errors?: Writable<NetworkError | null>, isBrowser?: boolean) => void'.
src/lib/components/schedule/schedule-form/schedule-input-payload.svelte (2)
  • L43:13: 'payloads.payloads' is possibly 'null' or 'undefined'.
  • L45:31: 'payloads.payloads' is possibly 'null' or 'undefined'.
src/lib/components/schedule/schedule-form/schedules-calendar-view.svelte (1)
  • L116:10: Type 'string | null | undefined' is not assignable to type 'string | undefined'.
src/lib/components/workflow/search-attribute-input/index.svelte (1)
  • L61:13: Type 'string | false | 0 | undefined' is not assignable to type 'string | undefined'.
src/lib/components/workflow/add-search-attributes.svelte (2)
  • L30:6: Type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; } | { label: null; value: null; type: "Unspecified"; }' is not assignable to type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; }'.
  • L31:8: Type 'null' is not assignable to type 'string'.
src/lib/components/schedule/schedule-form/form.svelte (5)
  • L122:10: Type '{ encoding: "json/plain" | "json/protobuf"; messageType: string | undefined; hour: string; minute: string; second: string; phase: string; cronString: string; daysOfWeek: string[]; daysOfMonth: number[]; ... 8 more ...; taskQueue: string; }' is missing the following properties from type '{ name: string; days: string; encoding: "json/plain" | "json/protobuf"; workflowId: string; workflowType: string; taskQueue: string; searchAttributes: { type: "Unspecified" | "Keyword" | ... 5 more ... | "Datetime"; label: string; value?: any; }[]; ... 12 more ...; messageType?: string | undefined; }': editInput, timezoneName
  • L143:32: Argument of type 'ISchedule | null' is not assignable to parameter of type 'ISchedule | undefined'.
  • L212:15: Type 'string | undefined' is not assignable to type 'string'.
  • L215:15: Type 'string | undefined' is not assignable to type 'string'.
  • L216:10: Type 'IPayloads | null | undefined' is not assignable to type 'IPayloads'.
src/lib/pages/schedule-edit.svelte (13)
  • L57:6: Type 'string | undefined' is not assignable to type 'string'.
  • L58:6: Type 'string | undefined' is not assignable to type 'string'.
  • L59:6: Type 'string | undefined' is not assignable to type 'string'.
  • L60:6: Type 'string | undefined' is not assignable to type 'string'.
  • L61:6: Type 'string | undefined' is not assignable to type 'string'.
  • L62:6: Type '"json/plain" | "json/protobuf" | undefined' is not assignable to type '"json/plain" | "json/protobuf"'.
  • L64:6: Type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; }[] | undefined' is not assignable to type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; }[]'.
  • L76:6: Type 'string[] | undefined' is not assignable to type 'string[]'.
  • L77:6: Type 'number[] | undefined' is not assignable to type 'number[]'.
  • L78:6: Type 'string[] | undefined' is not assignable to type 'string[]'.
  • L79:6: Type 'string | undefined' is not assignable to type 'string'.
  • L93:20: Type '(preset: SchedulePreset, args: Partial, schedule: FullSchedule) => void' is not assignable to type '(preset: SchedulePreset, formData: { name: string; days: string; encoding: "json/plain" | "json/protobuf"; workflowId: string; workflowType: string; taskQueue: string; searchAttributes: { ...; }[]; ... 12 more ...; messageType?: string | undefined; }, schedule?: ISchedule | undefined) => void'.
  • L93:55: Type 'ISearchAttributes | null | undefined' is not assignable to type 'ISearchAttributes | undefined'.
src/lib/pages/schedules-create.svelte (11)
  • L44:6: Type 'string | undefined' is not assignable to type 'string'.
  • L45:6: Type 'string | undefined' is not assignable to type 'string'.
  • L46:6: Type 'string | undefined' is not assignable to type 'string'.
  • L47:6: Type 'string | undefined' is not assignable to type 'string'.
  • L48:6: Type 'string | undefined' is not assignable to type 'string'.
  • L49:6: Type '"json/plain" | "json/protobuf" | undefined' is not assignable to type '"json/plain" | "json/protobuf"'.
  • L51:6: Type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; }[] | undefined' is not assignable to type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; }[]'.
  • L63:6: Type 'string[] | undefined' is not assignable to type 'string[]'.
  • L64:6: Type 'number[] | undefined' is not assignable to type 'number[]'.
  • L65:6: Type 'string[] | undefined' is not assignable to type 'string[]'.
  • L66:6: Type 'string | undefined' is not assignable to type 'string'.

Generated by 🚫 dangerJS against b093b05

searchAttributes: form.searchAttributes,
workflowSearchAttributes: form.workflowSearchAttributes,
};

Copy link
Contributor

@temporal-cicd temporal-cicd bot Feb 12, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Argument of type 'ISchedule | null' is not assignable to parameter of type 'ISchedule | undefined'.

{...$constraints.taskQueue}
required
/>
<ScheduleInputPayload
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

<ScheduleInputPayload
bind:input={$form.input}
bind:editInput={$form.editInput}
{encoding}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'string | undefined' is not assignable to type 'string'.

bind:input={$form.input}
bind:editInput={$form.editInput}
{encoding}
bind:messageType={$form.messageType}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type 'IPayloads | null | undefined' is not assignable to type 'IPayloads'.

}: Props = $props();

const addSearchAttribute = () => {
attributesToAdd = [
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; } | { label: null; value: null; type: "Unspecified"; }' is not assignable to type '{ type: "Unspecified" | "Keyword" | "Text" | "Int" | "Double" | "Bool" | "KeywordList" | "Datetime"; label: string; value?: any; }'.

'workflowSearchAttributes',
);

const handleConfirm = (form: ScheduleFormData) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ⚠️ Type '{ encoding: "json/plain" | "json/protobuf"; messageType: string | undefined; hour: string; minute: string; second: string; phase: string; cronString: string; daysOfWeek: string[]; daysOfMonth: number[]; ... 8 more ...; taskQueue: string; }' is missing the following properties from type '{ name: string; days: string; encoding: "json/plain" | "json/protobuf"; workflowId: string; workflowType: string; taskQueue: string; searchAttributes: { type: "Unspecified" | "Keyword" | ... 5 more ... | "Datetime"; label: string; value?: any; }[]; ... 12 more ...; messageType?: string | undefined; }': editInput, timezoneName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant