Skip to content

fix(ci): keep upstream theme assets LF-normalized - #1735

Open
Rat0323 wants to merge 1 commit into
BigPizzaV3:mainfrom
Rat0323:agent/platform-stable-theme-assets
Open

fix(ci): keep upstream theme assets LF-normalized#1735
Rat0323 wants to merge 1 commit into
BigPizzaV3:mainfrom
Rat0323:agent/platform-stable-theme-assets

Conversation

@Rat0323

@Rat0323 Rat0323 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

  • normalize all byte-exact upstream JavaScript and CSS assets to LF
  • normalize skin-pack theme.json files to LF
  • keep the existing platform-independent SHA-256 baselines unchanged

Root cause

The upstream_theme_assets.rs tests hash raw file bytes. The previous .gitattributes rules covered only part of the tested assets, so Windows checkouts converted uncovered LF files to CRLF and caused byte-exact hash failures.

The upstream main commit 01c69a8 reproduced the issue before these feature changes were involved:

https://github.com/BigPizzaV3/CodexPlusPlus/actions/runs/30603754154

The failing hashes match the CRLF-transformed bytes, while the expected hashes match the repository LF bytes.

Validation

  • cargo test -p codex-plus-core --test upstream_theme_assets --locked
  • git diff --check
  • verified every asset covered by upstream_theme_assets.rs resolves to text eol=lf

This is a repository-level maintenance fix for #1732.

Closes #1732.

Rat0323 added a commit to Rat0323/CodexPlusPlus that referenced this pull request Aug 4, 2026
Mirror PR BigPizzaV3#1735 so byte-exact upstream theme asset tests pass on Windows checkouts; this commit becomes a no-op once BigPizzaV3#1735 merges.
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.

Make upstream theme asset byte-exact checks platform-stable

1 participant