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

Add config value to make optional outputs required for remote execution #3189

Merged

Conversation

peterebden
Copy link
Member

Over the past day or two, I've found a bunch of tests in our repo that don't cache properly because they don't produce all their outputs. This is really due to a mismatch between Please's semantics (that some test outputs are optional) and what REAPI is able to express. I'm fixing them as I can (#3188 is part of this) but it seems untenable in the long run since people can just break these again, and nothing tells them that anything is wrong.

This adds a config flag for remote execution to require optional test outputs to be present. I'll have to fix everything to be able to apply it, but once it's in, I'll at least know nobody will break it again the next time JS frameworks change.

@peterebden peterebden merged commit cb91e52 into thought-machine:master Jul 4, 2024
14 checks passed
@peterebden peterebden deleted the required-remote-outputs branch July 4, 2024 14: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.

2 participants