Repository navigation
Strict tests and turn on strict mode - #414
Merged
jtklein-agents merged 1 commit intoNov 27, 2026
Merged
jtklein-agents merged 1 commit into
jtklein-agents merged 1 commit into
Conversation
tsconfig sets "strict": true and drops the flags it implies. Test files
use `!` where a lookup is known to hit; the null-parent Runs use
`{} as RunParent`. Strict surfaced a clash between the store's optional
hoverInfo and the option components' required one, and Input's
astralTree prop; both are loosened to match the store, with no runtime
change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #410
Summary
Tests:
!where a lookup is known to hit,let x!: Tfor callbacks assigned later,[] as string[]inCheckOutputResultstubs. The null-parent Runs become{} as RunParent(none reachesonError). No@ts-ignore/@ts-expect-erroradded.Strict also flagged two app types that disagreed with the store. Both are type-only, with no runtime change:
Evidence
"strict": true→tsc --noEmitreports 106 errors in 26 files (4 inApp.tsx, the rest in tests andsrc/test/).After:
tsc --noEmitexits 0.yarn verifypasses: lint, typecheck, 73 test files / 499 tests.Merge Danger
Door: two-way
Revert the one tsconfig line, and the rest is harmless
!s.Blast Radius: contributors
New code must now type-check under full strict mode. App behaviour is unchanged.
🤖 Generated with Claude Code