Skip to content

Keep vendored Studio files byte-identical on Windows checkouts - #17579

Merged
danielhanchen merged 1 commit into
mainfrom
studio-vendor-gitattributes
Nov 12, 2026
Merged

danielhanchen merged 1 commit into
mainfrom
studio-vendor-gitattributes

Conversation

@danielhanchen

@danielhanchen danielhanchen commented Nov 12, 2026 •

Copy link
Copy Markdown
Member

Summary

studio/backend/vendor/ holds three vendored packages whose files are pinned by sha256 in their manifests (diffusers_minimax_h3_image_manifest.json, laya_manifest.json, truststore_manifest.json). .gitattributes keeps *.py at LF, but the manifests also pin the license files (LICENSE.diffusers, LICENSE.laya, truststore/LICENSE). A Windows clone with core.autocrlf=true rewrites those to CRLF, so their digests stop matching, and test_vendored_files_match_the_manifest fails on the windows-latest runner (seen on the #17563 staging run: 1 failed, 900 passed).

This adds studio/backend/vendor/** -text, the same rule the repo already uses for assets/docs_ui/** and requirements/engines/**. Checked-in bytes are unchanged, so Linux and macOS checkouts are identical before and after.

Evidence

A clone with core.autocrlf=true (what the Windows runners use), every manifest entry hashed:

Arm Result
main 20686a0d92 3 mismatches: LICENSE.diffusers, LICENSE.laya, truststore/LICENSE
this branch all entries match

The simulated CRLF hash of LICENSE.diffusers on main (e28423074ef7...) is the exact digest the real windows-latest runner reported when this test failed on the #17563 staging run; on this branch the file hashes to the manifest's f9e2070c2475....

Not covered

  • Existing Windows clones keep their CRLF copies until those files are checked out again.

@danielhanchen danielhanchen self-assigned this Nov 12, 2026
@danielhanchen

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 12, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-12T07:30:36.177186Z 89ef0ee Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. More of your lovely PRs please.

Reviewed commit: 89ef0ee762

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

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