Skip to main content

LAST_MEASURED

Static LAST_MEASURED 

Source
static LAST_MEASURED: OnceLock<Mutex<HashMap<(PathBuf, String), BaseMeasurement>>>
Expand description

What each checkout’s last completed refresh measured, so a scan can carry it onto the seat’s row without waiting for the fetch itself. Pruned on the same window as the kick, and the row keeps its stored base when an entry goes.

Keyed by the base branch as well as the checkout: one worktree can draw two bases (a release branch against origin/main, then a hotfix against origin/develop), and a measurement of one must never answer the other.