Skip to content

Stop tracking generated bindings - #153

Merged
vitramir merged 1 commit into
mainfrom
untrack-generated-bindings
Aug 23, 2026
Merged

vitramir merged 1 commit into
mainfrom
untrack-generated-bindings

Conversation

@vitramir

Copy link
Copy Markdown
Contributor

.gitignore has ignored src/gen/ since #51. Four files under it were added anyway — two in #97, two in #112 — and have been edited by hand in feature PRs since (#147, #151).

CI runs npm run generate before it typechecks, so the tracked copies never reached CI. What they did was stand in for the real schema locally: a fresh checkout typechecked against a stale EgressRuleHeader with no username, so the break only ever appeared in CI.

This removes them from the index; the files stay on disk and are regenerated by npm run generate, as CI and the Dockerfile already do.

.gitignore has ignored src/gen since #51. Four files under it were added
anyway, in #97 and #112, and have been edited by hand in feature PRs
since. CI regenerates from the BSR before it typechecks, so the tracked
copies never reached CI -- they only stood in for the real schema
locally, which is where the divergence went unnoticed.
@vitramir
vitramir force-pushed the untrack-generated-bindings branch from 23d7768 to 024c38f Compare August 23, 2026 00:32
@vitramir
vitramir merged commit 527d424 into main Aug 23, 2026
1 of 2 checks passed
vitramir added a commit that referenced this pull request Aug 26, 2026
src/gen stopped being tracked in #153. A tree that has never generated --
a fresh clone, or one whose branch switch removed the old tracked copies
-- has nothing for devspace to sync and nothing to regenerate it, so Vite
fails on the first import it meets. The Dockerfile and CI already
generate; the two dev paths did not.
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