Repository navigation
fix: Windows test and path failures from the 0.6.0 release matrix - #668
Merged
Merged
Conversation
The forms and add-on tests asserted 0600 on scaffolded key files; Windows has no POSIX modes (it reports 0666), which failed the full-matrix CI of the 0.6.0 release run. Guard them like the auth and store tests already do. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ly rebuilt dist - urlcode upgrade reported changed workflows with the OS separator (.github\\workflows\\urlcode.yml on Windows); report them with '/'. - test/install.test.ts rebuilt dist/ unconditionally while other files import it (core resolves @jimhoyd/urlcode/agent-context to dist/), which crashed test/manifest.test.ts on Node 22. Build only when dist/ is missing; CI and npm run verify build before testing. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Sep 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The 0.6.0 release run (run 36037868044) ran the full OS × Node matrix for the first time and failed in
cibeforebuild, so nothing was published. Three causes:0600on scaffolded key files, but Windows has no POSIX modes and reports0666. They are now guarded withprocess.platform !== 'win32', as the auth and store tests already are.urlcode upgradepath separators (product bug). It reported changed workflows as.github\workflows\urlcode.ymlon Windows. It now uses/everywhere.test/install.test.tsrebuiltdist/unconditionally, deleting it first, while other test files importdist/through core's self-reference@jimhoyd/urlcode/agent-context. That crashedtest/manifest.test.tswithERR_MODULE_NOT_FOUND. It now builds only whendist/is missing; CI andnpm run verifyalways build before testing.Pull-request CI runs Linux only, so the release matrix was the first place these showed.
Merging this reruns
release.ymlonmain; 0.6.0 is still unpublished, so that run releases it.Locally,
test/install.test.ts,test/upgrade.test.ts,test/addons.test.tsand the forms suite pass.🤖 Generated with Claude Code