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
{{ message }}
Repository navigation
Commit 991bbc8
Browse filesBrowse the repository at this point in the historyBrowse files
message="No shared Lychee ${KIND} cache was restored for this checker configuration. Checking links without this baseline may take longer and make more network requests."
107
+
context="This is expected after checker changes in a PR; a refresh on ${DEFAULT_BRANCH} cannot seed settings that exist only in a PR."
108
+
hint="For an unexpected miss on ${DEFAULT_BRANCH}, maintainers can run CI: Lychee checks and caches (lychee.yml) on ${DEFAULT_BRANCH} with refresh-cache enabled."
Copy file name to clipboardExpand all lines: ci/README.md
+18-3Lines changed: 18 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -88,9 +88,9 @@ existing allowance for at most ten distinct HTTP 429 URLs.
88
88
89
89
### Shared URL Caches
90
90
91
-
Nightly is the only producer. It skips restoring, checks afresh, and publishes
92
-
successful results; every other job restores the newest baseline and never
93
-
publishes. Failed URLs and filesystem targets are never cached. Successes keep
91
+
Nightly and manual refreshes skip restoring, check afresh, and publish
92
+
successful results; ordinary checks restore the newest baseline and never
93
+
publish. Failed URLs and filesystem targets are never cached. Successes keep
94
94
their original timestamps and expire after three days, so a missed nightly
95
95
refresh does not break reuse, but a link that breaks after a nightly success
96
96
can stay unnoticed for up to 72 hours.
@@ -104,6 +104,21 @@ fragments and Lychee's cache does not record which validation ran. URL results
104
104
are shared across operating systems; pre-commit's installed environments keep
105
105
their OS- and Python-specific caches.
106
106
107
+
#### Refreshing Shared Caches
108
+
109
+
To rebuild both shared caches manually, open
110
+
[CI: Lychee checks and caches](https://github.com/NVIDIA/cuda-python/actions/workflows/lychee.yml)
111
+
(`.github/workflows/lychee.yml`), select the default branch, and enable
112
+
`refresh-cache` before choosing **Run workflow**. This runs the cache refresh
113
+
without the rest of nightly CI.
114
+
115
+
Checks that restore no matching baseline add a notice and a job-summary hint.
116
+
They still check links, with potentially more runtime and network traffic.
117
+
Checker changes in a PR intentionally start with a cold cache; refreshing the
118
+
default branch cannot seed a cache for settings that exist only in that PR.
119
+
Refreshing rebuilds cached successes; broken links and upstream rate limits
120
+
still need their usual investigation.
121
+
107
122
### Repository Links
108
123
109
124
Documentation can link to a path added or moved in the same PR using its
0 commit comments