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
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
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 --jsonreturns astatefield for each task, but it doesn't seem to reflect stale inputs.moon query hashseems 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-filesis 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
--dryflag formoon run, e.g.:Any help would be greatly appreciated!
Beta Was this translation helpful? Give feedback.
All reactions