Skip to content

test(files): skip the shared file-mode case on Windows, which has no POSIX modes - #160

Merged
leemour merged 1 commit into
mainfrom
fix/files-contract-windows
Nov 24, 2026
Merged

leemour merged 1 commit into
mainfrom
fix/files-contract-windows

Conversation

@leemour

@leemour leemour commented Nov 24, 2026

Copy link
Copy Markdown
Member

The 0.27.0 release workflow failed on validation / ci / platforms (windows-latest): cli-core's crmFilesContract asserts mode 0600 on a downloaded file, and Windows reports 0666 (438 !== 384). Nothing was published.

This skips only that contract case on Windows, with a note; the real fix (guard the mode asserts on win32, as src/background/lock.test.ts does) goes to cli-core. Test-only, so cli-dev live check still passes on the code being released.

🤖 Generated with Claude Code

…POSIX modes

The 0.27.0 release stopped on windows-latest: cli-core's crmFilesContract asserts 0600 on a saved file there too, and
Windows reports 0666. Only that case is skipped on Windows; the fix belongs in cli-core's contract.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@leemour
leemour merged commit 9d51da9 into main Nov 24, 2026
16 checks passed
@leemour
leemour deleted the fix/files-contract-windows branch November 24, 2026 22:06
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