From 547a9505fd35339b4b8bce89ccea4b1682111d51 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 9 Nov 2026 02:41:29 +0100 Subject: [PATCH] Run the suite in a pinned container with ci.sh --- .gitignore | 4 ++++ ci.sh | 12 ++++++++++++ docs/reading-cost.md | 17 +++++++++++++++++ 3 files changed, 33 insertions(+) create mode 100755 ci.sh diff --git a/.gitignore b/.gitignore index a368caed..71d16de6 100644 --- a/.gitignore +++ b/.gitignore @@ -10,11 +10,15 @@ !CHANGELOG.md !CLAUDE.md !README.md +!ci.sh !settings.json !todo.md !.claude/ !.claude/settings.json +!.gitea/ +!.gitea/workflows/ +!.gitea/workflows/*.yml !agents/ !agents/*.md !bin/ diff --git a/ci.sh b/ci.sh new file mode 100755 index 00000000..3a291f75 --- /dev/null +++ b/ci.sh @@ -0,0 +1,12 @@ +#!/bin/sh +# Runs the test suite on the committed HEAD as CI does: in a pinned Python container, as the caller's uid, so the tests root skips run too. +# The repo goes in as a git bundle rather than a bind mount, so the script works whether the CI runner shares the docker daemon's filesystem or not. +set -eu +cd "$(dirname "$0")" +git bundle create - HEAD | docker run --rm -i --memory 4g --memory-swap 4g --user "$(id -u):$(id -g)" -e HOME=/tmp python:3.14.8 sh -euc ' + cat >/tmp/head.bundle + git clone --quiet /tmp/head.bundle /tmp/repo + cd /tmp/repo + python3 -m pip install --quiet --user uv==0.12.23 + PATH="$HOME/.local/bin:$PATH" uvx --python "$(command -v python3)" --with pytest-xdist==3.8.0 pytest==9.2.0 -n 4 bin +' diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 30b65b2c..89b336ab 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -1407,3 +1407,20 @@ Read most (opens and searches): - `AGENTS.md` 1 - `CHANGELOG.md` 1 - `bin/chunk_pr/test_chunk_pr.py` 1 + +## Reading cost, chunk e310fe001a4d, finished 2026-11-09T01:39:01Z + +86875 new input tokens before the first commit. + +Read most (opens and searches): + +- `bin/larv_review/main.py` 6 +- `bin/larv_review/test_larv_review.py` 6 +- `skills/larv-review/SKILL.md` 4 +- `README.md` 3 +- `bin/deploy_release/forge.py` 3 +- `bin/chunk_pr/main.py` 2 +- `bin/git_cli/git_repo.py` 2 +- `bin/larv_review/history_commands.py` 2 +- `bin/larv_review/reviewer_header.py` 2 +- `bin/review_replay/rounds.py` 2