Elffuss BraidHub

utopia-ia/elffuss-braid public

Docs: what bisecting tests, and what a false reverts field can do

The README said bisecting tests each changeset, which reads as every
changeset of the range: it tests the ones it picks. The design said that
verify tests the changeset a reverts field names, but it tests the one
that carries the field, and that a false field can only cost one more
test: one that names the real culprit also makes verify end with
no_culprit instead of reverting it. It still never blames a changeset
that passes, or one whose parent fails.
Changeset9cb42fe9e89846aaf845f7453d8f05451ed95b01f1b91e7e2bbb7ff79ee8f3ae
AuthorKikoCis <KikoCis@users.noreply.github.com> · 2026-10-21 19:50 +02:00
CommitterKikoCis <KikoCis@users.noreply.github.com> · 2026-10-21 19:50 +02:00
Parentsa64c9230d324

Browse the files at this changeset

2 files changed

modified README.md +5 −5
@@ -364,11 +364,11 @@
364364 again (`--reruns`, once by default) before it counts. One that then
365365 passes is `flaky`: green, but the green ref stays where it was unless
366366 `--flaky-moves-green`.
367-- **Bisecting** tests each changeset as it is, along first parents. When
368- the first that fails was reverted later in the range, verify tests the
369- revert and, if it passes, bisects again after it. A changeset whose
370- files cannot be written on this system is skipped, and listed in
371- `skipped`.
367+- **Bisecting** tests the changesets it picks as they are, along first
368+ parents. When the first that fails was reverted later in the range,
369+ verify tests the revert and, if it passes, bisects again after it. A
370+ changeset whose files cannot be written on this system is skipped, and
371+ listed in `skipped`.
372372 - **Limits on reverts.** Verify never reverts a merge, nor a revert it
373373 made, which it tells by the revert's `reverts` field and its agent,
374374 `braid-verify`; braid warns anyone else who acts as `braid-verify`. It
modified docs/design.md +3 −2
@@ -188,8 +188,9 @@
188188 walk. Anyone can write that field and that label: the label is only
189189 ever a reason to refuse. The field also tells bisecting where a culprit
190190 was reverted later in the range, but verify only acts on that by testing
191-the changeset it names, and bisects on after it only if the tests pass
192-there: a false field can make verify run one more test, never blame a
191+the changeset that carries it, and bisects on after it only if the tests
192+pass there: a false field can make verify run one more test, or end with
193+`no_culprit` instead of reverting the culprit, but it never blames a
193194 changeset that passes, or one whose parent fails. A local record in
194195 `.braid/verify/` is a second source for both limits. Its green ref,
195196 `braid/green/<branch>`, lives in braid's own namespace: it is local to the