Candidate on 96656dd21: broker split refuses invalid-recommendation after the
option checks, raise_decision text asks for one key and names the yes default,
bus README codes table, broker and tools tests. Mutants m1 (old shared line)
and m2 (order swapped) killed; full gate passed 15:42:03-15:47:36Z.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
133 lines
9.5 KiB
Plaintext
133 lines
9.5 KiB
Plaintext
✔ a first launch clones the root at its branch, with the root's path as origin (34.307467ms)
|
||
✔ the clone is not at its place until git clone has finished (26.579837ms)
|
||
✔ a later launch fast-forwards a clean clone after a commit to the root, then finds it current (63.936413ms)
|
||
✔ a clone ahead of the root keeps its commits and counts as current (42.612987ms)
|
||
▶ a dirty clone, one on another branch and one diverged are kept as they are
|
||
✔ a modified file (32.835042ms)
|
||
✔ an untracked file (33.714411ms)
|
||
✔ a staged file (31.695901ms)
|
||
✔ another branch (34.019274ms)
|
||
✔ a detached HEAD (29.775078ms)
|
||
✔ a diverged branch (48.716624ms)
|
||
✔ a dirty clone, one on another branch and one diverged are kept as they are (211.968632ms)
|
||
▶ a clone with user.name or user.email in its config is kept, and git runs nothing in it
|
||
✔ user.name (27.400076ms)
|
||
✔ user.email (25.216814ms)
|
||
✔ a clone with user.name or user.email in its config is kept, and git runs nothing in it (53.095347ms)
|
||
✔ a commit git can't read after the fast-forward is null (52.993099ms)
|
||
✔ a new clone whose commit can't be read refuses the launch and leaves nothing behind (18.364682ms)
|
||
▶ a clone the session rigged is kept, and git runs nothing and writes nothing outside it
|
||
✔ core.fsmonitor (39.731587ms)
|
||
✔ core.hooksPath (34.08725ms)
|
||
✔ a hook file (35.616823ms)
|
||
✔ include.path (34.040183ms)
|
||
✔ includeIf (37.015149ms)
|
||
✔ a filter driver (33.325033ms)
|
||
✔ origin moved (31.505951ms)
|
||
✔ a second origin url (34.517056ms)
|
||
✔ the origin url twice, both the root (36.169284ms)
|
||
✔ an ext:: origin (34.533682ms)
|
||
✔ a branch tracking another remote (32.534265ms)
|
||
✔ a branch merging a tag (32.966309ms)
|
||
✔ a fetch line onto local branches (34.748797ms)
|
||
✔ no origin (36.010562ms)
|
||
✔ a config file over the size cap (32.060151ms)
|
||
✔ config a symlink to /dev/zero (34.420541ms)
|
||
✔ the clone a symlink to the bait (33.766457ms)
|
||
✔ the clone a file (29.018681ms)
|
||
✔ the clone a plain directory (32.557145ms)
|
||
✔ .git a gitdir: file (35.992625ms)
|
||
✔ .git a symlink (139.799758ms)
|
||
✔ .git/logs a symlink (32.626901ms)
|
||
✔ .git/refs/heads a symlink (29.391816ms)
|
||
✔ .git/objects a symlink (32.442855ms)
|
||
✔ a reflog hard-linked to a file outside (29.67807ms)
|
||
✔ HEAD a fifo (119.476166ms)
|
||
✔ a commondir file (30.492856ms)
|
||
✔ an alternates file (30.990098ms)
|
||
✔ a gitlink staged, no .gitmodules (75.466731ms)
|
||
✔ a gitlink and .gitmodules staged (52.668501ms)
|
||
✔ a gitlink to a repository with its own gitlink (53.209ms)
|
||
✔ a gitlink and .gitmodules committed (48.709434ms)
|
||
✔ a gitlink and submodule.active in config (46.080508ms)
|
||
✔ a .git/modules with no gitlink (34.615566ms)
|
||
✔ a clone the session rigged is kept, and git runs nothing and writes nothing outside it (1444.867511ms)
|
||
▶ a root that can't be cloned refuses with the project id and leaves nothing behind
|
||
✔ missing (10.010393ms)
|
||
✔ not a repository (10.039752ms)
|
||
✔ a plain directory inside another repository (14.335629ms)
|
||
✔ unreadable (11.314204ms)
|
||
✔ on no branch (11.475078ms)
|
||
✔ missing an object (15.794395ms)
|
||
✔ a root that can't be cloned refuses with the project id and leaves nothing behind (73.779993ms)
|
||
✔ a clone whose root is on no branch, or gone, is kept and named (33.746464ms)
|
||
✔ no credential or forge remote of the root reaches a clone (50.652215ms)
|
||
✔ every project in the business file gets its own clone at its own branch (38.181599ms)
|
||
✔ a clone past its time gets SIGTERM and refuses the launch, with nothing left in the workspace (513.096599ms)
|
||
✔ a clone that ignores SIGTERM gets SIGKILL once the grace period is over (1017.47494ms)
|
||
✔ a timeout signals git's process group, so a process git started dies with it (514.312962ms)
|
||
✔ once a signalled git has closed, its group gets SIGKILL, so a process that ignored SIGTERM dies too (513.8884ms)
|
||
✔ RUNNER_FILES is exactly what the runner and the harness sources it starts import (1.616261ms)
|
||
✔ sandboxProblem names a missing bwrap and a bwrap that fails (7.701979ms)
|
||
✔ every bind says why; the bundle and session file stay read-only over the run directory (1.351497ms)
|
||
✔ the host's git socket is bound only when given, read-only and before the writable binds (0.673292ms)
|
||
✔ the git identity is the instance's, at <instance>@<business>.mosaic.invalid, and sandboxArgv refuses without it (1.212751ms)
|
||
✔ a confined session's shell reaches its own workspace and run directory and nothing of the founder's or another session's (1958.964931ms)
|
||
✔ a bind that exposes a stand-in, or a missing workspace bind, fails the matching check (2523.248176ms)
|
||
✔ a confined session that runs tester-cli.mjs is refused as tester, and the same shim outside the sandbox binds (266.505117ms)
|
||
✔ resolveSeat: by name under --repo resolves the repo layout (1.267639ms)
|
||
✔ resolveSeat: by path resolves the fleet layout (0.321088ms)
|
||
✔ resolveSeat: refusals for missing dir, missing launch.sh, non-executable launch.sh, invalid name, and unknown layout (0.713604ms)
|
||
✔ tmuxContext: outside tmux, default socket, custom socket, and exec failure (0.640132ms)
|
||
✔ makeRegistration produces a record that validates; each shape violation throws SeatError (0.78215ms)
|
||
✔ writeRegistration/readRegistration: round trip, permissions, absence, and malformed records (1.28063ms)
|
||
✔ updateTask: changes task, taskSetBy and updatedAt only, and refuses appropriately (1.09824ms)
|
||
✔ CLI launch: registers, execs the fake launch script, and passes args through (29.285504ms)
|
||
✔ CLI launch: --harness lands in the record (25.782629ms)
|
||
✔ CLI launch: the launch script's own exit code passes through (28.500369ms)
|
||
✔ CLI launch: relaunching a seat rewrites the one registration record (58.077633ms)
|
||
✔ CLI launch: omitting --task records an empty string, not null (28.265166ms)
|
||
✔ CLI seat task: updates only the task after a launch, and refuses on an unlaunched seat (79.476569ms)
|
||
✔ CLI refusals: no args, unknown flag, missing config, already-registered env, and exec failure (128.24817ms)
|
||
✔ samePath: equal paths, symlinked dirs, distinct dirs, and non-strings (0.415901ms)
|
||
✔ resolveSetBy: explicit --by wins over the environment; absent or empty environment gives unknown; invalid explicit or environment values refuse with exit 4 (0.565832ms)
|
||
✔ validateRegistration/readRegistration: taskSetBy is optional; a record without it (written before #1511) still loads unchanged; an invalid one is refused; the version does not change (0.681309ms)
|
||
✔ updateTask: records setBy, preserves startedAt and every unrelated field, upgrades an old record in place only when the task is set, and replaces a previous attribution (1.150004ms)
|
||
✔ CLI seat task: --by beats MOSAIC_AGENT_NAME, the environment beats nothing, empty environment is unknown, invalid --by or environment refuses with exit 4 and leaves the record byte for byte (248.93759ms)
|
||
✔ family: exactly one launch.max key in the model name, else null (0.679279ms)
|
||
✔ sessionEnv passes only the allowlist, the repo's bin on PATH, and the run id (0.715147ms)
|
||
✔ sessionExit gives a runner's signal death back as the signal; a session credential is one whole set of nonempty variables (0.255495ms)
|
||
✔ newRun: short ids, 0700 directories, and a refusal when the socket path won't fit (1.552786ms)
|
||
✔ session file and launch log: 0600, the session file written once (1.117695ms)
|
||
✔ endReason maps the runner's exit codes; a signal is killed (0.127149ms)
|
||
✔ Registry mirrors to sessions.json; readSessions marks live entries; bad files refuse (1.228843ms)
|
||
✔ stopSession refuses an unknown run, reports a stale one, and won't signal a pid that isn't a runner (1.008682ms)
|
||
✔ a session runs in its sandbox as pid 1 of its namespace, claims, answers, and stops on mosaic stop (341.939589ms)
|
||
✔ workRef and validBranch take only what a ref name can hold (1.111725ms)
|
||
✔ a push lands as the task's work ref, a fast-forward lands after it, and main is the root's (154.043346ms)
|
||
✔ a rewritten branch refuses non-fast-forward and the work ref stays (139.362596ms)
|
||
✔ a branch with no history in common with main refuses unrelated-history (67.436152ms)
|
||
✔ a bundle that needs commits the working repository lacks refuses missing-prerequisite (40.605458ms)
|
||
✔ main is fetched from the root again before each push, so a clone of a newer root pushes (146.894829ms)
|
||
✔ a root moved back after the clone leaves the push's base unknown: missing-prerequisite (105.815238ms)
|
||
✔ a commit with a broken object refuses invalid-bundle, and only because fsck is on (84.820765ms)
|
||
✔ only a v2 bundle with the named branch is read (43.064609ms)
|
||
✔ a branch named main, or named for another task, moves only this task's work ref (91.915497ms)
|
||
✔ a record that throws moves the work ref back, or removes a new one (151.922188ms)
|
||
✔ a work ref that can't go back refuses rollback-failed, naming the ref and the commit (473.569378ms)
|
||
✔ a root that can't be read refuses root-unreadable (100.053313ms)
|
||
✔ a git past its time gets SIGTERM, leaves no ref lock, and the next push lands (2192.476802ms)
|
||
✔ a git that ignores SIGTERM gets SIGKILL once the grace period is over (1028.245929ms)
|
||
✔ a working repository path that isn't a directory refuses (24.107856ms)
|
||
✔ review bundles a pushed commit as refs/mosaic/review, leaving out what the reviewer has (113.007919ms)
|
||
✔ review of a project with no working repository refuses unknown-commit (12.9634ms)
|
||
✔ the runner's git tools hold the host's limits and branch rule (1.109965ms)
|
||
ℹ tests 120
|
||
ℹ suites 0
|
||
ℹ pass 120
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 5026.505298
|