[M5+] wire resolver::discover into cargoxx add
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user