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

Introduce resolveDepsResult which returns failures correctly #3390

Closed
wants to merge 1 commit into from

Conversation

lolgab
Copy link
Member

@lolgab lolgab commented Aug 19, 2024

No description provided.

@lolgab lolgab requested a review from lihaoyi August 19, 2024 11:46
@lihaoyi
Copy link
Member

lihaoyi commented Aug 19, 2024

We should be able to fix it by properly handling the thrown exception message without changing the API and rewriting all the callsites I think. Unless that proves to be impossible, I think that's definitely the better way to go

You can take a look at it if you want, if not I'll take a look and make sure it's fixed before 0.12.0-RC1 is cut end of august

@lolgab
Copy link
Member Author

lolgab commented Aug 19, 2024

So the idea is that when we get an exception during an evaluation, if it's of type Result.Failure it behaves as if Result.Failure was returned by a Task ?

@lihaoyi
Copy link
Member

lihaoyi commented Aug 19, 2024

Yeah, that was what I was trying to achieve in the original PR haha

@lolgab lolgab closed this Aug 19, 2024
@lolgab
Copy link
Member Author

lolgab commented Aug 19, 2024

On it :)

@lolgab
Copy link
Member Author

lolgab commented Aug 19, 2024

Implemented in #3391

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