Skip to content

link-cache-refresh: weekly cadence, 300-entry prunes, CLA-covered author - #2783

Merged
chalin merged 3 commits into
docsy:mainfrom
chalin:chalin-m24-link-cache-refresh-tune-2026-0901
Sep 1, 2026
Merged

chalin merged 3 commits into
docsy:mainfrom
chalin:chalin-m24-link-cache-refresh-tune-2026-0901

Conversation

@chalin

@chalin chalin commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator
  • Tunes the link-cache-refresh rotation from its first live run (Refresh link cache #2782): the mechanics worked end to end -- prune, re-verify, retire-gone-URLs, PR with telemetry -- but two operational findings need fixes.
  • CLA: cla/google fails github-actions[bot]-authored commits (a bot can't sign a CLA; consent-comment flow doesn't apply). Commits now author under a CLA-covered identity, named chalin (link-cache bot) so provenance stays legible; the pushing credential remains the workflow's GITHUB_TOKEN.
  • Cadence: rotation speed is merge cadence x prune count (an open PR absorbs later runs as sync-only), so daily x 75 mostly produced no-op runs against a maintainer-gated merge rhythm. Now weekly (Mondays) x 300: full rotation in about a month of merged refreshes, well inside lychee's 375-day max_cache_age.
  • After this lands, Refresh link cache #2782 gets closed and its branch deleted; the next scheduled run recreates the refresh PR under the new identity and count (pruned-then-reverified data regenerates, nothing is lost).

First live run's findings: the rotation mechanics worked end to end,
but cla/google fails github-actions[bot]-authored commits (the bot
cannot sign a CLA), and a daily cadence outpaces the maintainer-gated
merge rhythm that actually drives rotation speed.

- Weekly (Mondays) x 300 entries: full rotation in about a month of
  merged refreshes, well inside lychee's 375d max_cache_age.
- Commits author under a CLA-covered identity, named as machine-made;
  the pushing credential remains the workflow's GITHUB_TOKEN.
Header no longer claims CI suppression on the refresh PR (the first
live run disproved it: regular CI ran and passed) -- the design never
relied on it; the step-inventory sentence and the CLA rationale comment
go (the commit message and PR thread own that provenance).
@chalin
chalin merged commit 27810d4 into docsy:main Sep 1, 2026
18 checks passed
@chalin chalin mentioned this pull request Sep 1, 2026
@chalin
chalin deleted the chalin-m24-link-cache-refresh-tune-2026-0901 branch September 2, 2026 08:05
chalin added a commit to chalin/docsy that referenced this pull request Oct 3, 2026
chalin added a commit to chalin/docsy that referenced this pull request Oct 3, 2026
chalin added a commit to chalin/docsy that referenced this pull request Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant