You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci(migrations): confine snapshot cache lookup to a 3-day date window (#285)
* ci(migrations): confine snapshot cache lookup to a 3-day date window
An unbounded prefix restore searches the PR's own ref scope before the
base branch, so one stale PR-scoped snapshot shadows fresh dev-scoped
ones forever (daily CI use keeps it from evicting). PR #280 was pinned
to a 2026-07-10 previewnet snapshot that predates the on-chain
DeregisterAnnouncementPeriod fix and permanently failed the try_state
timing invariant added in #276.
Both jobs now look up snapshots only under explicit dated keys
(today/yesterday/day-before, UTC), so a restored snapshot is at most
two days old regardless of cache scope; the nightly 5AM refresh keeps
PRs from regenerating in practice. Stale branch-scoped entries become
unreachable and evict naturally.
* chore: minimize the docs
0 commit comments