[M5+] wire resolver::discover into cargoxx add

This commit is contained in:
2026-05-10 10:54:55 +00:00
parent 816ec993cd
commit afe1856e11
10 changed files with 269 additions and 17 deletions

View File

@@ -267,6 +267,14 @@ auto overlay_is_fresh(const OverlayRow& row, std::int64_t now) -> bool {
if (row.source == "manual" || row.source == "curated") {
return true;
}
// verified_at == 0 marks a provisional row — written by
// resolver::verify_link before its build runs and either confirmed
// (verified_at = now) or deleted afterwards. The verifying build
// itself must see this row to surface the candidate recipe to its
// codegen step.
if (row.verified_at == 0) {
return true;
}
return (now - row.verified_at) < THIRTY_DAYS_SECONDS;
}