Skip to content

Skip the Linux NVMe lane test on portable hosts - #3

Merged
jayleaton merged 1 commit into
jayleaton:stack/04-sessionsfrom
cwschroeder:fix/sessions-portable-nvme-test
Oct 16, 2026
Merged

jayleaton merged 1 commit into
jayleaton:stack/04-sessionsfrom
cwschroeder:fix/sessions-portable-nvme-test

Conversation

@cwschroeder

@cwschroeder cwschroeder commented Oct 16, 2026 •

Copy link
Copy Markdown

On a real M5 Max running macOS 26.6.2, zig build test-sessions at 2cf61d3c crashes with SIGSYS in lanes.test.lanes write, read back and check chunks through bounded staging (8 pass, 1 crash).

portable_test.zig imports format.zig, which imports lanes.zig. That brings the NVMe lane test into the portable test tree, where its Linux pread/pwrite calls execute on macOS. Limit that test to Linux. FreeSet, Pool, PageStore, Prefix and Format tests remain present; Linux keeps the full NVMe test, including its damaged-checksum case.

With Zig 0.17.0 on the same Mac, the corrected session target passes 3/3 steps: 8 tests pass and the Linux-only test is skipped. Whole-tree formatting and patch whitespace pass. Astra reviewed the guard and import path. Whole-tree Mac host tests pass 162/162 steps (2009 passed, 8 skipped); native build passes 45/45, server goldens 4/4, fuzz 3/3 with 8/8 tests. Lean has 527 inherited findings on both sides, zero new. The native binary SHA256 is 824ce4a138a2245e5f034d15dc591a241a3be5ba79d35c6d9c09d30242e35bd7.

Ready for review. All six checks on the same head, dcdc30c9, passed in cwschroeder#12, including the Linux host tests, goldens, fuzz and lean checks. Workflows in this fork still require author approval. The patch is not merged or deployed.

Follow-up to ashhart#637. This is a host-portability fix, not a CUDA, NVMe or model-serving receipt.

@cwschroeder

Copy link
Copy Markdown
Author

Ready for review: all six checks passed on dcdc30c9 in the same-head CI receipt, including Linux host tests, goldens, fuzz and lean checks. The real-Mac red/green result is in the PR description.

Workflows here still await author approval. This remains a host-portability fix; CUDA, model serving and hardware NVMe qualification are separate.

@jayleaton
jayleaton merged commit dcdc30c into jayleaton:stack/04-sessions Oct 16, 2026
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.

2 participants