Skip to content

Backlog sweep: 26 bugs across arrays, refs, leaks, language semantics and stdout - #546

Merged
blacktrs merged 50 commits into
mainfrom
fix/backlog-sweep
Nov 2, 2026
Merged

blacktrs merged 50 commits into
mainfrom
fix/backlog-sweep

Conversation

@blacktrs

@blacktrs blacktrs commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Bug sweep over the open backlog: 26 issues closed, one partly. Grouped by area.

Crashes and wrong answers in arrays / refs / cells

Leaks

Language semantics

I/O

Tests

Known limits

Testing

  • tests/aot/run.sh -j 0: 2568 / 2570, 0 failed (macOS arm64).
  • tests/cli, tests/analyze (25), tests/parser (111): green.
  • Not run: tools/difftest.sh, tools/selfhost_fixpoint.sh, the Linux gate. The stdout change and the SIGTERM check were exercised on macOS only.

Fixes #27, fixes #350, fixes #471, fixes #484, fixes #487, fixes #493, fixes #494, fixes #501, fixes #502, fixes #503, fixes #504, fixes #507, fixes #508, fixes #509, fixes #512, fixes #514, fixes #517, fixes #536, fixes #537, fixes #538, fixes #539, fixes #540, fixes #542, fixes #543, fixes #544, fixes #545, fixes #297, fixes #547. Refs #511.

CI

ci.yml no longer makes Linux test shards wait for the slowest build: each target (arm64, amd64, alpine-arm64, alpine-amd64) is one call of the new reusable linux-target.yml (build, 4 test shards, pdo-net, mysqli-net), so a fast target starts testing as soon as its own build is done. Required check names (linux-<tag>, macos-arm64) are unchanged; the rows job matches shards by the new target-<tag> / test ( prefix. Not yet exercised on GitHub: this PR's first CI run is the test.

Also

#547 socket_select() leaked the caller's array on every call; its by-ref arrays are typed like stream_select()'s.

… longer flags; untrack tests/analyze/.work (Fixes #508)
…ction bodies; define() as expression returns true

Fixes #503
Fixes #507
… receiver

A false|Box result reached the statically resolved Box::get dispatch and
was dereferenced as an object. The existing cell-argument tag guard now
also guards the receiver. Fixes #484
…es and process spawns, and every 100 ms of echo (recovers echo throughput after #544)
…h outside the compile set (include.unresolved)
…off disk; document what runtime include supports (Fixes #545)
#297)

A function whose return was locked as assoc[string, assoc[string, unknown]]
before a local settled never took the deeper concrete type, so callers walked
real nested arrays under the stale claim: empty rows, SIGSEGV, double free.
…the socket once and answers false on a partial notification
@blacktrs
blacktrs merged commit 2cb33c7 into main Nov 2, 2026
69 checks passed
@blacktrs
blacktrs deleted the fix/backlog-sweep branch November 2, 2026 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant