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
Support fast incremental reruns on --test_timeout, etc. changes #5579
Comments
@serynth this is fixed as of f29f78d? With the caveat that |
Yup, that fixes it! The specific list of flags that works:
Flags that don't work (well, any of them not listed above, but these are the ones I wanted to move):
|
Also, have to use |
Anyway, is this issue closeable now? |
Yeah, I'm good with this! :D |
Normally, changing any command line flag invalidates the build graph, meaning Bazel's analysis phase has to rebuild the graph from scratch.
There's good reason for this. But it's silly when changing flags like
--test_timeout
,--test_filter
, etc. Those flags are known to only affect tests. So while the tests themselves may need to be re-analyzed, none of their transitive dependencies (which represent the vast majority of the build graph) need to be.This is a tracking bug for the effort to optimize this case (i.e. only invalidate test targets when
--test*
flags change).A flag has already been written to support this: 0412a9f. But some more graph invalidation support is needed to make it functional.
The text was updated successfully, but these errors were encountered: