Skip to content

fix(ci): reconcile frozen lockfile config and force LF on text files - #28

Merged
xt0n1-t3ch merged 1 commit into
mainfrom
fix/ci-frozen-lockfile-and-line-endings
Jul 10, 2026
Merged

fix(ci): reconcile frozen lockfile config and force LF on text files#28
xt0n1-t3ch merged 1 commit into
mainfrom
fix/ci-frozen-lockfile-and-line-endings

Conversation

@xt0n1-t3ch

Copy link
Copy Markdown
Owner

Summary

Fixes the two CI failures that surfaced when the 1.7.0 release commit first ran through Actions on main.

Root cause and fix

  • pnpm install --frozen-lockfile failed with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH. pnpm-workspace.yaml carried a stray allowBuilds: esbuild: set this to true or false placeholder that pushed the resolved pnpm config out of sync with the lockfile. Removing it reconciles the two; the lockfile content itself is unchanged.
  • cargo xtask check-bindings reported the generated TypeScript bindings as stale on the Windows runner. It byte-compares frontend/src/generated/bindings.ts before and after regeneration, and with no .gitattributes rule the file was checked out CRLF while the generator writes LF. * text=auto eol=lf forces LF on checkout everywhere so the byte compare matches.

Proof

  • Local: pnpm install --frozen-lockfile and cargo xtask check-bindings both pass.
  • CI re-runs on merge to main.

Two failures surfaced when 1.7.0 first ran through CI on main.

pnpm install --frozen-lockfile failed with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH.
pnpm-workspace.yaml carried a stray "allowBuilds: esbuild: set this to true or
false" placeholder that pushed the resolved config out of sync with the lockfile.
Removing it reconciles the two; the lockfile content itself is unchanged.

cargo xtask check-bindings reported the generated TypeScript bindings as stale on
the Windows runner. It compares frontend/src/generated/bindings.ts byte for byte
before and after regeneration, and with no .gitattributes rule the file was
checked out CRLF while the generator writes LF. "* text=auto eol=lf" forces LF on
checkout everywhere so the byte compare matches.

Verified locally: pnpm install --frozen-lockfile and cargo xtask check-bindings
both pass.
@xt0n1-t3ch
xt0n1-t3ch merged commit f327eb8 into main Jul 10, 2026
@xt0n1-t3ch
xt0n1-t3ch deleted the fix/ci-frozen-lockfile-and-line-endings branch July 10, 2026 21:41
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