Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typecheck: Disable strictNullChecks #3668

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

ocdtrekkie
Copy link
Collaborator

This is a potential fix for the failure of typecheck-ts. (We could also locked TypeScript down to 4.7.x, or fix the issues in question, of course...

I believe the new errors were caused due to: https://devblogs.microsoft.com/typescript/announcing-typescript-4-8/#unconstrained-generics-no-longer-assignable-to and this is an example of another project fixing their compatibility with 4.8: prisma/prisma#15072 which I feel may be useful reference if someone wants to tackle this "correctly".

@ocdtrekkie ocdtrekkie added the sandstorm-dev Issues hacking on Sandstorm label Oct 13, 2022
@ocdtrekkie
Copy link
Collaborator Author

Hah, and bypassing this got me to the actual error Kenton found when he was trying to test: https://github.com/sandstorm-io/sandstorm/actions/runs/3239675622/jobs/5309339670#step:12:436

Whole onion of test failures. Gotta get past the intermittent node-capnp to find the typecheck issue, gotta get past the typecheck issue to get child_process, etc.

@zenhack
Copy link
Collaborator

zenhack commented Oct 14, 2022

I'd rather not fix it this way; strict null checking is the sort of thing that has the potential to catch a lot of real bugs.

@ocdtrekkie
Copy link
Collaborator Author

Entirely fair: I opened this to document to abuse the CI for testing and leave notes. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sandstorm-dev Issues hacking on Sandstorm
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants