Build notes, patch and candidate manifest on BASE badfa52b9, the gate
logs (GATE_PASSED; the real bwrap tester case in seat sandbox.test.mjs
ran and passed) and the mutant runs (94 killed, b44 and b45 equivalent).
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 (32.774499ms)
|
||
✔ the clone is not at its place until git clone has finished (24.162731ms)
|
||
✔ a later launch fast-forwards a clean clone after a commit to the root, then finds it current (69.233708ms)
|
||
✔ a clone ahead of the root keeps its commits and counts as current (45.199333ms)
|
||
▶ a dirty clone, one on another branch and one diverged are kept as they are
|
||
✔ a modified file (35.301522ms)
|
||
✔ an untracked file (33.122731ms)
|
||
✔ a staged file (31.959241ms)
|
||
✔ another branch (31.705997ms)
|
||
✔ a detached HEAD (30.371542ms)
|
||
✔ a diverged branch (47.118002ms)
|
||
✔ a dirty clone, one on another branch and one diverged are kept as they are (210.744294ms)
|
||
▶ a clone with user.name or user.email in its config is kept, and git runs nothing in it
|
||
✔ user.name (28.875258ms)
|
||
✔ user.email (24.851412ms)
|
||
✔ a clone with user.name or user.email in its config is kept, and git runs nothing in it (54.140407ms)
|
||
✔ a commit git can't read after the fast-forward is null (49.636697ms)
|
||
✔ a new clone whose commit can't be read refuses the launch and leaves nothing behind (22.037573ms)
|
||
▶ a clone the session rigged is kept, and git runs nothing and writes nothing outside it
|
||
✔ core.fsmonitor (37.338975ms)
|
||
✔ core.hooksPath (36.072823ms)
|
||
✔ a hook file (29.720421ms)
|
||
✔ include.path (32.725138ms)
|
||
✔ includeIf (34.884751ms)
|
||
✔ a filter driver (37.288365ms)
|
||
✔ origin moved (33.07881ms)
|
||
✔ a second origin url (36.231886ms)
|
||
✔ the origin url twice, both the root (31.802405ms)
|
||
✔ an ext:: origin (35.231259ms)
|
||
✔ a branch tracking another remote (31.742802ms)
|
||
✔ a branch merging a tag (35.260279ms)
|
||
✔ a fetch line onto local branches (31.63049ms)
|
||
✔ no origin (34.653315ms)
|
||
✔ a config file over the size cap (32.398545ms)
|
||
✔ config a symlink to /dev/zero (33.226824ms)
|
||
✔ the clone a symlink to the bait (34.197684ms)
|
||
✔ the clone a file (29.610533ms)
|
||
✔ the clone a plain directory (37.693195ms)
|
||
✔ .git a gitdir: file (43.891422ms)
|
||
✔ .git a symlink (35.860713ms)
|
||
✔ .git/logs a symlink (30.657111ms)
|
||
✔ .git/refs/heads a symlink (28.635908ms)
|
||
✔ .git/objects a symlink (29.487695ms)
|
||
✔ a reflog hard-linked to a file outside (35.58097ms)
|
||
✔ HEAD a fifo (29.853516ms)
|
||
✔ a commondir file (32.107512ms)
|
||
✔ an alternates file (30.617756ms)
|
||
✔ a gitlink staged, no .gitmodules (43.564579ms)
|
||
✔ a gitlink and .gitmodules staged (45.885578ms)
|
||
✔ a gitlink to a repository with its own gitlink (52.858511ms)
|
||
✔ a gitlink and .gitmodules committed (46.236622ms)
|
||
✔ a gitlink and submodule.active in config (42.949404ms)
|
||
✔ a .git/modules with no gitlink (32.448553ms)
|
||
✔ a clone the session rigged is kept, and git runs nothing and writes nothing outside it (1209.832227ms)
|
||
▶ a root that can't be cloned refuses with the project id and leaves nothing behind
|
||
✔ missing (10.628951ms)
|
||
✔ not a repository (9.857662ms)
|
||
✔ a plain directory inside another repository (16.939608ms)
|
||
✔ unreadable (10.089519ms)
|
||
✔ on no branch (11.649316ms)
|
||
✔ missing an object (14.488637ms)
|
||
✔ a root that can't be cloned refuses with the project id and leaves nothing behind (74.463806ms)
|
||
✔ a clone whose root is on no branch, or gone, is kept and named (28.621302ms)
|
||
✔ no credential or forge remote of the root reaches a clone (50.724499ms)
|
||
✔ every project in the business file gets its own clone at its own branch (33.6523ms)
|
||
✔ a clone past its time gets SIGTERM and refuses the launch, with nothing left in the workspace (512.429952ms)
|
||
✔ a clone that ignores SIGTERM gets SIGKILL once the grace period is over (1017.45401ms)
|
||
✔ a timeout signals git's process group, so a process git started dies with it (513.483652ms)
|
||
✔ once a signalled git has closed, its group gets SIGKILL, so a process that ignored SIGTERM dies too (513.644891ms)
|
||
✔ RUNNER_FILES is exactly what the runner and the harness sources it starts import (1.601086ms)
|
||
✔ sandboxProblem names a missing bwrap and a bwrap that fails (7.985493ms)
|
||
✔ every bind says why; the bundle and session file stay read-only over the run directory (1.366028ms)
|
||
✔ the host's git socket is bound only when given, read-only and before the writable binds (0.670867ms)
|
||
✔ the git identity is the instance's, at <instance>@<business>.mosaic.invalid, and sandboxArgv refuses without it (1.113836ms)
|
||
✔ a confined session's shell reaches its own workspace and run directory and nothing of the founder's or another session's (1853.33152ms)
|
||
✔ a bind that exposes a stand-in, or a missing workspace bind, fails the matching check (2471.383177ms)
|
||
✔ a confined session that runs tester-cli.mjs is refused as tester, and the same shim outside the sandbox binds (260.163034ms)
|
||
✔ resolveSeat: by name under --repo resolves the repo layout (1.225435ms)
|
||
✔ resolveSeat: by path resolves the fleet layout (0.319465ms)
|
||
✔ resolveSeat: refusals for missing dir, missing launch.sh, non-executable launch.sh, invalid name, and unknown layout (0.699561ms)
|
||
✔ tmuxContext: outside tmux, default socket, custom socket, and exec failure (0.634136ms)
|
||
✔ makeRegistration produces a record that validates; each shape violation throws SeatError (0.786504ms)
|
||
✔ writeRegistration/readRegistration: round trip, permissions, absence, and malformed records (1.236057ms)
|
||
✔ updateTask: changes task, taskSetBy and updatedAt only, and refuses appropriately (1.127349ms)
|
||
✔ CLI launch: registers, execs the fake launch script, and passes args through (28.713386ms)
|
||
✔ CLI launch: --harness lands in the record (27.00055ms)
|
||
✔ CLI launch: the launch script's own exit code passes through (27.139109ms)
|
||
✔ CLI launch: relaunching a seat rewrites the one registration record (60.281649ms)
|
||
✔ CLI launch: omitting --task records an empty string, not null (30.626298ms)
|
||
✔ CLI seat task: updates only the task after a launch, and refuses on an unlaunched seat (75.45189ms)
|
||
✔ CLI refusals: no args, unknown flag, missing config, already-registered env, and exec failure (124.881841ms)
|
||
✔ samePath: equal paths, symlinked dirs, distinct dirs, and non-strings (0.408397ms)
|
||
✔ resolveSetBy: explicit --by wins over the environment; absent or empty environment gives unknown; invalid explicit or environment values refuse with exit 4 (0.573348ms)
|
||
✔ 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.677615ms)
|
||
✔ 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 (0.861225ms)
|
||
✔ 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 (253.887353ms)
|
||
✔ family: exactly one launch.max key in the model name, else null (0.729523ms)
|
||
✔ sessionEnv passes only the allowlist, the repo's bin on PATH, and the run id (0.691038ms)
|
||
✔ sessionExit gives a runner's signal death back as the signal; a session credential is one whole set of nonempty variables (0.247173ms)
|
||
✔ newRun: short ids, 0700 directories, and a refusal when the socket path won't fit (1.482551ms)
|
||
✔ session file and launch log: 0600, the session file written once (1.021269ms)
|
||
✔ endReason maps the runner's exit codes; a signal is killed (0.114087ms)
|
||
✔ Registry mirrors to sessions.json; readSessions marks live entries; bad files refuse (1.205413ms)
|
||
✔ stopSession refuses an unknown run, reports a stale one, and won't signal a pid that isn't a runner (0.968004ms)
|
||
✔ a session runs in its sandbox as pid 1 of its namespace, claims, answers, and stops on mosaic stop (313.496869ms)
|
||
✔ workRef and validBranch take only what a ref name can hold (1.10107ms)
|
||
✔ a push lands as the task's work ref, a fast-forward lands after it, and main is the root's (152.42874ms)
|
||
✔ a rewritten branch refuses non-fast-forward and the work ref stays (126.836171ms)
|
||
✔ a branch with no history in common with main refuses unrelated-history (79.492742ms)
|
||
✔ a bundle that needs commits the working repository lacks refuses missing-prerequisite (39.547394ms)
|
||
✔ main is fetched from the root again before each push, so a clone of a newer root pushes (149.45437ms)
|
||
✔ a root moved back after the clone leaves the push's base unknown: missing-prerequisite (84.854545ms)
|
||
✔ a commit with a broken object refuses invalid-bundle, and only because fsck is on (88.982484ms)
|
||
✔ only a v2 bundle with the named branch is read (47.950526ms)
|
||
✔ a branch named main, or named for another task, moves only this task's work ref (95.034418ms)
|
||
✔ a record that throws moves the work ref back, or removes a new one (140.428173ms)
|
||
✔ a work ref that can't go back refuses rollback-failed, naming the ref and the commit (429.384339ms)
|
||
✔ a root that can't be read refuses root-unreadable (28.553301ms)
|
||
✔ a git past its time gets SIGTERM, leaves no ref lock, and the next push lands (2163.152328ms)
|
||
✔ a git that ignores SIGTERM gets SIGKILL once the grace period is over (1027.111116ms)
|
||
✔ a working repository path that isn't a directory refuses (22.852984ms)
|
||
✔ review bundles a pushed commit as refs/mosaic/review, leaving out what the reviewer has (109.319063ms)
|
||
✔ review of a project with no working repository refuses unknown-commit (12.590701ms)
|
||
✔ the runner's git tools hold the host's limits and branch rule (1.093212ms)
|
||
ℹ tests 120
|
||
ℹ suites 0
|
||
ℹ pass 120
|
||
ℹ fail 0
|
||
ℹ cancelled 0
|
||
ℹ skipped 0
|
||
ℹ todo 0
|
||
ℹ duration_ms 4851.009466
|