fix(ci): pin Zig version to 0.15.2 instead of nightly master#241
Closed
gumruyanzh wants to merge 1 commit intojetzig-framework:mainfrom
Closed
fix(ci): pin Zig version to 0.15.2 instead of nightly master#241gumruyanzh wants to merge 1 commit intojetzig-framework:mainfrom
gumruyanzh wants to merge 1 commit intojetzig-framework:mainfrom
Conversation
CI has been failing daily since the project targets Zig 0.15.x but the workflow was using `version: master` which now resolves to 0.16.0-dev. Zig 0.16 nightly has breaking changes that affect dependencies (zmpl): - `discard of capture; omit it instead` (language change) - `struct 'fs' has no member named 'cwd'` (std lib API change) - Package hash format changes causing hash mismatches Pin to 0.15.2 (latest stable release compatible with the project) to restore CI. A separate zig-0.16 tracking branch already exists for the nightly migration effort (see issue #231). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
master(nightly) to0.15.2(latest stable)Problem
CI has been failing on every run since mid-February. The workflow uses
version: masterwhich resolves to Zig0.16.0-dev, but the project and its dependencies (zmpl, etc.) target Zig 0.15.x. Breaking changes in 0.16-dev include:discard of capture; omit it instead(language change in zmpl/Data.zig)struct 'fs' has no member named 'cwd'(std lib API change in zmpl/build.zig)hash mismatcherrorsApproach
Pin to
0.15.2which is the latest stable Zig release compatible with the project. The existingzig-0.16tracking branch (issue #231) handles the nightly migration separately.Test plan
🤖 Generated with Claude Code