Skip to content

test(sandbox): read the staged manifest in tests without unsafe casts - #4636

Merged
yannickmonney merged 1 commit into
mainfrom
fix/sandbox-wave4-lint-knip
Oct 9, 2026
Merged

yannickmonney merged 1 commit into
mainfrom
fix/sandbox-wave4-lint-knip

Conversation

@yannickmonney

Copy link
Copy Markdown
Contributor

The runtime daemon's type-aware lint (bunx oxlint --type-aware, the lint job) failed on main with three no-unsafe-type-assertion errors in the staged-manifest tests from #4631: a dynamic import() cast to the module type, and two JSON.parse casts. These now go through type guards. Behaviour is unchanged; 39 tests pass, and the daemon lint and type-check are clean.

The unused exports that knip reports on main (two of them from the sandbox wave) are already removed by the open #4625, so this PR does not touch them.

@yannickmonney
yannickmonney merged commit c8bbb1d into main Oct 9, 2026
23 of 26 checks passed
@yannickmonney
yannickmonney deleted the fix/sandbox-wave4-lint-knip branch October 9, 2026 07:55
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