Skip to content

ci: block removing a parameter from a model#12

Merged
brunobuddy merged 1 commit into
mainfrom
feat/ci-parameter-removal-guard
May 21, 2026
Merged

ci: block removing a parameter from a model#12
brunobuddy merged 1 commit into
mainfrom
feat/ci-parameter-removal-guard

Conversation

@brunobuddy
Copy link
Copy Markdown
Member

💭 Why

Removing a published parameter breaks every Manifest user who already configured it. They lose the ability to see or change that setting, which can surface as hard errors in their setup.

✨ What changed

  • New Param guard workflow fails a PR when any param path on a model that still exists disappears.
  • npm run guard:params runs the same check locally (diffs the working tree against the base ref).
  • Renames count as removals (the old path is gone). Adding params and editing metadata are unaffected.
  • Deleting a whole model file stays allowed by design.
  • The allow-param-removal label skips the guard for intentional, reviewed removals and leaves a visible warning on the run.

🔧 For operators

  • Make the No parameter removals status check required in main branch protection so it actually blocks merges.
  • Optionally create the allow-param-removal label so the override is ready when needed.

Removing a published parameter breaks every Manifest user who already
configured it: they lose the ability to see or change that setting.

Add a Param guard workflow and `npm run guard:params` that fail when any
param path on an existing model disappears (renames count as removals).
Whole-model deletion stays allowed; the allow-param-removal label skips
the guard for intentional, reviewed removals.
@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

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

Project Deployment Actions Updated (UTC)
modelparameters-dev Ready Ready Preview May 21, 2026 10:58am

Request Review

@brunobuddy brunobuddy merged commit 2646b30 into main May 21, 2026
3 checks passed
@brunobuddy brunobuddy deleted the feat/ci-parameter-removal-guard branch May 21, 2026 11:00
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