Skip to content

chore: untrack generated discovery artifacts#459

Merged
brendanjryan merged 1 commit intomainfrom
fix/untrack-generated-files
Mar 25, 2026
Merged

chore: untrack generated discovery artifacts#459
brendanjryan merged 1 commit intomainfrom
fix/untrack-generated-files

Conversation

@brendanjryan
Copy link
Collaborator

Problem

PR #433 added schemas/discovery.json, schemas/discovery.example.json, and public/services/llms.txt to .gitignore — but never ran git rm --cached to actually untrack them. Git ignores .gitignore for files already in the index, so PRs (like #458) keep editing and conflicting on these generated files.

Fix

git rm --cached the three files so the .gitignore entries take effect. The files remain on disk (generated by pnpm generate:discovery) but are no longer committed.

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.
@vercel
Copy link

vercel bot commented Mar 25, 2026

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

Project Deployment Actions Updated (UTC)
mpp Ready Ready Preview, Comment Mar 25, 2026 3:21pm

Request Review

@brendanjryan brendanjryan merged commit 3d76fb8 into main Mar 25, 2026
9 checks passed
@brendanjryan brendanjryan deleted the fix/untrack-generated-files branch March 25, 2026 15:22
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5916b67ba7

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@@ -1,11989 +0,0 @@
{

Choose a reason for hiding this comment

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

P2 Badge Preserve discovery artifact used by service-diff automation

Removing schemas/discovery.json breaks the endpoint/metadata diff logic in .github/workflows/changed-services.yml: fileAt(..., 'schemas/discovery.json') now returns null for base/head, so parseDiscovery yields empty maps and the baseSvc && headSvc branch (lines 111–118) never runs. In that state, PRs that modify existing services in schemas/services.ts (for example endpoint pricing, descriptions, or paths) are reported as “No service-level changes detected,” which regresses review visibility for service updates.

Useful? React with 👍 / 👎.

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