Finish item 536 in the plan
CI / tests (pull_request) Successful in 6m29s

This commit was merged in pull request #715.
This commit is contained in:
Lilleman
2026-11-24 15:38:23 +01:00
parent a1e6791cdb
commit a38dad4a6c
2 changed files with 1 additions and 22 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- `deploy-release --cut-patch <commits>` cuts the newest tag's next patch release, such as 0.15.2 after v0.15.1, holding only the commits named, for a fix that must ship before main's other unreleased work. It runs `ci.sh` on the patch, tags and pushes it, merges the tag back into main through a pull request, and moves `~/.claude` to it. Plain `--cut` now refuses a patch release, and a release review counts only for a release later than the last cut.
- `task-bench` plants bugs in Rust files too, from the mutants cargo-mutants catches, and tells Haiku the panic message `cargo test` prints.
- `task-bench --tasks shipped-features` benches rebuilding features the project shipped: it takes each one's change out of the code, tells Haiku the tagline of its plan item, and checks the build with the tests that change holds. `--shipped <n>` sets how many it takes, and a feature whose branch landed by fast-forward is passed over.
- `task-bench` plants a Python mutant in a file whose lines end in CRLF, which it could not re-apply before, and a Go mutant there keeps applying.
-22
View File
@@ -13,7 +13,6 @@
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 531 | 0.16.0 | | | **Bench the shipped features of a branch that landed by fast-forward: take as the feature the commits from the one after the item finished before it, up to the commit that took its item out of the plan.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 3 | 1.1 |
| 536 | 0.16.0 | | owner | **Cut a patch release with `deploy-release --cut-patch <commits>`: the newest tag plus only the commits named, tested with `ci.sh`, tagged, merged back into main and deployed.** | 3 | 2 | 2 | 5 | 5 | 1.5 by 3 | 0.6 |
| 524 | 0.16.0 | | owner | **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.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3 | 0.5 |
| 532 | 0.16.0 | | | **Leave out of a `task-bench` fix a change Haiku makes to a Rust test that stands in the file of the code it tests.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 1 | 0.4 |
| 527 | 0.16.0 | | owner | **Plant bugs for `task-bench` in TypeScript, from the mutants Stryker kills.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 1 | 0.3 |
@@ -124,27 +123,6 @@ Touches:
- `bin/task_bench/main.py`: `(module)` (small)
- `README.md`: `## Tools` (small)
### 536. Cut a patch release with `deploy-release --cut-patch <commits>`: the newest tag plus only the commits named, tested with `ci.sh`, tagged, merged back into main and deployed.
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; `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:** 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/patch.py`
- `bin/deploy_release/release_pull.py`: `create_pull` (small)
- `bin/deploy_release/test_deploy_release.py`: `Cut`
### 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.
The second part of item 504, which says what a bench feature is and when a run counts. A stronger model than the project's writes the six, once. Each breaks one of fejkdata's goals while it would suit another audience: