Skip to content

Fix generated-column CI segfault - #3

Merged
mindreframer merged 1 commit into
mainfrom
fix/generated-columns-segfault
Aug 5, 2026
Merged

Fix generated-column CI segfault#3
mindreframer merged 1 commit into
mainfrom
fix/generated-columns-segfault

Conversation

@mindreframer

Copy link
Copy Markdown
Owner

Summary

  • classify generated-column reads as unsafe on the pinned Turso 0.7.2 engine
  • move the enabled generated-column read probe into the existing disposable child-BEAM path
  • keep the disabled parser-gate test in the main ExUnit VM
  • align the machine-readable capability matrix and report with the observed behavior

Reproduction

I reproduced the linked job in an Ubuntu Noble Docker container with OTP 28.3, Elixir 1.20.1, Rust 1.91.0, and ERL_FLAGS=+sssdio 64.

MIX_ENV=test TURSOX_BUILD=1 mix test --no-compile \
  --seed 580036 --max-cases 8
# exit 139

The failure narrows to test/experimental_capability_test.exs:63: selecting the enabled generated value segfaults the BEAM. The manager force-close errors immediately before the CI crash are expected test output and are not the process-killing operation.

Verification

In the same clean Docker environment:

  • the exact linked seed passed 5 consecutive times: 68 passed
  • test/experimental_capability_test.exs passed: 6 passed
  • bin/qa_check.sh passed, including formatting, warnings-as-errors compilation, ExUnit, Clippy, and Rust tests

Classify generated-column reads as unsafe on Turso 0.7.2 and execute the crashing read only in a disposable BEAM. This keeps the main ExUnit VM alive while preserving an executable capability probe.

Verified with bin/qa_check.sh in an OTP 28.3 / Elixir 1.20.1 / Rust 1.91 Ubuntu container.
@mindreframer
mindreframer merged commit 29e2de5 into main Aug 5, 2026
14 checks passed
@mindreframer
mindreframer deleted the fix/generated-columns-segfault branch August 5, 2026 11:30
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