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 automatic flake detection #40

Open
ds300 opened this issue Apr 16, 2023 · 0 comments
Open

Add automatic flake detection #40

ds300 opened this issue Apr 16, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@ds300
Copy link
Owner

ds300 commented Apr 16, 2023

A big problem with turborepo is that when tasks end up running too often, you get no feedback as to why.

Lazyrepo already helps out here by listing what changed from one run to the next.

Another potentially very useful thing to do would be to detect and flag common causes of flakiness.

The biggest cause is when a task modifies one of its own input files, or the input files of one of its upstream dependencies.

It would be fairly minimal overhead to check the mtimes of upstream input files after each task ends. I wonder whether fs.watch would be cheap enough for this purpose too.

@ds300 ds300 converted this from a draft issue Apr 16, 2023
@ds300 ds300 added the enhancement New feature or request label Apr 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant