Skip to content

Fix Chromium158 branding path validation on Windows - #112

Draft
tysonthomas9 wants to merge 1 commit into
codex/browser-operator-070-integrationfrom
codex/chromium158-windows-patch-paths
Draft

tysonthomas9 wants to merge 1 commit into
codex/browser-operator-070-integrationfrom
codex/chromium158-windows-patch-paths

Conversation

@tysonthomas9

Copy link
Copy Markdown
Collaborator

Chromium158 Windows CI reaches the reviewed branding check, then rejects every normal theme destination: str(WindowsPath(...)) uses backslashes, but the helper compares it with the forward-slash prefix chrome/app/theme/.

Use as_posix() for that exact theme-subtree check while retaining native path parsing, traversal rejection, filesystem containment and asset hashes. Reject anchored source/destination paths as well, including Windows root-relative, drive-relative and UNC paths. The patch series, branding files and frontend UI code are unchanged.

Validation: all6 helper unittest tests pass, including valid PureWindowsPath/PurePosixPath assets, subtree siblings, traversal, absolute, drive-relative and UNC cases. Claude CLI review found no blocking issues. The actual Windows retry is tracked in BrowserOperator/test-github-pipeline#9.

Stacked on #111. This fix is for the Windows candidate; the frozen Mac release inputs remain pinned to6926ab27d98bc2d158e02a0ca47e0708d040a16b. No release is published by this PR.

@tysonthomas9

Copy link
Copy Markdown
Collaborator Author

Claude CLI review completed with tools disabled: no blocking findings. Six helper tests passed, covering valid Windows/POSIX paths and rejection of traversal, theme siblings, rooted/drive-relative/UNC paths. Existing filesystem containment and content hashes are preserved. Windows candidate CI is pinned to991ac1eae70dab38d6b06943d50320d7c131986f and will run the same tests on the Windows worker before applying patches. Retry is tracked in BrowserOperator/test-github-pipeline#9. The local Mac integration checkout was restored to6926ab27 and no frozen Mac artifact/input changed.

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