Skip to content

TS strict (3/3): runtime model/form/service changes + enable strict mode#3688

Open
tegan-temporal wants to merge 4 commits into
mainfrom
strict/3-behavior
Open

TS strict (3/3): runtime model/form/service changes + enable strict mode#3688
tegan-temporal wants to merge 4 commits into
mainfrom
strict/3-behavior

Conversation

@tegan-temporal

@tegan-temporal tegan-temporal commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Final PR of the strict-mode split (base #3686 and mechanical #3687 already merged).

Contains the genuine runtime-affecting changes and the strict: true flip, because they're coupled: the standalone-activity form's superForm types only resolve correctly under strictNullChecks, so this code can't type-check on a strict: false main — the flag has to land together with it. (Supersedes the separate flag PR #3640, now closed.)

  • WorkflowExecution optional fields (+ snapshot tests), schedule-form zod default seeding, standalone-activity retry fields as strings coerced at the boundary, duration-input defaults, requestFromAPI's Promise<T | undefined>
  • Flip strict: true in tsconfig.json
  • Switch the Danger strict-error check from warn to fail (1-indexed line numbers)

Verified: svelte-check reports 0 errors under strict on this branch.

@vercel

vercel Bot commented Jul 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
holocene Ready Ready Preview, Comment Jul 17, 2026 8:29pm

Request Review

Mechanical null-safety: nullish-coalescing defaults, optional chaining,
{#if} render guards, and generics-driven refactors. Behavior-preserving.
Rebased onto main after the base PR (#3686) merged.
WorkflowExecution optional fields (with their snapshot tests), schedule-form
zod default seeding, standalone-activity retry fields as strings coerced at the
boundary, duration-input defaults, and requestFromAPI's Promise<T | undefined>.
Base automatically changed from strict/2-mechanical to main July 17, 2026 20:25
Fold the strict: true flip + Danger warn->fail into this PR. The standalone-activity
form's superForm types only resolve correctly under strictNullChecks, so the behavior
changes can't type-check on a strict:false main — the flag must land with them.
Supersedes the separate flag PR (#3640).
@tegan-temporal tegan-temporal changed the title TS strict (3/4): runtime-affecting model, form, and service changes TS strict (3/3): runtime model/form/service changes + enable strict mode Jul 17, 2026
@tegan-temporal
tegan-temporal marked this pull request as ready for review July 17, 2026 21:55
@tegan-temporal
tegan-temporal requested a review from a team as a code owner July 17, 2026 21:55
@tegan-temporal tegan-temporal self-assigned this Jul 17, 2026
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