125 lines
11 KiB
Plaintext
125 lines
11 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (6555.819005ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (223.787808ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (321.198277ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (373.247329ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (60.349302ms)
|
||
✔ the app shows the same decide text as mosaic decide (32.843288ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (266.383687ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (85.216289ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (26.398721ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (460.107975ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (46.466728ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (35.113676ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (52.843439ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (387.290303ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (12141.133548ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (73.619514ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (30.492051ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (84.38679ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (20.813191ms)
|
||
✔ no business: the app says so and :business picks one (11.891036ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (2.118675ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (262.109028ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.488795ms)
|
||
✔ decide with --note still asks; a No sends nothing (10.627548ms)
|
||
✔ the app's business comes from a live bus host only (1.240991ms)
|
||
✔ runApp leaves the terminal as it found it on q, end of input, SIGTERM, SIGINT, SIGHUP and an error, the first frame's included (10.136754ms)
|
||
✔ draw is pure: same state, same frame (1.521805ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (84.554788ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (44.884862ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (78.201683ms)
|
||
✔ decide prints a declining choice as declining (50.249936ms)
|
||
✔ an unknown outcome is reported once and never resent (31.457704ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (46.181395ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (37.992652ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (62.721533ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (35.895863ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (76.349333ms)
|
||
✔ agents and tasks print through the broker (34.3749ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (17.107265ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (90.148444ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (357.48691ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (133.200932ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (255.218143ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (399.985193ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (400.110759ms)
|
||
✔ empty views say so (1.748834ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (3.637307ms)
|
||
✔ tasks print the tracker fields the snapshot carries (1.878757ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (1607.107464ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (791.236901ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (933.693918ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1596.055918ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (998.611914ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (357.26491ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (540.103716ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (261.018205ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (135.221446ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (209.568288ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (107.686103ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (229.589229ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (39.758755ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (204.905647ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (419.037526ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (149.506963ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (963.967544ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (74.7971ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (118.231279ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (22.764374ms)
|
||
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (15.08503ms)
|
||
✔ bus start --pm: the PM runs under its own PID namespace, registered, with a manifest (1930.681169ms)
|
||
✔ the PM launches a coder through its launch tool; the coder answers; refusals name their code (1909.149254ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (759.738499ms)
|
||
✔ a host that died hard leaves its sessions to the next host, which kills them and ends their runs so the role can be launched again (2062.892198ms)
|
||
✔ a host that died hard leaves its sessions to the next host, which finds one already exited (23) and ends their runs so the role can be launched again (3712.457502ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (116.28754ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (181.163532ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (134.576716ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1285.776795ms)
|
||
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (7.820157ms)
|
||
✔ zoned uses the IANA zone across DST (33.209553ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (42.447197ms)
|
||
✔ two blocking decisions get two DMs with different nonces (60.326814ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (9.534452ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (63.802172ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (98.052541ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (133.1075ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (92.052321ms)
|
||
✔ 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 (596.987027ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (433.576921ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (291.163756ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (30.486406ms)
|
||
✔ an inbox read failure is logged and the next poll retries (1.841938ms)
|
||
✔ no Discord id reaches the journal or the log (53.674953ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (6.452765ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (6.722042ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (5.619623ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (10.374317ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (16.656914ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (15.027849ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (1.246096ms)
|
||
✔ the journal: a dangling directory link, a parent that is a file and a journal that is a directory each refuse with exit 3 (1.177997ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (1.105907ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (1.789357ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.557187ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (119.375417ms)
|
||
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 (1015.918166ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (67.337237ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2809.070219ms)
|
||
✔ busExit and refuseInsideAgent (1.468537ms)
|
||
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (185.23033ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1075.885281ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (140.908045ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (57.96829ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (48.885947ms)
|
||
ℹ tests 114
|
||
ℹ suites 0
|
||
ℹ pass 114
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 21831.74253
|