Answer security round 1: 1 🔴, 0 🟡 (0 misread); pass over a data source whose script writes a .git, and test the script's failures
CI / tests (pull_request) Successful in 3m45s

This commit is contained in:
2026-11-23 19:18:26 +01:00
parent 82a03e9a1b
commit 2ffa4908c9
3 changed files with 53 additions and 4 deletions
+2 -2
View File
@@ -53,8 +53,8 @@ doesn't run, so --seed, --bugs and --prefix don't go with it.
`bench-tasks` that holds a feature's three parts and `generate-register`, an executable file; --tasks features leaves such a
folder out. Before Haiku starts, the bench runs the script at the top of a copy of each side's tree, in the image with no
network, and the files it adds are the register: a made-up dataset in the format a real publisher would use. The script is
seeded, so it writes the same bytes at both sides; the bench passes over a task whose script fails, adds no file, or writes one
register at the base and another at the head. `spec.md` tells Haiku where the register is and what to add: say, the importer,
seeded, so it writes the same bytes at both sides; the bench passes over a task whose script fails, adds no file, writes a
`.git`, or writes one register at the base and another at the head. `spec.md` tells Haiku where the register is and what to add: say, the importer,
the data it imports and the licence entry. The reference patch adds them, and the acceptance tests check them, as by running
the importer again and comparing what it writes with the committed data. A task counts, and a run passes, as for a feature; the
tree that is checked holds the register as Haiku left it. Make up a publisher no real data could come from: a country code