Answer prose round 1: 0 🔴, 6 🟡 (0 misread); the comments say what the files hold, and the README leaves the test's steps to its docstring
This commit is contained in:
@@ -328,7 +328,7 @@ Test on the host with `bin/run-tests`, which runs pytest through `uvx`, pinned i
|
||||
|
||||
The commands in this section name their tools bare, as Tools says. CI runs `ci.sh` on every pull request, and `main` doesn't merge anything until it passes. The script runs the same tests on the committed HEAD in a pinned Python container. Run it under `run-heavy` to reproduce a CI failure, with Docker on `PATH` and its socket at `/var/run/docker.sock`, which the container shares.
|
||||
|
||||
`ci.sh` then runs `first-chunk-e2e/run`, which checks goals 2 and 3 as a newcomer meets them. It builds a container that holds what Install asks for and a stock Claude Code with a `~/.claude` of its own, clones the committed HEAD there, and has `build-release` run a task in a small project. A mock Messages API answers claude as a worker that is done and as a judge that rules the chunk finished, so the run needs no sign-in. It fails unless the chunk finishes on the setup's instructions, no request holds an instruction from the container's `~/.claude`, and that folder and `~/.claude.json` hold what they held before. Run it under `run-heavy` too. It needs the network: the image fetches Claude Code, and `build-release` installs the plugins.
|
||||
`ci.sh` then runs `first-chunk-e2e/run`, which checks goals 2 and 3 as a newcomer meets them. It runs a first chunk in a container, from a clone of the committed HEAD, against a mock Messages API, so it needs no sign-in. It fails unless the chunk finishes on the setup's instructions, no request holds anything from the container's `~/.claude`, and that folder and `~/.claude.json` hold what they held before. Run it under `run-heavy` too. It needs the network: the image fetches Claude Code, and `build-release` installs the plugins.
|
||||
|
||||
To mutation-test the lines a branch changes, run `run-heavy mutate-changes --prefix 'uvx --python "$(command -v python3)" --with pytest==9.2.0 --from "mutmut>=3,<4"'` in its checkout.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user