Skip to content

CI: 'Validate generated files are in sync' is red on main — registry.yaml and registry types are stale #2430

Description

@bokelley

Not introduced by any open PR. The "Validate generated files are in sync" step of the Generated, Docs & Formatting job fails on main itself — confirmed on run 30587961761 at commit f8f24fb5 (main HEAD at the time of filing).

Any PR opened against main inherits the red check, which makes it useless as a signal and burns reviewer attention re-diagnosing it. Noticed while getting #2421 green — that PR touches no schema or codegen file and fails the same step identically.

Reproduction

npm run sync-schemas:all
npm run generate-types
npm run generate-registry-types -- --sync
git status --short

Yields:

 M schemas/registry/registry.yaml
 M src/lib/registry/types.generated.ts

1,139 insertions / 32 deletions across the two. The upstream registry has grown and the committed copies are stale; nothing else drifts.

Notably clean: ci:docs-check, ci:codegen-strict, ci:doc-links, lint:workflows, and format:check all pass, and npm run generate-types alone produces no drift. It is specifically the registry pair.

Fix

A standalone PR running the three commands above and committing only those two files. Keeping it standalone matters — folding 1,139 lines of generated churn into a feature or security PR makes the real diff unreviewable, and CLAUDE.md already tells reviewers not to read generated files, so it would land unexamined either way.

Worth checking while in there whether schema-sync.yml (the daily job that is supposed to open exactly this PR) is failing or has drifted, since that's the automation meant to prevent this.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions