Skip to content

Refresh the MCP catalog snapshot so validate includes mu - #72

Merged
bubbleptr merged 2 commits into
mainfrom
cursor/regenerate-mcp-catalog-snapshot-5930
Nov 2, 2026
Merged

bubbleptr merged 2 commits into
mainfrom
cursor/regenerate-mcp-catalog-snapshot-5930

Conversation

@bubbleptr

@bubbleptr bubbleptr commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Why

Production deploy of main at 8fcacea (chore: 更新资源统计数据) failed cd site && bun run validate. The failing test was the committed MCP snapshot matches the catalog aside from the stats snapshot.

mu was added to Alternative Distributions in fc6eba9 without regenerating mcp/catalog.snapshot.json. That comparison ignores stars, downloads, trend, repo URL, and statsGeneratedAt, so the later stats commit did not create the mismatch. It deployed a tree that was already missing mu, and the distributions count was still 1.

What

Regenerated the committed snapshot with the documented exporter:

cd site && bun install && bun run export-catalog

Then restored stars, weekly downloads, and trend on packages that were already in the snapshot, which is how earlier directory updates kept weekly stats out of this file. The net diff adds mu (mu-a1e735dd, with its current stats) and sets the distributions / alternative-distributions counts to 2.

Verification

cd site && bun run validate passed locally after the final snapshot: 85 unit tests (including the snapshot comparison), astro check, the static build, and 42 rendered tests. cd mcp && npm test passed (12 tests).

Open in Web Open in Cursor 

cursoragent and others added 2 commits November 2, 2026 11:40
The directory entry landed without regenerating mcp/catalog.snapshot.json, so the committed snapshot comparison failed on main. Rewrote the snapshot with site export-catalog.

Co-authored-by: Kieran <bubbleptr@users.noreply.github.com>
export-catalog rewrote every package's stars and downloads. Restored those fields from the previous snapshot, matching earlier directory updates. mu keeps the stats from the current snapshot.

Co-authored-by: Kieran <bubbleptr@users.noreply.github.com>
@bubbleptr
bubbleptr merged commit a9e0f2b into main Nov 2, 2026
1 check passed
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.

2 participants