Repository navigation
Upgrade Zig toolchain pin to 0.17.1 #45
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
4004f41
Upgrade Zig pin from 0.16.0 to 0.17.1.
cursoragent 4324daf
Update layout Zig probe for 0.17 struct type info.
cursoragent e493e11
Record Zig 0.17.1 verification status.
cursoragent bc1d758
Add Zig 0.17.1 upgrade verification evidence record.
cursoragent 098e709
Drop host filesystem paths from Zig 0.17.1 evidence.
cursoragent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| # Zig 0.17.1 upgrade verification, 2026-11-12 | ||
|
|
||
| Evidence for the toolchain pin move from Zig 0.16.0 to 0.17.1. | ||
| This record replaces the incomplete [2026-11-12 push checkpoint](2026-11-12-push-checks.md), | ||
| which ran against host Zig 0.17.0 while the repository still required 0.16.0. | ||
|
|
||
| ## Snapshot | ||
|
|
||
| | Field | Value | | ||
| | --- | --- | | ||
| | Branch | `cursor/zig-0.17-upgrade-ac1b` | | ||
| | Commit | `e493e11b2436c9a14cfb29688bf5cb5666ce19e3` | | ||
| | Zig | `0.17.1` on `PATH` | | ||
| | Python | 3.13.15 (uv-managed venv) | | ||
| | Platform | V1 qualification target (Linux x86_64) | | ||
|
|
||
| Commits on the branch: `4004f41` (pin + emitter), `4324daf` (layout probe | ||
| `field_names`/`field_types`), `e493e11` (STATUS link to this verification). | ||
|
|
||
| ## Commands and results | ||
|
|
||
| | Command | Observed result | | ||
| | --- | --- | | ||
| | `zig version` | `0.17.1` | | ||
| | `uv run a7 doctor` | exit 0; `Zig 0.17.1` on qualification target | | ||
| | `uv run a7 run examples/001_hello.a7` | `Hello, World!` | | ||
| | `uv run a7 run examples/005_for_loop.a7` | expected for-loop output | | ||
| | `uv run a7 run examples/035_matrix.a7` | `c = { 6, 8, 10, 12 }` | | ||
| | `uv run a7 run examples/042_gradebook.a7` | expected gradebook output | | ||
| | Targeted pytest (`test_cli_workflows`, `test_release_tooling`, `test_codegen_zig`, `test_codegen_emit`, `test_layout`, `test_zig_backend_runtime`, `test_pipeline_native`, `test_inferred_slice_declarations`) after emitter fixes | 204 passed | | ||
| | `A7_PYTEST_WORKERS=4 ./run_all_tests.sh` (tree with pin + emitter; before layout-probe commit) | 10/11 checks. Pytest: 14 failed, 5220 passed, 1 xfailed (3 layout probe + 11 pre-existing). Examples E2E 51/51. Debug/release/fast artifacts 51/51 each. Bench 17/17. Error-stage 61/61. Docs style, secrets, package build, wheel/sdist native install: pass. | | ||
| | `PYTHONPATH=. uv run pytest -q -n 4` after `4324daf` layout-probe fix | **11 failed, 5223 passed, 1 xfailed** | | ||
| | Same 11 failing tests on `origin/master` at `5c28441` (semantic/safety only; Zig version irrelevant) | identical 11 failures | | ||
|
|
||
| The 11 remaining pytest failures are exact-array alias lifetimes, generic | ||
| array-origin / numeric-match escape cases, and callee-origin note wording. | ||
| They are not Zig 0.17.1 regressions. | ||
|
|
||
| ## Limits | ||
|
|
||
| - The first full-gate pytest line still includes the three layout failures fixed | ||
| in `4324daf`; use the post-fix pytest line above for current counts. | ||
| - `./run_all_tests.sh` was not re-run end-to-end after `4324daf`; only the | ||
| pytest suite was re-run. Non-pytest checks already passed under Zig 0.17.1 | ||
| in the first gate. | ||
| - This is not a release tag or V1 qualification. |
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
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
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
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
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
Oops, something went wrong.
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.