Candidate on base 94ece491f: 5 files, manifest f37bc933. Three mutants
killed; gate passed with no flakes.
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.167796ms)
|
||
✔ the clone is not at its place until git clone has finished (22.614601ms)
|
||
✔ a later launch fast-forwards a clean clone after a commit to the root, then finds it current (66.340833ms)
|
||
✔ a clone ahead of the root keeps its commits and counts as current (43.721705ms)
|
||
▶ a dirty clone, one on another branch and one diverged are kept as they are
|
||
✔ a modified file (34.706473ms)
|
||
✔ an untracked file (34.101572ms)
|
||
✔ a staged file (38.05511ms)
|
||
✔ another branch (32.155206ms)
|
||
✔ a detached HEAD (30.747643ms)
|
||
✔ a diverged branch (47.443526ms)
|
||
✔ a dirty clone, one on another branch and one diverged are kept as they are (218.449373ms)
|
||
▶ a clone with user.name or user.email in its config is kept, and git runs nothing in it
|
||
✔ user.name (25.715763ms)
|
||
✔ user.email (27.659282ms)
|
||
✔ a clone with user.name or user.email in its config is kept, and git runs nothing in it (53.811171ms)
|
||
✔ a commit git can't read after the fast-forward is null (51.177526ms)
|
||
✔ a new clone whose commit can't be read refuses the launch and leaves nothing behind (19.44399ms)
|
||
▶ a clone the session rigged is kept, and git runs nothing and writes nothing outside it
|
||
✔ core.fsmonitor (37.225706ms)
|
||
✔ core.hooksPath (38.21649ms)
|
||
✔ a hook file (35.156177ms)
|
||
✔ include.path (39.902762ms)
|
||
✔ includeIf (37.91183ms)
|
||
✔ a filter driver (40.287645ms)
|
||
✔ origin moved (38.218793ms)
|
||
✔ a second origin url (41.398256ms)
|
||
✔ the origin url twice, both the root (51.930779ms)
|
||
✔ an ext:: origin (54.327151ms)
|
||
✔ a branch tracking another remote (41.184945ms)
|
||
✔ a branch merging a tag (42.854554ms)
|
||
✔ a fetch line onto local branches (48.620934ms)
|
||
✔ no origin (52.245885ms)
|
||
✔ a config file over the size cap (51.127346ms)
|
||
✔ config a symlink to /dev/zero (48.518038ms)
|
||
✔ the clone a symlink to the bait (45.025217ms)
|
||
✔ the clone a file (40.871269ms)
|
||
✔ the clone a plain directory (41.72662ms)
|
||
✔ .git a gitdir: file (39.888226ms)
|
||
✔ .git a symlink (35.773402ms)
|
||
✔ .git/logs a symlink (30.563327ms)
|
||
✔ .git/refs/heads a symlink (32.483122ms)
|
||
✔ .git/objects a symlink (34.382955ms)
|
||
✔ a reflog hard-linked to a file outside (34.256752ms)
|
||
✔ HEAD a fifo (40.43458ms)
|
||
✔ a commondir file (42.136315ms)
|
||
✔ an alternates file (37.605508ms)
|
||
✔ a gitlink staged, no .gitmodules (45.841621ms)
|
||
✔ a gitlink and .gitmodules staged (43.73331ms)
|
||
✔ a gitlink to a repository with its own gitlink (52.601328ms)
|
||
✔ a gitlink and .gitmodules committed (48.553989ms)
|
||
✔ a gitlink and submodule.active in config (51.666121ms)
|
||
✔ a .git/modules with no gitlink (39.685421ms)
|
||
✔ a clone the session rigged is kept, and git runs nothing and writes nothing outside it (1441.606281ms)
|
||
▶ a root that can't be cloned refuses with the project id and leaves nothing behind
|
||
✔ missing (11.856396ms)
|
||
✔ not a repository (12.233141ms)
|
||
✔ a plain directory inside another repository (19.802483ms)
|
||
✔ unreadable (14.235517ms)
|
||
✔ on no branch (16.183489ms)
|
||
✔ missing an object (25.199956ms)
|
||
✔ a root that can't be cloned refuses with the project id and leaves nothing behind (100.720347ms)
|
||
✔ a clone whose root is on no branch, or gone, is kept and named (37.619695ms)
|
||
✔ no credential or forge remote of the root reaches a clone (56.98242ms)
|
||
✔ every project in the business file gets its own clone at its own branch (41.227594ms)
|
||
✔ a clone past its time gets SIGTERM and refuses the launch, with nothing left in the workspace (516.133716ms)
|
||
✔ a clone that ignores SIGTERM gets SIGKILL once the grace period is over (1017.403882ms)
|
||
✔ a timeout signals git's process group, so a process git started dies with it (524.162328ms)
|
||
✔ once a signalled git has closed, its group gets SIGKILL, so a process that ignored SIGTERM dies too (514.275342ms)
|
||
✔ RUNNER_FILES is exactly what the runner and the harness sources it starts import (1.670619ms)
|
||
✔ sandboxProblem names a missing bwrap and a bwrap that fails (8.193853ms)
|
||
✔ every bind says why; the bundle and session file stay read-only over the run directory (2.090648ms)
|
||
✔ the host's git socket is bound only when given, read-only and before the writable binds (0.681959ms)
|
||
✔ the git identity is the instance's, at <instance>@<business>.mosaic.invalid, and sandboxArgv refuses without it (1.061084ms)
|
||
✔ a confined session's shell reaches its own workspace and run directory and nothing of the founder's or another session's (1837.418232ms)
|
||
✔ a bind that exposes a stand-in, or a missing workspace bind, fails the matching check (2697.313162ms)
|
||
✔ a confined session that runs tester-cli.mjs is refused as tester, and the same shim outside the sandbox binds (266.436904ms)
|
||
✔ resolveSeat: by name under --repo resolves the repo layout (1.269529ms)
|
||
✔ resolveSeat: by path resolves the fleet layout (0.325042ms)
|
||
✔ resolveSeat: refusals for missing dir, missing launch.sh, non-executable launch.sh, invalid name, and unknown layout (0.724ms)
|
||
✔ tmuxContext: outside tmux, default socket, custom socket, and exec failure (0.654834ms)
|
||
✔ makeRegistration produces a record that validates; each shape violation throws SeatError (0.794548ms)
|
||
✔ writeRegistration/readRegistration: round trip, permissions, absence, and malformed records (1.493073ms)
|
||
✔ updateTask: changes task, taskSetBy and updatedAt only, and refuses appropriately (1.201698ms)
|
||
✔ CLI launch: registers, execs the fake launch script, and passes args through (28.394445ms)
|
||
✔ CLI launch: --harness lands in the record (28.468445ms)
|
||
✔ CLI launch: the launch script's own exit code passes through (28.01593ms)
|
||
✔ CLI launch: relaunching a seat rewrites the one registration record (64.400422ms)
|
||
✔ CLI launch: omitting --task records an empty string, not null (28.420823ms)
|
||
✔ CLI seat task: updates only the task after a launch, and refuses on an unlaunched seat (87.889379ms)
|
||
✔ CLI refusals: no args, unknown flag, missing config, already-registered env, and exec failure (135.710014ms)
|
||
✔ samePath: equal paths, symlinked dirs, distinct dirs, and non-strings (0.434288ms)
|
||
✔ resolveSetBy: explicit --by wins over the environment; absent or empty environment gives unknown; invalid explicit or environment values refuse with exit 4 (0.573829ms)
|
||
✔ 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.767441ms)
|
||
✔ 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.418016ms)
|
||
✔ 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 (264.235236ms)
|
||
✔ family: exactly one launch.max key in the model name, else null (0.66592ms)
|
||
✔ sessionEnv passes only the allowlist, the repo's bin on PATH, and the run id (0.710192ms)
|
||
✔ sessionExit gives a runner's signal death back as the signal; a session credential is one whole set of nonempty variables (0.253889ms)
|
||
✔ newRun: short ids, 0700 directories, and a refusal when the socket path won't fit (1.521154ms)
|
||
✔ session file and launch log: 0600, the session file written once (1.064267ms)
|
||
✔ endReason maps the runner's exit codes; a signal is killed (0.115919ms)
|
||
✔ Registry mirrors to sessions.json; readSessions marks live entries; bad files refuse (1.227985ms)
|
||
✔ stopSession refuses an unknown run, reports a stale one, and won't signal a pid that isn't a runner (0.989556ms)
|
||
✔ a session runs in its sandbox as pid 1 of its namespace, claims, answers, and stops on mosaic stop (306.446447ms)
|
||
✔ workRef and validBranch take only what a ref name can hold (1.116671ms)
|
||
✔ a push lands as the task's work ref, a fast-forward lands after it, and main is the root's (161.757236ms)
|
||
✔ a rewritten branch refuses non-fast-forward and the work ref stays (147.76012ms)
|
||
✔ a branch with no history in common with main refuses unrelated-history (68.371484ms)
|
||
✔ a bundle that needs commits the working repository lacks refuses missing-prerequisite (41.98031ms)
|
||
✔ main is fetched from the root again before each push, so a clone of a newer root pushes (139.831975ms)
|
||
✔ a root moved back after the clone leaves the push's base unknown: missing-prerequisite (94.34647ms)
|
||
✔ a commit with a broken object refuses invalid-bundle, and only because fsck is on (90.385383ms)
|
||
✔ only a v2 bundle with the named branch is read (50.193154ms)
|
||
✔ a branch named main, or named for another task, moves only this task's work ref (130.573813ms)
|
||
✔ a record that throws moves the work ref back, or removes a new one (195.49797ms)
|
||
✔ a work ref that can't go back refuses rollback-failed, naming the ref and the commit (399.82813ms)
|
||
✔ a root that can't be read refuses root-unreadable (36.709277ms)
|
||
✔ a git past its time gets SIGTERM, leaves no ref lock, and the next push lands (2208.670204ms)
|
||
✔ a git that ignores SIGTERM gets SIGKILL once the grace period is over (1044.046078ms)
|
||
✔ a working repository path that isn't a directory refuses (24.072881ms)
|
||
✔ review bundles a pushed commit as refs/mosaic/review, leaving out what the reviewer has (113.234693ms)
|
||
✔ review of a project with no working repository refuses unknown-commit (13.030629ms)
|
||
✔ the runner's git tools hold the host's limits and branch rule (1.130716ms)
|
||
ℹ tests 120
|
||
ℹ suites 0
|
||
ℹ pass 120
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 5023.994749
|