Skip to content

ci: drop obsolete Releases/Pages link-check excludes - #40

Open
andrewcb22 wants to merge 1 commit into
holistic-ai:mainfrom
andrewcb22:ci/drop-obsolete-link-check-excludes
Open

ci: drop obsolete Releases/Pages link-check excludes#40
andrewcb22 wants to merge 1 commit into
holistic-ai:mainfrom
andrewcb22:ci/drop-obsolete-link-check-excludes

Conversation

@andrewcb22

Copy link
Copy Markdown
Contributor

Issue

#35 — the weekly link-check workflow excludes Releases, crates.io, and Pages URLs with a comment saying to drop them after the first release. v0.1.0 shipped 2026-07-28.

Change

Removes the Releases and Pages excludes, since both now resolve.

Kept the crates.io exclude, unlike the issue's literal checklist: verified the v0.1.0 release didn't include a cargo publish step, so crates.io/crates/surface-cli still 404s (checked with a browser user agent — a plain curl gets a 403 from Cloudflare that's misleading here). Removing it now would just turn the weekly check red on something no one can act on. Updated the inline comment to explain and left a pointer to drop it once the crate is actually published.

Testing

  • curl (with a browser UA) against all three previously-excluded URLs:
    • Releases: 200
    • Pages: 301 (valid redirect)
    • crates.io: 404 (still excluded)
  • Confirmed the crate name (surface-cli) against Cargo.toml and the README badge/install instructions.
  • Don't have a Rust toolchain in this environment to run lychee itself; the diff is a 4-line YAML change with no structural edits, reviewed by hand.

Fixes #35

v0.1.0 shipped 2026-07-28, so the Releases and Pages URLs excluded from
the weekly link check now resolve (verified: 200 and a 301 redirect,
respectively). Drop those two excludes so the check actually covers
them.

Left the crates.io exclude in place: surface-cli hasn't been
published to crates.io yet (verified 404 with a browser user agent),
so removing it now would just make the weekly check fail on something
that isn't actionable. Updated the comment to say so.

Fixes holistic-ai#35
--no-progress
--max-concurrency 8
--exclude '^https://github\.com/holistic-ai/surface/releases'
--exclude '^https://crates\.io/crates/surface-cli'

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not delete this link also?

@andrewcb22

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.

ci: drop the now-obsolete link-check excludes

2 participants