Packet agents/rocko/work/queue-79/ (packet manifest b6b11e7b, 42 files, candidate manifest 16b12387), Rocko's BUILD-LOG and SESSIONS appends. Committed by Sage for Rocko, who has no credential. Co-Authored-By: Claude Opus 5.5 <[email protected]>
124 lines
11 KiB
Plaintext
124 lines
11 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1536.180636ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (67.12178ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (180.31339ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (296.248694ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (49.361967ms)
|
||
✔ the app shows the same decide text as mosaic decide (21.991744ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (174.879507ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (68.843117ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (19.838983ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (396.675943ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (35.226598ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (32.447873ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (43.375305ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (311.101942ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (9635.451681ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (58.532739ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (27.875194ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (67.457501ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (18.910434ms)
|
||
✔ no business: the app says so and :business picks one (8.954235ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (1.464487ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (175.561159ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.468186ms)
|
||
✔ decide with --note still asks; a No sends nothing (9.530517ms)
|
||
✔ the app's business comes from a live bus host only (0.956356ms)
|
||
✔ runApp leaves the terminal as it found it on q, end of input, SIGTERM, SIGINT, SIGHUP and an error, the first frame's included (6.660612ms)
|
||
✔ draw is pure: same state, same frame (0.755716ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (26.931613ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (19.324909ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (17.397252ms)
|
||
✔ decide prints a declining choice as declining (14.887269ms)
|
||
✔ an unknown outcome is reported once and never resent (15.148535ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (17.3086ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (17.762474ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (17.617717ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (17.000181ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (18.92841ms)
|
||
✔ agents and tasks print through the broker (11.431838ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (2.312051ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (72.93434ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (101.781602ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (62.88584ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (53.950996ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (44.2682ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (82.955787ms)
|
||
✔ empty views say so (1.156083ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (1.421351ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.252011ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (937.330439ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (197.504639ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (90.298055ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1093.533039ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (185.133338ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (92.69269ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (168.649645ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (165.323995ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (114.462331ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (181.066365ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (98.527885ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (176.828346ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (32.520397ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (204.350467ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (291.835756ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (125.011319ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (751.583406ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (49.324812ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (74.843787ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (16.991554ms)
|
||
✔ bus start --pm: the PM runs under its own PID namespace, registered, with a manifest (1234.464592ms)
|
||
✔ the PM launches a coder through its launch tool; the coder answers; refusals name their code (472.250175ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (183.978664ms)
|
||
✔ 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 (595.223962ms)
|
||
✔ 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 (3540.512527ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (83.352754ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (94.653395ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (100.565088ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1198.710982ms)
|
||
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (10.046277ms)
|
||
✔ zoned uses the IANA zone across DST (26.304529ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (25.737085ms)
|
||
✔ two blocking decisions get two DMs with different nonces (18.39801ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.335883ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (18.21639ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (22.895804ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (21.450999ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (17.824901ms)
|
||
✔ 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 (145.903728ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (45.100795ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (15.675121ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (9.803946ms)
|
||
✔ an inbox read failure is logged and the next poll retries (0.91292ms)
|
||
✔ no Discord id reaches the journal or the log (9.955328ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (2.976182ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (2.989845ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (1.78217ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (0.699087ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (0.806322ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (5.410841ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.729068ms)
|
||
✔ 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.09788ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (1.353663ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.959083ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.582408ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (111.083751ms)
|
||
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 (352.406648ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (49.887462ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2237.899349ms)
|
||
✔ busExit and refuseInsideAgent (0.469372ms)
|
||
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (53.98155ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1021.436309ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (10.113244ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (9.786186ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (11.086871ms)
|
||
ℹ tests 113
|
||
ℹ suites 0
|
||
ℹ pass 113
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 13398.761644
|