Skip to content

links: check with landingkit links instead of an inline curl loop - #43

Merged
tannevaled merged 1 commit into
mainfrom
links-landingkit
Oct 17, 2026
Merged

tannevaled merged 1 commit into
mainfrom
links-landingkit

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

The link check now runs the landing kit's own checker, landingkit links public, as in the kit's workflows/links.yml template. It replaces the inline curl loop.

  • Version: it runs at the landingkit version go.mod pins (v0.3.1), so Renovate's bump of the partials also bumps the checker.
  • Blob links: it probes github.com blob links on raw.githubusercontent.com, which the inline loop did not. github.com answers a program's request for a blob page with 503 most of the time; go-ndarray/docs went red on that.

Checked locally on this site's built output before switching:

  • every link passes;
  • a planted dead repository link and a planted dead blob link both fail the check (exit 1), the blob one through the raw host.

🤖 Generated with Claude Code

The kit's checker (pinned by go.mod) probes github.com blob links on the
raw host, which the inline loop did not. Run on this site first: all
links pass; a planted dead repo link and dead blob link both fail it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 3a3825b into main Oct 17, 2026
7 checks passed
@tannevaled
tannevaled deleted the links-landingkit branch October 17, 2026 19:26
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