Skip to content

ci: fix Windows checkout (reserved CON.json) in release build - #2

Merged
kreneskyp merged 1 commit into
mainfrom
release-ci-fix
Jun 12, 2026
Merged

ci: fix Windows checkout (reserved CON.json) in release build#2
kreneskyp merged 1 commit into
mainfrom
release-ci-fix

Conversation

@kreneskyp

Copy link
Copy Markdown
Contributor

The first release dry-run failed: the x86_64-pc-windows-msvc job died at checkout with invalid path 'tests/fixtures/contexts/CON.json'. CON is a reserved device name on Windows, so git cannot write that file — which also means the repo can't be cloned on Windows at all.

CON.json is a vendored upstream ISO-archetype context fixture (synced via make refresh-fixtures), referenced generically by tests/common/mod.rs, so renaming it here would diverge from upstream and get clobbered on the next refresh.

Fix: the release build jobs only run cargo build (never the tests), so they don't need tests/. Sparse-checkout just src/ + root manifests — sidesteps the reserved name without touching fixtures. Also sets fail-fast: false so a dry run reports every target at once instead of cancelling siblings.

Verified cargo build needs nothing outside src/ (no include_str!/include_bytes! reaching into tests/).

Follow-up (out of scope): the reserved-name fixture still blocks Windows clones of the repo generally — worth fixing upstream in quire-rs.

🤖 Generated with Claude Code

The build matrix only runs cargo build, so it does not need tests/. Checking out
just src/ (plus root manifests) avoids tests/fixtures/contexts/CON.json, a
reserved Windows device name that fails the win32 job at checkout. Also flips
fail-fast off so a dry run reports every target's status at once.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@kreneskyp
kreneskyp merged commit 2b4c277 into main Jun 12, 2026
3 checks passed
@kreneskyp
kreneskyp deleted the release-ci-fix branch June 12, 2026 22:08
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