https://pantsbuild.org/ logo
#development
Title
# development
e

enough-analyst-54434

10/09/2018, 2:01 AM
Is this solved by introducing a Clock as an intrinsic? The Auth rule takes a Clock input and re-auths at T-safety-margin. Races where the margin isn't enough are just like RPC failures - next time, probably works.
a

average-vr-56795

10/09/2018, 1:16 PM
Maybe… Ignoring revocation which may require retries outside of the clock… But I think it still leaves us in a weird place where the auth needs to be a field embedded in another node, rather than a node by its own right, because its invalidation doesn’t invalidate the things which depend on it
e

enough-analyst-54434

10/09/2018, 1:23 PM
Yeah, that really means a error return type or exception type is needed that allows a rule to signal an input was invalid.
a

average-vr-56795

10/09/2018, 1:24 PM
Yeah; unwind-and-retry is interesting
e

enough-analyst-54434

10/09/2018, 1:24 PM
And then, for niceness, an extra layer of re-running nodes in the current run. But that bit is not strictly needed.
a

average-vr-56795

10/09/2018, 1:24 PM
Also handles things like “transient network failure” or “My input file disappeared, can you re-compile it?”