Skip to content

Solution docs for #116 and the telemetry test flake - #120

Merged
nyo16 merged 1 commit into
masterfrom
solutions-116-and-telemetry-flake
Nov 1, 2026
Merged

nyo16 merged 1 commit into
masterfrom
solutions-116-and-telemetry-flake

Conversation

@nyo16

@nyo16 nyo16 commented Nov 1, 2026

Copy link
Copy Markdown
Owner

Docs and one test-isolation fix, nothing in the Hex package.

  • .claude/solutions/phoenix-issues/metal-exit-abort-rsets-assert-nif-teardown-20261101.md: 0.8.63: VM aborts at exit (GGML_ASSERT rsets->data count == 0) when a model is still referenced (macOS Metal) #116. Cause (SDK 15.5 compiled in residency sets; the BEAM skips NIF destructors at halt), the exit-hook fix, the CPU-first ordering hole found in review, and prevention.
  • .claude/solutions/testing-issues/stale-telemetry-done-event-server-smoke-test-20261031.md: the Add solution docs and CLAUDE.md prevention rules #115 CI flake. A global telemetry handler caught the previous test's lingering server's :done.
  • CLAUDE.md: new "NIF and teardown" and "Tests" sections, plus two release rules: diff the NIF's SDK and feature selectors on runner bumps, and run the e2e without GGML_METAL_NO_RESIDENCY and check the exit status.
  • test/llama_cpp_ex_test.exs: the hybrid-cache test's :start handler now matches its own server, the last unfiltered test telemetry handler. Local: llama_cpp_ex_test.exs --include smoke --include slow 59 passed.

Two solution docs: the Metal exit abort (#116) and the server smoke test that
caught the previous test's :done telemetry. CLAUDE.md gains the matching
prevention rules (LLAMA_NIF and the live:: registry, SDK diff on runner bumps,
exit-status e2e without GGML_METAL_NO_RESIDENCY, test telemetry handlers
pinned to their server).

The hybrid-cache test's :start handler was the last unfiltered test telemetry
handler; it now matches its own server.
@nyo16
nyo16 merged commit 452aba6 into master Nov 1, 2026
9 checks passed
@nyo16
nyo16 deleted the solutions-116-and-telemetry-flake branch November 1, 2026 20:42
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