Repository navigation
[CI] Schedule Windows smoke test daily - #6457
Conversation
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
b1bdaff to
b215869
Compare
zufayu
left a comment
There was a problem hiding this comment.
Approving.
I checked the two things that usually break a workflow when a schedule trigger is bolted on, and both are already handled:
- The
jit-op-smokegate is!github.event.pull_request || (draft == false && contains(labels, ...)). On a scheduled rungithub.event.pull_requestis null, so the first clause is true and the label requirement does not apply. The job runs. check_signal.sh:89drops the--eventfilter whenGITHUB_EVENT_NAMEisschedule, with the comment "Nightly workflows reuse the Checks result from the push run on the same SHA". So the gate finds the push-event Checks run onmain's head rather than waiting forever for a pull_request one.
0 13 * * * is 21:00 Beijing, which matches the comment.
Two notes, neither blocking:
-
Minute
0is the most contended slot on GitHub's scheduler — every cron in the world lands there, and scheduled runs at:00are routinely delayed by tens of minutes. Something like'37 13 * * *'would start closer to when you expect it. Cosmetic, but free. -
The more substantive question is who sees a red nightly. A scheduled run that fails on
mainhas no PR to annotate and nobody is notified by default, so the classic failure mode is a nightly that has been red for three weeks before anyone notices. Worth deciding now whether this posts somewhere, or whether we rely on the next labelled PR surfacing it. Not something to solve in this PR.
Summary
.github/workflows/nightly.yamlunchanged.Validation
Follow-up to #6242.