Answer stability round 1: 0 🔴, 5 🟡 (0 misread); share the scratch worktree, check a reused tag and main's merge-back, refuse GitHub, split the looped test

This commit is contained in:
Lilleman
2026-11-24 15:12:17 +01:00
parent ec497aa989
commit db32e4ef59
9 changed files with 249 additions and 124 deletions
+5 -5
View File
@@ -128,22 +128,22 @@ Touches:
Today a fix that must ship before `main`'s other unreleased work is cut by hand, as 0.15.1 was: branch off the newest tag, apply only the fix's code, write the changelog section, commit `Cut release <version>`, tag and push, then merge the tag back into `main` with `-s ours` through a pull request, so the tag is an ancestor of `main`, and run a bare `deploy-release`. `deploy-release --cut` can't, since it cuts all of `main`.
`deploy-release --cut-patch <commits> [<checkout>]`, run in the development clone, does those steps. A reader panel picked the spelling over `--cut --patch` and `--hotfix`: one flag that names the action and can't be read as a plain `--cut`.
`deploy-release --cut-patch <commits> [<checkout>]`, run in the development clone, does those steps; `docs/decisions.md` → "deploy: `deploy-release --cut` cuts a release …" says why it is spelled so.
- **Version:** the newest tag's next patch, such as 0.15.2 after v0.15.1. The plan must name that release, and it must hold no item, as `--cut` checks. A patch skips the release review: it holds only fixes, and the review is of the whole project.
- **Commits:** one revision as `git log` reads it, such as `794ce37..1aa2367`, which follows git's `..` and leaves out the first commit, or one commit. Each must be on `origin/main` and not on the tag. Merge commits are skipped.
- **Patch:** in a worktree of its own, at the tag, it applies each commit's changes except to `todo.md`, `CHANGELOG.md` and the records every chunk writes. The changelog section is the bullets the commits add under `## Unreleased`. It commits `Cut release <version>`, runs `ci.sh` on it, and stops where that fails. Then it tags and pushes the tag.
- **Merge-back:** a branch `release-<version>` off `origin/main` merges the tag with `-s ours` and moves those bullets under `## <version>`, and goes through a pull request as `--cut`'s branch does.
- **Rerun:** a step an earlier run finished is skipped: a tag on origin, a tag `main` holds.
- **Rerun:** it takes a tag origin holds, once the tag lists the same changelog entries, and the merge-back's open pull request.
- **Plain `--cut`** refuses a patch release and names `--cut-patch`, since it would ship all of `main` under a patch number.
Touches:
- `README.md`: `## Release`, `## Tools` (small)
- `bin/deploy_release/cut.py`: `cut`, `land`, `push_cut_commit`, `ready_release`
- `bin/deploy_release/main.py`: `main`
- `bin/deploy_release/cut.py`: `cut`, `ready_release`, `land`, `push_cut_commit`
- `bin/deploy_release/patch.py`
- `bin/deploy_release/release_pull.py`: `create_pull` (small)
- `bin/deploy_release/test_deploy_release.py`: `Cut`
- `README.md`: `## Release`, `## Tools` (small)
### 524. Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names.
@@ -322,7 +322,7 @@ Name the entry and the Dockerfile line. Source the secret-name list from a widel
Found while shipping item 461: `mutate-changes` printed `23 mutants on changed lines, 18 not killed. Left out the tests that fail without a mutant, in do_epic/test_main.py, larv_review/test_larv_review.py, larv_review/test_scoring_setup.py, plan/test_ranking.py, repo_checks/…, review_rules/test_review_passes.py, review_rules/test_reviewer_context.py, rule_hook/test_rule_hook.py, test_settings_filter.py`. All 18 survivors were in `bin/larv_review/scoring_setup.py`: `prepare_scoring`, whose tests are among those left out, so the chunk checked four of them by hand and left 14 unchecked. Find why each left-out test fails in mutmut's copy, such as a path to `skills/` or a git checkout it expects, and make it pass there, or report under the count which changed lines no remaining test covers.
Item 536 met it too: `deploy_release/test_deploy_release.py`, which runs `deploy-release` as a subprocess, fails there, so none of 597 mutants of `bin/deploy_release/` was checked.
Item 536 met the same gap: `deploy_release/test_deploy_release.py` runs `deploy-release` as a subprocess, and those tests fail in mutmut's copy, so only its in-process tests ran, and 530 of 590 mutants of `bin/deploy_release/` went unchecked.
Touches `bin/mutate_changes/`, and the tests named above.