Skip to content

chore: generate discovery artifacts in CI instead of checking them in#433

Merged
brendanjryan merged 1 commit into
mainfrom
ci/generate-artifacts-in-ci
Mar 23, 2026
Merged

chore: generate discovery artifacts in CI instead of checking them in#433
brendanjryan merged 1 commit into
mainfrom
ci/generate-artifacts-in-ci

Conversation

@brendanjryan

Copy link
Copy Markdown
Collaborator

Stop checking in generated files (discovery.json, discovery.example.json, llms.txt, icons). They're now generated on-the-fly:

  • pnpm dev — runs generate-discovery.ts + gen-icons.cjs before starting Vite
  • pnpm build — already ran generation as its first step (no change)
  • CItest and typecheck jobs now run generation before their checks

What changed

  • Added generated files to .gitignore and removed them from git
  • Updated dev script to generate before starting Vite
  • Dropped the generated-freshness CI job (no longer needed)
  • Added node scripts/generate-discovery.ts to CI test and typecheck jobs
  • Removed manual generation steps from service PR guide comment

No more "run generate-discovery.ts and commit" dance.

@vercel

vercel Bot commented Mar 23, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment Mar 23, 2026 4:52pm

Request Review

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@github-actions

Copy link
Copy Markdown

👋 Thanks for submitting a service to the MPP directory!

Before we review, please make sure you've completed these steps:

Required

  • Your service is live and accepting payments via MPP (not a placeholder or coming-soon)
  • You've added your entry to schemas/services.ts following the contributing guide
  • You've run node scripts/generate-discovery.ts and committed the updated schemas/discovery.json
  • You've run node scripts/gen-icons.cjs and committed any new icons
  • Types pass: pnpm check:types
  • Build succeeds: pnpm build

Recommended

  • Register your service on MPPScan — it follows the standard MPP discovery format and makes your service discoverable by agents immediately, no PR required

Review criteria

We prioritize services that are high quality and novel. We may not approve services that duplicate existing functionality or aren't yet production-ready.


📖 Contributing guide · 🔍 MPPScan · 📄 Protocol docs

- Remove discovery.json, discovery.example.json, llms.txt, and icons from git; add to .gitignore
- Add generation to dev script so pnpm dev works without manual steps
- Add generation to CI test/typecheck jobs; drop generated-freshness job
- Remove manual generation instructions from service PR guide
@brendanjryan brendanjryan force-pushed the ci/generate-artifacts-in-ci branch from d98c8b1 to 3848e8f Compare March 23, 2026 16:50
@brendanjryan brendanjryan merged commit c0703c4 into main Mar 23, 2026
8 checks passed
@brendanjryan brendanjryan deleted the ci/generate-artifacts-in-ci branch March 23, 2026 16:55
brendanjryan added a commit that referenced this pull request Mar 25, 2026
These files were added to .gitignore in #433 but never removed from
git tracking. Running git rm --cached so the gitignore actually takes
effect and PRs stop getting conflicts on generated files.
itsaark added a commit to itsaark/mpp that referenced this pull request Mar 27, 2026
discovery.json is now generated in CI (see tempoxyz#433, tempoxyz#459) and no longer tracked.
The GovLaws service entry in schemas/services.ts merged cleanly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant