ci: remove broken links and add ecosystem link validator#6421
Open
ci: remove broken links and add ecosystem link validator#6421
Conversation
- Remove 24 plugins with inaccessible GitHub repositories - Update 5 URLs that were redirecting to new locations - Add validation script (scripts/validate-ecosystem-links.js) - Add weekly GitHub Action to detect broken links Removed plugins (404/abandoned): - @fastify-userland/request-id, typeorm-query-runner, workflows - fastify-http-client, fastify-knexjs, fastify-knexjs-mock - fastify-mongo-memory, fastify-objectionjs, fastify-slonik - fastify-autocrud, fastify-file-upload, fastify-firebase - fastify-firebase-auth, fastify-nats, fastify-orientdb - fastify-socket.io, fastify-sse-v2, fastify-tokenize - fastify-twitch-ebs-tools, fastify-vite, typeorm-fastify-plugin Updated redirects: - zeit/next.js -> vercel/next.js - clerkinc/javascript -> clerk/javascript - nucleode/arecibo -> ducktors/arecibo - squaremo/amqp.node -> amqp-node/amqplib - Dev-Manny/fastify-appwrite -> maniecodes/fastify-appwrite
Member
jean-michelet
left a comment
There was a problem hiding this comment.
GG!
Should we write some unit tests?
gurgunday
reviewed
Dec 28, 2025
jean-michelet
approved these changes
Dec 28, 2025
Fdawgs
approved these changes
Dec 28, 2025
Fdawgs
reviewed
Dec 28, 2025
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Check out repo | ||
| uses: actions/checkout@v4 |
Member
There was a problem hiding this comment.
Both referenced actions are knocking about on old versions, I think the latest is v6?
Fdawgs
requested changes
Dec 28, 2025
Co-authored-by: Frazer Smith <frazer.dev@icloud.com> Signed-off-by: Matteo Collina <matteo.collina@gmail.com>
Co-authored-by: Frazer Smith <frazer.dev@icloud.com> Signed-off-by: Matteo Collina <matteo.collina@gmail.com>
- Refactor script to use fetch instead of https module for testability - Export functions for testing while maintaining CLI functionality - Add comprehensive tests using undici MockAgent for HTTP mocking - Test extractGitHubLinks with various markdown patterns - Test checkGitHubRepo for 200, 404, and error scenarios 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
Summary
scripts/validate-ecosystem-links.js) to check all GitHub links.github/workflows/validate-ecosystem-links.yml) to automatically detect broken linksRemoved plugins
Abandoned accounts (as reported in security advisory):
@fastify-userland/request-id,@fastify-userland/typeorm-query-runner,@fastify-userland/workflowsfastify-http-client(kenuyx)fastify-knexjs,fastify-knexjs-mock,fastify-mongo-memory(chapuletta)fastify-objectionjs(jarcodallo)fastify-slonik(Unbuttun)Additional broken links found by validation:
fastify-autocrud,fastify-file-upload,fastify-firebase,fastify-firebase-authfastify-nats,fastify-orientdb,fastify-socket.io,fastify-sse-v2fastify-tokenize,fastify-twitch-ebs-tools,fastify-vite(community),typeorm-fastify-pluginUpdated redirects
Test plan
node scripts/validate-ecosystem-links.jswithGITHUB_TOKEN- all 320 links pass