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

improve error message when task cannot build #1032

Open
edublancas opened this issue Oct 12, 2022 · 1 comment
Open

improve error message when task cannot build #1032

edublancas opened this issue Oct 12, 2022 · 1 comment

Comments

@edublancas
Copy link
Contributor

When a user executes a task via Task.build, we verify that the upstream dependencies exist (since those are the inputs for the file the user wants to execute). However, the error message isn't descriptive enough and only tells the user the names of the tasks whose outputs are missing. It'd be better also to print specifically which products are missing.

We could use the ProductEvaluator logic. The easiest way I can think of is to store which products are outdated in an instance variable, although doesn't sound like the cleanest implementation

@rishav-karanjit
Copy link
Contributor

Hi @edublancas, I was wondering if you can give more details on the implementations?

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

No branches or pull requests

2 participants