Packet agents/rocko/work/queue-78/ (packet manifest 9e067f40, 32 files, candidate manifest 3016dbf1), 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]>
125 lines
11 KiB
Plaintext
125 lines
11 KiB
Plaintext
✔ every screen and overlay fits 120x36, 80x24 and the narrow layout, row for row (1910.633632ms)
|
||
✔ width counts terminal cells: wide CJK and emoji 2, U+FE0F after a one-cell base 1, marks 0 (143.112029ms)
|
||
✔ broker text is shown, never interpreted: no raw control character or bidi override reaches the terminal (279.826101ms)
|
||
✔ NO_COLOR: no escape codes, except reverse video on the selected row (391.035639ms)
|
||
✔ 1-9 shows the decide flow's own lines and question; only y resolves (67.853213ms)
|
||
✔ the app shows the same decide text as mosaic decide (31.944793ms)
|
||
✔ any key but y or Y at the question answers No; nothing is sent (433.56893ms)
|
||
✔ below 40x10 the question is hidden, so every key answers it No, y included (Filbert R3) (123.841203ms)
|
||
✔ a throw while answering the question goes to crash, sends nothing and leaves no job pending (33.003865ms)
|
||
✔ type-ahead never answers the question: a paste, keys typed before it is drawn, keys inside askMs (506.38546ms)
|
||
✔ quitting at the question answers No and sends nothing, armed or not (89.764123ms)
|
||
✔ a timer tick reads nothing under an overlay, never answers the question, and keeps a resolved status (72.091968ms)
|
||
✔ a long question is cut inside the question; the action, target, choice and prompt stay (Dewey B1) (73.630176ms)
|
||
✔ a decide box too big for the terminal says so, and every key answers it No, y included (Dewey B1, round 3) (461.801402ms)
|
||
✔ at every size the decide box shows each line y depends on, or says it is hidden (15606.511378ms)
|
||
✔ outcome unknown: the CLI's sentence, no retry, then the trail or a re-read (85.695605ms)
|
||
✔ refused and failed reads keep the last list, marked stale; a refused decide says refused (38.38841ms)
|
||
✔ keys: views, moving, trail of a selection, the command line, help and quit (118.586541ms)
|
||
✔ one option: the status line says Press 1, not 1-1 (32.072393ms)
|
||
✔ no business: the app says so and :business picks one (14.585079ms)
|
||
✔ mosaic with no argument: exit 3 in an agent run, exit 4 with the usage off a terminal, the app on one (2.603454ms)
|
||
✔ scripts/mosaic with no argument reaches the app entry; the seat usage it printed before has not drifted (262.887666ms)
|
||
✔ strings to keep exactly live once, in the decide flow and the transport; the app does not restate them (0.670846ms)
|
||
✔ decide with --note still asks; a No sends nothing (12.425329ms)
|
||
✔ the app's business comes from a live bus host only (1.266359ms)
|
||
✔ 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.630551ms)
|
||
✔ draw is pure: same state, same frame (1.002736ms)
|
||
✔ inbox lists only decisions routed to the human, with what approving authorizes and how to decide (62.395894ms)
|
||
✔ decide resolves by id prefix with --yes, and the trail shows it in broker order with the task to follow (41.83927ms)
|
||
✔ decide refuses without a terminal or --yes, on an unknown option and on a short reference (37.272261ms)
|
||
✔ decide prints a declining choice as declining (27.334962ms)
|
||
✔ an unknown outcome is reported once and never resent (27.982566ms)
|
||
✔ a decision closed before the answer arrives exits 2 and points at its trail (18.589117ms)
|
||
✔ a prefix that matches two open decisions exits 2 and resolves neither (21.540599ms)
|
||
✔ without --business a command uses the live host's business, and a stale host.json is not a host (16.229738ms)
|
||
✔ every human command refuses inside an agent run before it touches the bus (15.049641ms)
|
||
✔ usage errors exit 4; no business and no host is a usage error (25.282199ms)
|
||
✔ agents and tasks print through the broker (29.350635ms)
|
||
✔ notify.json: missing, loose, malformed and extra keys refuse; a binding or null passes (2.599913ms)
|
||
✔ bootConfig builds the broker's boot message for one business, with no trackers key when no project names one (93.001014ms)
|
||
✔ trackers come from the tracker.* variables of the one project that names a tracker project (165.337945ms)
|
||
✔ with two projects, the one that sets tracker.project supplies the tracker and the other is no conflict (81.63954ms)
|
||
✔ two projects that each name a tracker project refuse, since the boot shape holds one (59.362413ms)
|
||
✔ a business without tracker.baseUrl gets no trackers entry (57.918774ms)
|
||
✔ an unknown business and a broken system config refuse with exit 3 (80.860704ms)
|
||
✔ empty views say so (1.313027ms)
|
||
✔ the trail keeps the broker's order and names a decision's task without its rows (1.574141ms)
|
||
✔ tasks print the tracker fields the snapshot carries (0.285888ms)
|
||
✔ the host boots the broker, binds a launch in process, and the notifier DMs a blocking decision exactly once (1077.952051ms)
|
||
✔ a notifier that dies takes the host down with exit 1, so the unit restarts the pair (230.359933ms)
|
||
✔ a second host for the same data root refuses with exit 3 while the first runs (118.99623ms)
|
||
✔ a broker reply that misses the wait breaks the channel: the late reply answers nothing, later requests refuse, the host exits 1 (1137.198972ms)
|
||
✔ a broker reply with another request's id, or none, breaks the channel and the host exits 1 (278.437063ms)
|
||
✔ a broker reply with no request waiting breaks the channel and the host exits 1 (134.075152ms)
|
||
✔ a notifier that refuses stops the broker and the host refuses with exit 3 (368.342365ms)
|
||
✔ a notifier that refuses after the broker died still refuses with exit 3, without a send to the dead broker (252.110471ms)
|
||
✔ a notifier that dies before it replies, after the broker died, still refuses, without a send to the dead broker (145.015451ms)
|
||
✔ a close send that fails with EPIPE after the notifier refuses still gives the notifier's refusal, exit 3 (275.148147ms)
|
||
✔ a close send that fails with EPIPE after the notifier dies unanswered still gives the notifier's error (182.368233ms)
|
||
✔ close() whose stop and close sends fail with EPIPE still finishes, with exit 1 (281.79552ms)
|
||
✔ watchChildren reports a child that died before it was called, and one that dies later (49.417709ms)
|
||
✔ bus stop refuses to signal a live pid that is not a bus host (205.384672ms)
|
||
✔ bus start refuses with exit 3 and the code when the broker refuses to boot; bus status names the lock (499.726888ms)
|
||
✔ bus start refuses with exit 3 without a notifier config (274.274829ms)
|
||
✔ bus start runs until bus stop; status reports it while it runs (1608.950298ms)
|
||
✔ bus-service.sh renders the unit and installs it into a given directory (94.865731ms)
|
||
✔ bus-service.sh pins the claude binary, refuses one the unit can't carry, and renders without one (129.718873ms)
|
||
✔ bus-service.sh refuses a directory pin and keeps a symlink default unresolved (28.45915ms)
|
||
✔ bus-service.sh refuses a default claude without the execute bit, or in a PATH dir with a space (14.909042ms)
|
||
✔ bus start --pm: the PM runs under its own PID namespace, registered, with a manifest (1330.679579ms)
|
||
✔ the PM launches a coder through its launch tool; the coder answers; refusals name their code (554.938523ms)
|
||
✔ a runner that stops at once ends its launch with the runner's reason (264.614384ms)
|
||
✔ 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 (850.041311ms)
|
||
✔ 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 (4327.987734ms)
|
||
✔ a malformed sessions.json refuses the host start with exit 3 and stays as it was (129.833428ms)
|
||
✔ an over-long launch request is refused at once, not at the 10 s idle timeout (128.980928ms)
|
||
✔ a launch client that never closes its side doesn't hold the host's close (143.852901ms)
|
||
✔ a runner that ignores SIGTERM is killed when the host closes (1247.661366ms)
|
||
✔ claudeVersion asks MOSAIC_CLAUDE_BIN when set, else claude on PATH (9.161909ms)
|
||
✔ zoned uses the IANA zone across DST (29.406915ms)
|
||
✔ each open blocking decision is DM'd once, across polls and a restart; non-blocking ones are not (52.684929ms)
|
||
✔ two blocking decisions get two DMs with different nonces (39.514614ms)
|
||
✔ the digest nonce differs per business and per day and fits Discord's 25 characters (0.369995ms)
|
||
✔ a failed DM is journaled, backs off, and is retried until it lands (47.590052ms)
|
||
✔ five definite refusals stop a DM: one gave-up line, one log line, and a restart keeps the count (37.063874ms)
|
||
✔ 429s, 5xx-style unknowns and refusals without a status never count toward the limit (28.513517ms)
|
||
✔ a crash between the fifth refusal and its gave-up line: the next poll appends it and sends nothing (19.30849ms)
|
||
✔ 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 (159.898503ms)
|
||
✔ a restart after the second refusal does not send before that refusal's 30 min are up (68.339892ms)
|
||
✔ the digest goes at 08:00 Chicago once a day, with blocking ones marked as DM'd (16.286448ms)
|
||
✔ a late start with no digest for the day sends one at once; an empty inbox gets one line (11.414629ms)
|
||
✔ an inbox read failure is logged and the next poll retries (0.855958ms)
|
||
✔ no Discord id reaches the journal or the log (11.39981ms)
|
||
✔ the journal: a torn tail is copied out and truncated, so an append after it reopens cleanly (2.747398ms)
|
||
✔ the journal: a crash between the copy and the truncate leaves a tail the next open repairs (2.385693ms)
|
||
✔ the journal: a whole file that is one torn line truncates to empty (1.625335ms)
|
||
✔ the journal: a malformed complete line refuses and leaves the file and any torn tail alone (0.930316ms)
|
||
✔ the journal: a loose file mode, a loose directory or a symlinked journal refuses (1.075788ms)
|
||
✔ the journal: a line with a wrong type refuses with exit 3 and names the field (3.793322ms)
|
||
✔ the journal: a symlinked directory refuses and says it is a link (0.668318ms)
|
||
✔ 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.956293ms)
|
||
✔ the journal: an append after the file was swapped for a symlink refuses and writes nothing through it (0.713547ms)
|
||
✔ the journal: a directory it cannot write or create refuses with exit 3 and names the path (0.886156ms)
|
||
✔ digest content stays within Discord's 2000 characters (0.499336ms)
|
||
✔ runLoop never overlaps ticks and stops after the one in flight (112.451267ms)
|
||
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 (442.568081ms)
|
||
✔ the transport writes {business, verb, args} to the child and reads its JSON (79.165162ms)
|
||
✔ a bus code on stderr becomes the exit code; garbage and timeouts are outcome problems (2362.637568ms)
|
||
✔ busExit and refuseInsideAgent (0.811859ms)
|
||
✔ talk sends a REQUEST, prints and reads everything that arrives, and stops at the reply (89.574109ms)
|
||
✔ talk --wait 0 only sends; no reply within --wait exits 1 and says where it will show (1039.819465ms)
|
||
✔ talk, stop and launches off/on refuse inside an agent run; bad arguments are usage errors (14.305242ms)
|
||
✔ launches off and on go to the broker and change the business's launch state (12.907024ms)
|
||
✔ launches list reads sessions.json and marks a stale entry; stop reports it and refuses a non-runner (14.709084ms)
|
||
ℹ tests 114
|
||
ℹ suites 0
|
||
ℹ pass 114
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 21154.213603
|