Skip to content

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