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
Instead, run the trybot workflow every night via a cron schedule,
and have the workflow skip the use of caching in that scenario.
There are two noteworthy changes compared to the old mechanism:
1) We no longer fully evict (delete) all caches on a nightly basis.
This is no longer necessary on Namespace, as the performance of
the cache doesn't get noticeably affected by the size anymore,
and Namespace already deal with trimming and evicting caches.
As we stop evicting caches, we don't need to repopulate them either.
2) Because cron schedules on GitHub Actions only trigger on the default
branch by design, we no longer run the nightly trybot jobs on other
protected branches such as release branches. This seems fine;
we mainly care about catching test flakes on the development branch.
In the past two years, we have only used the release branches to
backport fixes, and we have never needed to fix test bugs in them.
The trybot workflow's workflow_dispatch trigger is now unnecessary,
as it was only being used directly by the evict_caches nightly workflow.
However, leave it around because it is a generally useful way to trigger
a run without needing to do a git push. Document it as such.
While here, update the default version used by the "early checks" step.
Signed-off-by: Daniel Martí <[email protected]>
Change-Id: I38dbbcc9d928ea7267edf81bbdbe69929885ab92
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cue/+/1217930
Reviewed-by: Paul Jolly <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Unity-Result: CUE porcuepine <[email protected]>
0 commit comments