Repository navigation
Bump link-cache to 0.6.0; adopt its expires-based rotation rule - #2792
Merged
Merged
Conversation
chalin
marked this pull request as draft
September 9, 2026 13:53
chalin
force-pushed
the
chalin-m24-link-cache-0.5.0-2026-0903
branch
from
September 9, 2026 14:36
400a60b to
9689bbb
Compare
chalin
force-pushed
the
chalin-m24-link-cache-0.5.0-2026-0903
branch
from
September 16, 2026 12:41
9689bbb to
3bac160
Compare
chalin
marked this pull request as ready for review
September 16, 2026 12:42
chalin
marked this pull request as draft
September 16, 2026 12:42
✅ Deploy Preview for docsydocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
chalin
force-pushed
the
chalin-m24-link-cache-0.5.0-2026-0903
branch
2 times, most recently
from
October 5, 2026 14:03
137dcde to
e5f1290
Compare
- Pin link-cache 0.5.0 (from 0.4.1): staleness checks are now opt-in (--check-stale); default runs only verify URLs missing from the cache. - Refresh workflow: run the checker with --check-stale, and add the new link-cache --max-age staleness guard (382d = max_cache_age 375d + the 7d refresh interval, per the link-cache README). - link-cache.jsonc: schema migration (status -> result), rewritten wholesale by the first 0.5.0 run; timestamps preserved.
- Refresh-PR body copy: failures are now failure words (error, timeout) or non-2xx codes, not negative statuses. - Workflow header: default mode age-trusts cached 2xx results only; failures and non-2xx re-check every run. - Maintainer notes: entry field is result (was status); expires redemption happens in the refresh lane's --check-stale run.
- Default runs verify URLs without a cached 2xx result (failures and non-2xx re-check every run), not just cache-missing URLs. - Refresh-PR body copy: live failures mint failure words only; drop the non-2xx mention.
The header owns the mode model; the --check-stale step comment keeps only the local why. Also drops the version stamp from the header.
- Workflow: drops the --check-stale step comment (the header owns the mode model) and the guard comment's exit-code restatement. - Maintainer notes: seed-redemption mechanics link to the link-cache README instead of paraphrasing it; gloss punctuation per the dash rules. - Cache: entry for the new README link.
`github:chalin/link-cache#f50daa1` (exact commit), the 0.6.0 lean core ahead of its npm release; swap to the registry version before merge. The supply-chain audit's git-pin allowlist gains a temporary entry covering both the lock's resolved URL and the manifest spec (full SHA only; a branch or tag ref still fails).
0.6.0 has one projection rule and no --check-stale: expired seeds are prune-eligible, so the weekly prune retires them and the following check re-verifies live. Removes the flag and the --max-age guard step; the header and the maintainer notes' seed bullet describe the 0.6.0 model, including exclusive expires dates.
Exact 0.6.0 from the npm registry replaces the exercise's git pin; the lock delta is link-cache alone (registry URL + integrity). Drops the supply-chain audit's temporary git-pin allowlist entry, restoring the file to main's shape (red with the stale entry, green after).
One `--prune 0` write (no lapsed seeds, so a pure normalization): 1105 entries from status to result with timestamps preserved, plus the maintainer notes' link-cache README entry. A second run leaves the file byte-identical.
The refresh workflow's header and PR-body line, and the maintainer notes' seed bullet, described prune exemption as a property of manual seeds; under 0.6.0 it is a holding expires date, and a lapsed one is dropped by the next prune ahead of the age rotation. The seed bullet now cites the operating model's one rule (the README is an index) and names the UTC day boundary; the cache swaps the README entry for the new URL, verified live. (r1.3-r1.5)
…edule" The link-checking section's "née refcache" etymology is not a fact a reader of the 0.6.0 model needs; the validation-schedule lead used a literal em dash where the style's term-gloss colon fits. (r1.9)
0.6.0 rotates the oldest entries without an expires date whatever set them; "lychee-verified" was true of today's cache but not the rule. The maintainer notes' validation-schedule lead drops its run-in label, which had left the sentence with two colons. (r2.1, r2.4)
The seed bullet says how a lapsed seed gets dropped (`-p 0`, or the next prune), uses "lapsed" like the tool and the workflow header, and shows the placeholder as a `"result"` pair; the field list names `result` and `expires` as fields and links the package's field reference. Link defs follow `main` rather than the pinned tag, so a bump can't strand them. The workflow header drops a clause that restated its first sentence, and the refresh PR's body formats field names as code. (r3.1, r3.7-r3.14)
`-p 10%` takes its tenth of the entries without `expires`, after the lapsed ones; the refresh PR's oldest-entry aside no longer says a held entry keeps its timestamp, which a failing re-check refreshes. (r4.1, r4.2)
The workflow header, the refresh_count input and the prune-step echo all described the count as the whole prune; under 0.6.0 lapsed expires entries drop as well. The notes' Inspect bullet names those entries by their field, not as seeds. (r5.1, r5.2, r5.3)
The header, input description and refresh PR body say what a prune does without restating the pool's own condition; the prune-step echo leaves the count split to the tool's log line. The Seed bullet adds the check run that dates a new seed (CI's clean-tree check would catch an undated one) and owns the lapsed-seed sentence alone. (r6.3-r6.9)
chalin
force-pushed
the
chalin-m24-link-cache-0.5.0-2026-0903
branch
from
October 6, 2026 11:44
891bab2 to
3710244
Compare
chalin
marked this pull request as ready for review
October 6, 2026 12:12
chalin
added a commit
that referenced
this pull request
Oct 7, 2026
- Contributes to #2775 - **Scope**: the 0.18.0 artifacts refreshed for the merges after #2840 (`0fdf3a6f` to `64411422`), merged `main` only; version guidance follows the changelog's official support policy - **Release post** - Linux Foundation stated as Docsy's home, with the module-path migration and canonical-path cleanup - `llms.txt` section (#2841, #2851) - Hugo section routing to the companion - Default script-dependency versions, with a reconcile action for existing overrides - Override notes as a `<details>` under the Upgrade step - **Hugo 0.165.0-0.166.0 upgrade guide**, new: the companion carrying the Hugo mechanics (the 0.16.0 model), one action block per change - **Changelog**, **user guide**, **maintainer notes**: aligned with the posts (one home per fact; the guide owns the evergreen rules the posts point to) - **Agent-support page**: reorganized around parallel Markdown-output and `llms.txt` sections, in Hugo's glossary terms (site, project, site root) - **Theme** (widening): `all.llms.txt` no longer lists an `AGENTS.md` page, a docsy.dev experiment from #2605 that leaked into the theme; `llms.txt` golden updated - **Version params**: both posts freeze every version param they render; the toolchain-versions test guards the frozen script pins and the companion's title bound - Post dates set; `draft: true` kept - **Out of scope** - Tag-time fields: draft flip, version stamp, `UNRELEASED` removal, the release link - CSP guidance home and the print-gap line: owner decisions pending - The dropped `AGENTS.md` `llms.txt` line: no changelog or post mention (experimental, docsy.dev-only; owner call) - Relative links in Markdown output versions: pre-existing, #2858 - **Coverage** (ledger, ten rows) - #2850: changelog, post (Other notable changes) - #2852: changelog, post, companion guide - #2851: user guide, changelog, post - #2853: post table - #2792: changelog, post - #2841: user guide, changelog, post - #2848: changelog, post (the LF fact) - #2829: post version table (the Dart Sass pin) - #2849, #2846: internal; release notes only - #2854: guide only - **Preview(s)** - https://deploy-preview-2855--docsydocs.netlify.app/blog/2026/0.18.0/ - https://deploy-preview-2855--docsydocs.netlify.app/blog/2026/hugo-0.165.0+/ - https://deploy-preview-2855--docsydocs.netlify.app/project/about/changelog/#next - https://deploy-preview-2855--docsydocs.netlify.app/docs/update/ - https://deploy-preview-2855--docsydocs.netlify.app/docs/content/agent-support/
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
NPM_CONFIG_MIN_RELEASE_AGEoverride: own package, exercised on this branch as a commit-pinned git dependency before its 2026-10-02 release; nothing else resolved under the overrideexpiresentries on every refresh runllms.txtfor kindsectionand doc-rooted sites #2841)statusentries merge cleanly, but 0.6.0's check rewrites them toresult, which fails CI'sis:clean;npm run fix:link-cachenormalizes themlink-cache.jsoncis main's entries rewritten by one 0.6.0 run (status→result), plus the two package-doc links the notes now citecheck:linksover docsy.dev under 0.6.0 is diff-free (17,993 links, 0 errors)test:repo,test:lychee, andcheckgreen