Skip to content

ci: exclude racy release-asset links from lychee link check - #166

Open
jack-arturo wants to merge 1 commit into
mainfrom
ci/exclude-release-asset-links
Open

ci: exclude racy release-asset links from lychee link check#166
jack-arturo wants to merge 1 commit into
mainfrom
ci/exclude-release-asset-links

Conversation

@jack-arturo

Copy link
Copy Markdown
Member

What

Excludes release-asset "latest download" URLs from the Check Links
(lychee) job.

Why

The v0.15.0 release succeeded end to end — npm published with provenance,
tag + GitHub release created, .mcpb asset uploaded — but the CI run on
the release-merge commit went red. The Check Links job hit:

[404] https://github.com/verygoodplugins/mcp-automem/releases/latest/download/mcp-automem.mcpb

This is a race, not a broken doc. The README "Download (.mcpb)" button
(README.md:117)
points at releases/latest/download/…. On a release merge, CI runs
concurrently with the release workflow, which creates the GitHub release
~1 minute before the build-extension job uploads the .mcpb asset.
Lychee checked the URL inside that window → 404 → CI failure on a perfectly
good release.

Fix

Add --exclude 'github.com/.*/releases/latest/download/.*', mirroring the
existing exclusion for racy compare/... links. The asset is still
validated where it's produced — the build-extension job fails loudly if
the .mcpb can't be built.

Notes

  • .mcpb support is unaffected — it's still built and shipped each release.
  • The v0.15.0 CI run was already re-run to green (the asset is live now);
    this only prevents recurrence on future releases.

The README "Download (.mcpb)" button points at
releases/latest/download/mcp-automem.mcpb. On a release merge the CI link
check runs concurrently with the release workflow, which creates the
GitHub release ~1 minute before the build-extension job uploads the .mcpb
asset. Lychee checked the URL inside that window and got a 404, failing CI
on an otherwise-successful release (v0.15.0).

Exclude release-asset "latest download" URLs from the check, mirroring the
existing exclusion for racy compare links. The asset is still validated by
the build-extension job that produces it.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@jack-arturo

Copy link
Copy Markdown
Member Author

/copilot-review

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