Expand description
Resolve the staleness-reference sha per the configured policy. No network — live-origin
reads the last-fetched upstream tracking ref. Returns None when the reference can’t be
determined (“stale-unknown”), in which case sha-staleness is simply not evaluated.
Functions§
- resolve
- The staleness-reference sha per
policy(“none” | “local-head” | anything else = live-origin).offlineforces the cached reference (results/origin-sha) and never resolves fresh.