Skip to content

tests: GLM Metal fixtures start with no DFlash2 drafter - #4299

Merged
ashhart merged 4 commits into
mainfrom
lead/glm-fixtures-dflash-null
Nov 21, 2026
Merged

ashhart merged 4 commits into
mainfrom
lead/glm-fixtures-dflash-null

Conversation

@ashhart

@ashhart ashhart commented Nov 21, 2026

Copy link
Copy Markdown
Owner

Main's macOS nightly host checks crash in three GLM Metal test fixtures since #3920 added the DFlash2 drafter field Engine.dflash.

The fixtures build glm.engine.Engine as undefined and set the fields they need one by one. dflash was never set, so it held the undefined byte pattern, and Backend.facts() and Engine.ctx() treated it as a loaded drafter:

  • residency owner GLM: actual arena slots tower and snapshots match live unique allocations: segmentation fault in Engine.ctx through kept.save
  • residency owner GLM: zero and a failed bound never publish a set or keepalive scratch: the same
  • draft sources: Metal GLM and GLM DSA follow actual MTP weights: trap in Backend.facts

This sets e.dflash = null in the three fixtures. Tests only; no engine code changes.

Checked on macOS: zig build test-qwen27-facts-host test-metal-residency-owners-host goes from 91/93 (2 crashed) on main to 93/93.

  • Synthena

#3920 added Engine.dflash (default null). The residency-owner and
draft-source fixtures build the engine as undefined and set fields one by
one, so dflash held the undefined pattern: Backend.facts() and Engine.ctx()
read it as a drafter and crashed (the macOS nightly's native and deferred
host checks on main). Set it to null in all three fixtures.
@ashhart
ashhart force-pushed the lead/glm-fixtures-dflash-null branch from 3b24f99 to 28886f3 Compare November 21, 2026 11:42
@ashhart
ashhart merged commit 18fd04f into main Nov 21, 2026
2 of 12 checks passed
@ashhart
ashhart deleted the lead/glm-fixtures-dflash-null branch November 21, 2026 11:43
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