✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (28.110281ms)
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (32.982672ms)
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (22.885134ms)
✔ decide prints a declining choice as declining (25.145562ms)
✔ an unknown outcome is reported once and never resent (18.564366ms)
✔ a decision closed before the answer arrives exits 2 and points at its trail (14.529736ms)
✔ a prefix that matches two open decisions exits 2 and resolves neither (22.739403ms)
✔ without --business a command uses the live host's business, and a stale host.json is not a host (16.866005ms)
✔ every human command refuses inside an agent run before it touches the bus (21.68454ms)
✔ usage errors exit 4; no business and no host is a usage error (21.78543ms)
✔ agents and tasks print through the broker (15.958803ms)
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (3.128111ms)
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (61.498678ms)
✔ trackers come from the tracker.* variables of the one project that names a tracker project (57.703509ms)
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (68.727509ms)
✔ two projects that each name a tracker project refuse, since the boot shape holds one (58.999728ms)
✔ a business without tracker.baseUrl gets no trackers entry (66.904636ms)
✔ an unknown business and a broken system config refuse with exit 3 (78.055529ms)
✔ empty views say so (1.133263ms)
✔ the trail keeps the broker's order and names a decision's task without its rows (1.419978ms)
✔ tasks print the tracker fields the snapshot carries (0.319808ms)
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (976.122771ms)
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (154.299081ms)
✔ a second host for the same data root refuses with exit 3 while the first runs (79.053449ms)
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (132.022671ms)
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (123.105045ms)
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (83.526731ms)
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (129.970312ms)
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (94.771035ms)
✖ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (137.965173ms)
✔ watchChildren reports a child that died before it was called, and one that dies later (20.839386ms)
✔ bus stop refuses to signal a live pid that is not a bus host (202.485229ms)
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (212.911332ms)
✔ bus start refuses with exit 3 without a notifier config (86.673161ms)
✔ bus start runs until bus stop; status reports it while it runs (603.633572ms)
✔ bus-service.sh renders the unit and installs it into a given directory (27.236399ms)
✔ zoned uses the IANA zone across DST (26.30102ms)
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (29.059472ms)
✔ two blocking decisions get two DMs with different nonces (23.732182ms)
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.325699ms)
✔ a failed DM is journaled, backs off, and is retried until it lands (23.461945ms)
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (41.930339ms)
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (29.338762ms)
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (23.746349ms)
✔ polled every POLL_MS against a permanent 403, a DM is sent at 0, 30, 60, 90 and 120 min and gives up only then (154.618175ms)
✔ a restart after the second refusal does not send before that refusal's 30 min are up (48.72618ms)
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (17.130065ms)
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (11.446646ms)
✔ an inbox read failure is logged and the next poll retries (0.794638ms)
✔ no Discord id reaches the journal or the log (11.948413ms)
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (2.403003ms)
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (2.359839ms)
✔ the journal: a whole file that is one torn line truncates to empty (1.33723ms)
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (0.528168ms)
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (0.658175ms)
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (2.331984ms)
✔ the journal: a symlinked directory refuses and says it is a link (0.416922ms)
✔ the journal: a dangling directory link, a parent that is a file and a journal that is a directory each refuse with exit 3 (0.599672ms)
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.454245ms)
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.50318ms)
✔ digest content stays within Discord's 2000 characters (0.324091ms)
✔ runLoop never overlaps ticks and stops after the one in flight (110.32366ms)
task.close {} answered: invalid-request; fake saw 18 requests, first GET /info 200, GET /projects/1 200, GET /projects/1/views 200
task.close on a missing task answered: task-not-found; it made GET /tasks/999 404
✔ bootConfig trackers reach the S3 adapter in the real broker child, which goes ready against a fake Vikunja (385.63492ms)
✔ the transport writes {business, verb, args} to the child and reads its JSON (52.652269ms)
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2262.731962ms)
✔ busExit and refuseInsideAgent (0.487009ms)
✔ approvals: a request is validated before anything is posted; the rendering shows names and never ids (3.301618ms)
✔ approvals: the ledger is appended and folded into open requests with bind and approval states (1.653151ms)
✔ approvals: a reply approves only when it points at a request, says exactly approve, and comes from a listed approver once (0.724349ms)
✔ approvals: a button approves only on its own request message with the matching custom id (0.637314ms)
✔ approvals flow: a turn that opened a request posts the message with the button, records it, binds it, and both approvers approve (16.63012ms)
✔ approvals flow: a non-approver, a repeat, a wrong custom id and a service refusal each get their fixed line and a drop entry (7.249497ms)
✔ approvals flow: an invalid request from the model, a refused post, and no api client are recorded and post nothing (6.647039ms)
✔ approvals flow: start retries a bind and an approval left as unknown, under their original keys (2.315016ms)
✔ authorize: open channel, listed user (2.126537ms)
✔ authorize: wrong guild (0.221439ms)
✔ authorize: no guild (DM) (0.200742ms)
✔ authorize: unlisted channel (0.228561ms)
✔ authorize: unknown channel, no info (0.289141ms)
✔ authorize: thread of listed parent (0.208926ms)
✔ authorize: thread of unlisted parent (0.258497ms)
✔ authorize: text channel that is not a thread and not listed (0.903678ms)
✔ authorize: unlisted user (0.204827ms)
✔ authorize: no author (0.29672ms)
✔ authorize: bot author (listed id, bot flag) (0.167752ms)
✔ authorize: system author (0.129957ms)
✔ authorize: the bot itself (0.135212ms)
✔ authorize: webhook (0.337836ms)
✔ authorize: mention channel without mention (0.19011ms)
✔ authorize: mention channel with bot mention (0.801285ms)
✔ authorize: mention channel with @everyone only (0.102646ms)
✔ authorize: mention channel mentioning someone else (0.102058ms)
✔ authorize: mention channel, content says @bot but mentions empty (0.98214ms)
✔ authorize: private thread under mention channel, mentioned (0.13949ms)
✔ authorize: private thread under mention channel, not mentioned (0.085569ms)
✔ authorize: thread in another guild per channel info (0.08798ms)
✔ authorize: not an object (0.072785ms)
✔ authorize: no id (1.780671ms)
✔ authorize: oversize content is accepted and flagged (0.117197ms)
✔ authorize: exactly the limit is not oversize (0.083387ms)
✔ authorize: a user's channel allowlist drops them outside it, threads count as the parent, others are unaffected (4.578801ms)
✔ authorize: order puts wrong guild before user, and user before channel (no channel lookup for strangers) (0.172546ms)
✔ binding: a complete binding validates and is frozen (2.608044ms)
✔ binding: unknown key, missing field, wrong type refuse with exit 2 (1.245052ms)
✔ binding: empty allowlists refuse (0.427015ms)
✔ binding: a user's channel allowlist must be non-empty, listed and unique; absent means every listed channel (1.285782ms)
✔ reloadDiff: reloadable keys are summarised by id; every fixed key refuses with exit 2 (1.69464ms)
✔ binding: dmRecipient is optional, a snowflake, one of the listed users, and a fixed key (1.206475ms)
✔ binding: file must be 0600, regular, not a symlink (1.620486ms)
✔ binding: token file mode, symlink, emptiness and shape are checked; token never appears in errors (2.922523ms)
✔ cli: check refuses a non-0600 token file with exit 2 before any network use (124.830716ms)
✔ context files: absolute paths, traversal, symlinks and out-of-repo targets refuse; in-repo files resolve (3.290297ms)
✔ cli: check refuses a missing context file and a missing binding with exit 2; usage is exit 4 (400.058344ms)
✔ cli: reload validates the file first (exit 2), then needs a live owner (exit 1); usage is exit 4 (197.066459ms)
✔ cli: run refuses when STOP is present, before any network use (143.70697ms)
✔ binding: tools is optional, validated strictly, a fixed key for reload, and its roots are resolved against the data root (1.823845ms)
✔ binding: a git key is validated at load and reaches the extension whole, and only on a writable root (1.35339ms)
✔ delivery: an accepted message is in the inbox before the turn, the reply is chunked with one nonce per chunk, and the turn record is write-once (18.60528ms)
✔ delivery: refused and unknown outcomes are journaled; a later chunk is not sent after a failure (19.822178ms)
✔ delivery: restart with an unknown entry re-sends the same nonce once and reconciles before accepting traffic (2.917512ms)
✔ delivery: an unknown entry older than the dedupe window is marked refused, not re-sent; a still-unknown one refuses start (1.258073ms)
✔ delivery: repeated unknown reconciliations never refresh the dedupe window; the original intent time decides (1.43895ms)
✔ turn: a failed engine turn posts the fixed line, never model output, and writes a failed record (2.700783ms)
✔ turn: a second message during a turn is held by the engine, both get their own reply and record (33.371522ms)
✔ turn: a thread under a listed channel is answered in the thread; an unknown thread is looked up once (6.756154ms)
✔ drop: an unlisted user gets silence and one drop line; no inbox entry, no REST call, no engine call (1.409746ms)
✔ drop: an oversize message is accepted into the inbox, answered with the fixed line and journaled as a drop (1.398602ms)
✔ restart: an inbox with three ids and a replay of the same three produces zero turns (41.991794ms)
✔ stop: STOP present refuses start; STOP written while running refuses new turns and the current one finishes (32.124461ms)
✔ ceiling: the ceiling plus one is refused and journaled; one fixed line per UTC day; a new day accepts again (6.730443ms)
✔ ceiling: a burst arriving while turns are still running cannot queue past the ceiling (7.021588ms)
✔ ceiling: a turn interrupted by a crash still counts after restart; admissions are durable (3.705559ms)
✔ ceiling: the daily notice survives a same-day restart; one delivery attempt in total, even when the first attempt crashed mid-flight (5.109771ms)
✔ duplicate: the same event delivered twice while the thread lookup is held yields one prompt, one admission and one reply (1.803502ms)
✔ journal: no token-shaped string and no model output on the drop path reaches disk (1.797716ms)
✔ receipt: an admitted message gets one eyes reaction on the inbound message; drops and refusals get none; a failed reaction is recorded and does not fail the turn (4.964219ms)
✔ receipt: Discord refusing the reaction leaves the turn intact and records ok false (3.242547ms)
✔ reload: a new user is silent before and answered after; a removed channel goes silent; a lower ceiling applies at once (5.589818ms)
✔ reload: a fixed key refuses with exit 2 and the old binding stays in force (3.172136ms)
✔ tools: with a tools binding the turn record lists every read and its outcome; without one the field is null (4.315022ms)
✔ context: the Discord block names the server, channels and modes, and states the rules from Q15 and Q16 (2.567123ms)
✔ context: with tools the block names the roots, keeps file content as data, and says to state refusals plainly (0.837529ms)
✔ context: a writable root adds the write rules and says a write is real only once Jason commits (1.780926ms)
✔ context: the envelope is one bracketed line then the text; names cannot break the line (1.333843ms)
✔ context: a git root swaps the terminal-commit line for the git verbs, and a vault root adds the id protocol (1.559162ms)
✔ context: assembleContext concatenates files in launcher format and appends the block; sha256 is stable (1.198925ms)
✔ context: splitReply keeps paragraphs together under the limit and splits long ones at lines, spaces, then hard (0.700731ms)
✔ engine: buildPiArgs carries the fixed flags, engine settings, session dir and prompt file (2.607945ms)
✔ engine: with tools, buildPiArgs turns pi's own tools off, loads the extension explicitly and allowlists exactly our three (0.472954ms)
✔ engine: a run with tool turns settles once, on the answer, with every tool call in the result (63.364982ms)
✔ engine: a run that ends on a tool-only turn fails the prompt as empty; a retried run settles on the real end (57.287835ms)
✔ engine: one prompt, one turn, text and usage come back (48.509138ms)
✔ engine: a prompt while streaming is held until pi settles, then sent as its own run, and answered in order (353.27459ms)
✔ engine: a held prompt that times out before pi settles fails on its own and is never sent (231.428256ms)
✔ engine: timeout sends abort and fails only that turn; the process stays (115.226251ms)
✔ engine: tool events from a run that outlived its timeout never land in the next prompt's record (230.254298ms)
✔ engine: a prompt after a turn that timed out before its agent_start waits for pi to settle instead of being refused (128.68854ms)
✔ engine: when pi has not started a timed-out turn by the end of the abort grace, the engine stops pi and fails held prompts (212.405945ms)
✔ engine: a timed-out turn pi starts only after the grace never answers a later prompt (613.539447ms)
✔ engine: late events of a run past its grace, before pi exits, answer nothing and nothing more is sent (early prompt response) (1.400819ms)
✔ engine: late events of a run past its grace, before pi exits, answer nothing and nothing more is sent (late prompt response) (0.510602ms)
✔ engine: a timed-out run pi did start outlives the grace; the next prompt goes out when it ends (426.20727ms)
✔ engine: a malformed JSONL line fails the turn, not the process (29.712326ms)
✔ engine: a turn that ends in error rejects with the error code; process exit fails pending turns (44.98441ms)
✔ gateway: hello -> identify with intents, ready, heartbeat with jitter, ack (3.019012ms)
✔ gateway: missed ack closes the socket and resumes with the last sequence (1.583719ms)
✔ gateway: op 7 reconnect resumes; op 9 non-resumable re-identifies (0.672715ms)
✔ gateway: op 9 resumable resumes (0.39255ms)
✔ gateway: close 4014 is fatal, reports the missing intent, never reconnects (0.954666ms)
✔ gateway: 4004 and 4013 are fatal too; 1006 reconnects with identify when no session (0.538655ms)
✔ gateway: close() is final and unparseable frames are ignored (0.427669ms)
✔ git: config validation is strict, needs write: true, a work tree and a private token file (118.006678ms)
✔ git: the child environment drops every host git config, names one helper, and carries the token path only for origin (79.171555ms)
✔ git: status reports the branch, ahead/behind and changed paths, and refuses off the named branch or mid-merge (119.506955ms)
✔ git: parseStatus reads porcelain v2 including renames and conflicts (0.428778ms)
✔ git: a commit stages exactly the named files, carries the seat author and the requester trailer, and pushes at once (96.226379ms)
✔ git: commit refusals: message, paths, requester, nothing to commit, and an index that already holds other work (86.393572ms)
✔ git: a commit whose push fails is still a commit, says so, and the next commit's push carries both (D6) (91.503938ms)
✔ git: pull is fast-forward only; a diverged origin or dirty local files refuse with nothing merged (207.779808ms)
✔ git: push pushes the named branch only and reports up to date (66.795796ms)
✔ git: no token value or token path ever reaches a git argument list; outputs are masked and capped (89.676547ms)
✔ git: the credential helper answers get over https from a private file and nothing else (202.847074ms)
✔ git: the vault protocol validates before a commit, honours another owner's lock, reserves ids, and locks around writes (762.933327ms)
✔ lock: the claim is exclusive; a second start against a live owner refuses (4.255682ms)
✔ lock: a stale lock (dead owner, reused pid, or record without start) refuses run and is never signaled; only unlock clears it (96.513437ms)
✔ lock: an incomplete claim (directory without owner record) is busy and refuses run; unlock clears it (0.984781ms)
✔ lock: an owner record that exists but cannot be read is invalid: never signaled, never removed, never claimed over (3.856681ms)
✔ lock: legacy upgrade; a live connector holding a {pid, start} record is unknown, unlock refuses and nothing changes; after it exits, unlock clears it (59.3486ms)
✔ lock: a live pid whose record carries a malformed or noncanonical start or boot string is unknown, not a mismatch; nothing signals, removes, or claims over it (365.359776ms)
✔ lock: identity syntax; only canonical unsigned decimal start ticks and lowercase boot uuids are identities (0.450439ms)
✔ lock: a process whose start marker or boot id cannot be read refuses to claim (26.720752ms)
✔ lock: a live pid whose identity cannot be read right now is unknown: never signaled, never removed, never claimed over (1.080843ms)
✔ lock: four processes racing for the same binding; exactly one claims it and the others refuse (37.222767ms)
✔ lock: stale handoff; concurrent starts over a stale lock all refuse, nothing reclaims, one unlock then exactly one live owner (143.486067ms)
✔ lock: four-party schedule; claims landing inside an unlock's gap never survive, one unlock leaves no owner and no residue (91.322222ms)
✔ notices: a kind is recorded per UTC day and found again (0.548648ms)
✔ notify: the DM channel opens once, every send carries the nonce, and only the message id comes back (5.423529ms)
✔ notify: refusals and unknowns surface as RestOutcome without ids; a refused send reopens the channel next time (2.424165ms)
✔ notify: no dmRecipient, a non-0600 binding or token, or a missing binding refuse before any network use (1.941037ms)
✔ recover: nothing to do is clean; a lock whose owner is gone or that has no record is cleared and STOP ends up absent (51.76052ms)
✔ recover: an operator STOP refuses with exit 3 and is never removed, whatever the lock says (58.674063ms)
✔ recover: a brake written during the unlock wins; STOP stays with both lines and the start is refused (46.874393ms)
✔ recover: a held binding refuses with exit 3 and writes no STOP: live owner, alive pid without verifiable identity, unreadable record (70.202692ms)
✔ cli: recover exits 0 when ready, 3 behind a brake or a held binding, and run's own STOP refusal is 3 (671.226932ms)
✔ rest: createMessage sends nonce, enforce_nonce, empty allowed_mentions and a soft reply reference (3.375117ms)
✔ rest: 429 waits retry_after and retries; 4xx is refused; 5xx and socket errors are unknown (5.352327ms)
✔ rest: content and nonce limits are enforced locally; typing never throws (0.78035ms)
✔ rest: react PUTs the encoded emoji on the inbound message for @me; 2xx is true, anything else is false and never throws (0.963883ms)
✔ rest: createDm posts the recipient and resolves the channel id; 4xx refused, 5xx unknown, bad id never sent (1.300933ms)
✔ setspark config: a bare https or loopback origin, a private key file, a principal (5.665344ms)
✔ setspark config: reaches the tools config and the binding as a fixed key (3.018848ms)
✔ setspark config: the binding's key survives resolveToolRoots and the engine's JSON hand-off to the extension (1.641699ms)
✔ setspark config: approvers come from the binding's users, never from the binding's setspark key (2.256708ms)
✔ setspark verbs: required_approvers go out as discord ids from names and come back as names (28.259264ms)
✔ setspark verbs: no Discord user id reaches tool text, whatever shape the service returns it in (12.463092ms)
✔ setspark contract: a decision made with names opens a request the connector accepts; names stored by an old record still refuse (8.77384ms)
✔ setspark keys: read per call, one printable token per file, rotation without a restart (4.397298ms)
✔ setspark idempotency keys: principal, turn id, call index; connector keys name a step (0.763851ms)
✔ setspark http core: json in and out, bearer header, idempotency header, fixed user agent, no key anywhere else (3.762129ms)
✔ setspark http core: error bodies become fixed refusals with code and the 409 fields; server text is data, cut (1010.222683ms)
✔ setspark verbs: a setspark key enables the eight verbs and no counters (0.449508ms)
✔ setspark verbs: writes carry the turn's key and the asserted requester, reads carry no key, and the api key never appears in text or details (6.577531ms)
✔ setspark verbs: no turn refuses every write before any request; bad arguments refuse before any request; reads still work (1.282408ms)
✔ setspark verbs: renderRecord caps long output and hides the accepted snapshot (0.224874ms)
✔ setspark api: bind, add_approval (button and reply) and get use integer request ids and the connector's keys (2.41477ms)
✔ tools: config refuses a missing, symlinked, dotted, non-directory or duplicate root and bad limits (3.857159ms)
✔ tools: every escape is refused with a fixed reason and nothing outside the root is read (3.409446ms)
✔ tools: happy paths list, read a window, and search case-insensitively; dotfiles and symlinks never appear (4.323269ms)
✔ tools: the tool set renders text for the model, records details for the journal, and enforces the per-run budget (3.344908ms)
✔ tools: listing and search caps hold (9.718902ms)
✔ tools: credential shapes are caught; ordinary prose and ids are not (0.984826ms)
✔ tools: the read uses the checked file itself; a symlink, a swapped file, a FIFO, a grown file or a hard link at read time is refused (4.827668ms)
✔ tools: an unreadable file under the root is skipped by search and refused by read (0.958014ms)
✔ tools: config accepts write: true only as a boolean, and enables the write tools only then (0.927539ms)
✔ tools: every write outside the fence is refused before any byte lands, and no temp file remains (5.244158ms)
✔ tools: write_file leaves the exact bytes, edit_file replaces one exact match, and the set renders the change as uncommitted (3.188005ms)
✔ tools: a target that changed between the check and the rename is refused and the temp file is removed (1.57282ms)
✔ web: config takes an https or loopback-http SearXNG base url and a bounded fetch cap (3.493954ms)
✔ web: address rules refuse every private, loopback, link-local, mapped and multicast form (2.252435ms)
✔ web: web_fetch refuses bad urls, private hosts, rebinding names, non-https redirects, too many hops, error status, non-text bodies, and times out (1027.689525ms)
✔ web: web_fetch returns html as text with the title, follows an https redirect, keeps plain text and json, and cuts at the cap (4.353728ms)
✔ web: html to text drops scripts, styles and comments, decodes entities and keeps block breaks (0.24388ms)
✔ web: web_search asks the instance for json, returns at most ten clean results, and refuses a bad query, a down instance or an unusable answer (2.922832ms)
✔ web: the tool set enables the web tools only with a web key, counts them in the budget, and records url, status and hits (2.266776ms)
ℹ tests 244
ℹ suites 0
ℹ pass 243
ℹ fail 1
ℹ cancelled 0
ℹ skipped 0
ℹ todo 0
ℹ duration_ms 22121.994867

✖ failing tests:

test at packages/cli/tests/host.test.mjs:301:1
✖ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (137.965173ms)
  Error: write EPIPE
      at epipe (file:///home/jwoltje/filbert-scratch/r45b/mut/packages/cli/tests/host.test.mjs:113:24)
      at file:///home/jwoltje/filbert-scratch/r45b/mut/packages/cli/tests/host.test.mjs:307:71
      at ChildProcess.send (file:///home/jwoltje/filbert-scratch/r45b/mut/packages/cli/tests/host.test.mjs:94:23)
      at Object.close (file:///home/jwoltje/filbert-scratch/r45b/mut/packages/cli/src/host.mjs:184:36)
      at TestContext.<anonymous> (file:///home/jwoltje/filbert-scratch/r45b/mut/packages/cli/tests/host.test.mjs:310:27)
      at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
      at async Test.run (node:internal/test_runner/test:1409:7)
      at async Test.processPendingSubtests (node:internal/test_runner/test:974:7) {
    code: 'EPIPE',
    errno: -32,
    syscall: 'write'
  }
