Replies: 1 comment
-
There's currently no way to access that information without running the task, as it's coupled to the task runner. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to query whether or not the inputs of a task are fully cached, and thus whether the task will be skipped?
I found a few apparent dead-ends:
moon query tasks --json
returns astate
field for each task, but it doesn't seem to reflect stale inputs.moon query hash
seems like it could play a role in a solution, but I don't know how to get the hash of the inputs for a task.moon query touched-files
is not quite what I want because the cache state and the VCS state are not necessarily the same.What would be really useful would be a
--dry
flag formoon run
, e.g.:Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions