The full-screen terminal app (#1544): BUILD.md, build.patch overfe5c68fa(9 files), candidate manifest, the gate logs on23d566d6and the pty smoke script. The candidate itself is not committed. Co-Authored-By: Claude Opus 5.5 <[email protected]>
108 lines
9.8 KiB
Plaintext
108 lines
9.8 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (657.730481ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (86.710314ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (85.638005ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (159.198152ms)
|
||
✔ the app shows the same decide text as mosaic decide (130.463236ms)
|
||
✔ n, Esc, Enter and q at the question cancel; other keys wait; nothing is sent (658.383117ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (128.743686ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (177.266492ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (163.853199ms)
|
||
✔ no business: the app says so and :business picks one (82.097108ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.988286ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (258.258873ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (1.575316ms)
|
||
✔ draw is pure: same state, same frame (1.081875ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (129.136475ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (138.929431ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (117.191582ms)
|
||
✔ decide prints a declining choice as declining (131.258653ms)
|
||
✔ an unknown outcome is reported once and never resent (124.564502ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (100.431046ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (115.464391ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (105.521856ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (105.068364ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (93.017952ms)
|
||
✔ agents and tasks print through the broker (106.492206ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (1.649953ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (88.090598ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (66.070636ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (67.66776ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (54.311037ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (42.543295ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (103.913445ms)
|
||
✔ empty views say so (1.499ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (1.958082ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.30169ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (1040.624201ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (348.328083ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (219.533172ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1190.312123ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (317.451334ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (169.522641ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (462.061614ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (220.316923ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (141.186895ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (207.730923ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (173.736902ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (326.023075ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (38.675069ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (205.281889ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (343.372644ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (114.419596ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (865.081835ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (40.694753ms)
|
||
✔ bus start --pm: the PM runs under its own PID namespace, registered, with a manifest (1368.731037ms)
|
||
✔ the PM launches a coder through its launch tool; the coder answers; refusals name their code (787.355153ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (255.975513ms)
|
||
✔ 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 (803.364181ms)
|
||
✔ 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 (3947.590018ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (140.226608ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (151.079496ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (149.960005ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1294.430684ms)
|
||
✔ zoned uses the IANA zone across DST (26.013355ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (147.099869ms)
|
||
✔ two blocking decisions get two DMs with different nonces (132.429819ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.4487ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (106.047926ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (126.668979ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (134.274487ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (109.872742ms)
|
||
✔ 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 (197.106078ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (156.492966ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (138.849231ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (89.590199ms)
|
||
✔ an inbox read failure is logged and the next poll retries (1.258133ms)
|
||
✔ no Discord id reaches the journal or the log (161.188556ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (35.942562ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (55.52388ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (28.58631ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (2.411597ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (1.159198ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (5.236096ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.461047ms)
|
||
✔ 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.645397ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.530816ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.583496ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.355957ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (111.677618ms)
|
||
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 (521.916131ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (61.362517ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2268.525051ms)
|
||
✔ busExit and refuseInsideAgent (0.502004ms)
|
||
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (236.288887ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1126.015734ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (181.101284ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (124.237954ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (100.26265ms)
|
||
ℹ tests 97
|
||
ℹ suites 0
|
||
ℹ pass 97
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 9077.632776
|