Commit Graph
2 Commits
Author SHA1 Message Date
morluto 182cca1cbe test(providers): name the refusal behind bare toThrow assertions (#15525)
* test(providers): name the refusal behind bare toThrow assertions

Replace argument-less toThrow()/rejects.toThrow() in provider boundary
tests with the observed refusal: ENOENT/ESRCH codes for removed roots and
stopped processes, retained cleanup reason and resources for retry
failures, stop-failed debugger cleanup, cancellation tags, input issue
paths, and the fixture scripts' diagnostics.

* test(ida): give the verifier's containment-reason refusal a stable message

The assertion had no message, so Node copied its source expression into
the error and the test could only match that text. Name the reference
and the rejected reason instead, as the sibling assertions already do.
2026-12-01 17:34:24 +00:00
0d67095295 fix(desktop): retain reader scratch files under its cleanup owner (#9775)
* fix(desktop): keep reader scratch files under the cleanup owner

* test(ci): align callee discovery and invalid model extent expectations

* test(ci): preserve CLI source closure and initialize alias fixture state

* fix(cli): retain capture caller paths in environment builds

* fix(desktop): keep owned reader paths short for Unix sockets

* revert(desktop): restore canonical main before replay for #9775

This reverts commit 10011501e5, reversing
changes made to e2585aa7ce.

* fix(desktop): retain owned reader scratch on current main

* revert(desktop): restore canonical main before replay for #9775

This reverts commit 1e1f6b04f4, reversing
changes made to 047d75a498.

* fix(desktop): integrate upstream lifecycle CI corrections

* fix(desktop): run a local reader in its caller's folder to keep socket paths short

The runner nested a second realpath'd temporary folder inside the one its
caller already owns. On macOS the default TMPDIR then put a command's
Unix socket at 106+ bytes, past the 104-byte sun_path limit, so Python's
multiprocessing and other socket users could not bind under the private
TMPDIR. Work in the caller's folder directly, write the source under a
fixed name clear of the runner's own folders, and budget the regression
from the canonical root.

---------

Co-authored-by: hhang <169027046+xu91102@users.noreply.github.com>
Co-authored-by: morluto <76467478+morluto@users.noreply.github.com>
2026-11-26 11:06:00 -05:00