Skip to content

Fix TS error blocking release build#31

Merged
mlund01 merged 1 commit into
mainfrom
claude/objective-mestorf-32c957
May 2, 2026
Merged

Fix TS error blocking release build#31
mlund01 merged 1 commit into
mainfrom
claude/objective-mestorf-32c957

Conversation

@mlund01
Copy link
Copy Markdown
Owner

@mlund01 mlund01 commented May 2, 2026

Summary

  • v0.0.66 release run 25030984380 failed in goreleaser's before hook because tsc -b errored with TS2345 at web/src/pages/MissionInstanceDetail.tsx:3481.
  • mission.inputsJson is string | undefined; the hasInputs useMemo gate doesn't narrow it. Default to "{}" so JSON.parse always gets a string.

Test plan

  • cd web && npm ci && npm run build succeeds locally (tsc + vite both clean).
  • After merge, push tag v0.0.67 to retrigger the Release workflow and confirm goreleaser publishes archives + checksums.txt.

JSON.parse(mission.inputsJson) failed strict null checks because
the prop is typed string | undefined and the hasInputs useMemo
gate cannot narrow it. Default to '{}' so the build passes.
@mlund01 mlund01 merged commit 6150fe2 into main May 2, 2026
1 check passed
@mlund01 mlund01 deleted the claude/objective-mestorf-32c957 branch May 2, 2026 01:36
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