Skip to content

Should we stop marking XResult as uncacheable for fmt/fix/lint/test/etc... #17332

Answered by stuhood
thejcannon asked this question in Q&A
Discussion options

You must be logged in to vote

The scope of uncacheability for a @rule is a bit different:

Can see that the log is printed very quickly showing the result was cached

On the first run of pantsd, this would happen regardless of whether the @rule was marked uncacheable, because the @rule cannot hit a persistent cache: only the processes below it. So I think that for the case you're thinking of (lots of output in CI...?), it would not have any impact.

The only time the result would cease to be printed would be when the process below it re-ran within a single session, but did not change... almost certainly because it re-ran and hit the cache, but possibly also because it failed for a second time with exactly the same outp…

Replies: 1 comment 1 reply

Comment options

stuhood
Oct 24, 2022
Maintainer Sponsor

You must be logged in to vote
1 reply
@thejcannon
Comment options

thejcannon Oct 24, 2022
Maintainer Author

Answer selected by thejcannon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants