Skip to main content

stale_install_note

Function stale_install_note 

Source
pub fn stale_install_note(
    manifest_path: &Path,
    blueprint: &Blueprint,
    agents_dir: Option<&Path>,
) -> Option<String>
Expand description

A note for a run about to start on an installed bundled blueprint that this binary ships a different version of.

lev setup is the only thing that has ever said this, and only when asked. Nothing said it at the moment it mattered, so an install could sit versions behind indefinitely - which is exactly how a run kept using an old checkpoint policy while the fix had shipped.

Deliberately narrow. It fires only for a manifest that is the installed copy, under agents_dir/<name>/, so a blueprint of the user’s own that happens to share a name with a bundled one is never nagged about.