Skip to content

ci: enforce registry artifact drift check in code-check workflow#914

Merged
Yeom-JinHo merged 3 commits intomagicuidesign:mainfrom
Yeom-JinHo:ci/registry-artifact
Mar 5, 2026
Merged

ci: enforce registry artifact drift check in code-check workflow#914
Yeom-JinHo merged 3 commits intomagicuidesign:mainfrom
Yeom-JinHo:ci/registry-artifact

Conversation

@Yeom-JinHo
Copy link
Member

Description

This PR adds a CI guard for registry artifact drift in the code-check workflow.
CI now rebuilds registry artifacts and fails when generated files are not committed.

Changes

  • Added a registry-drift job to .github/workflows/code-check.yml.
  • Unified execution with local workflow by using pnpm build:registry in CI.
  • Validated generated artifact paths (registry.json, __index__.tsx, public/r, llms files).
  • Improved failure output to show changed files and the exact fix command.

Motivation

Generated registry outputs can drift from source changes and still pass lint/type checks.
This job catches that early and keeps local and CI behavior consistent.

Breaking Changes

None.

Screenshots

N/A (CI/workflow-only change).

@Yeom-JinHo Yeom-JinHo self-assigned this Mar 5, 2026
@vercel
Copy link

vercel bot commented Mar 5, 2026

@Yeom-JinHo is attempting to deploy a commit to the product-studio Team on Vercel.

A member of the Team first needs to authorize it.

@Yeom-JinHo Yeom-JinHo merged commit 7806ee3 into magicuidesign:main Mar 5, 2026
4 of 5 checks 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.

1 participant