upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/boot.md
diff options
context:
space:
mode:
authorCLHelper <359823989+CLHelper@users.noreply.github.com>2026-11-25 08:20:37 +0000
committerCLHelper <359823989+CLHelper@users.noreply.github.com>2026-11-25 08:26:46 +0000
commit589b52dbb84efdb4abbb55cc17c4de46afd54c0a (patch)
tree56995c8debe089468765418185634b740f72427e /docs/boot.md
parente2a3b8da828c6329f741e81f89a66b36fa1091b3 (diff)
fix: boot_matrix review: run refuses a tree that is not the set's head; reports carry only shareable fields
merge writes the blob id of every file of each set's head to <set>/files.json; run stops (exit 2) before building when the tree lacks one of them or holds other content (CRLF line ends aside; files the head does not have are ignored). A --gta6rt run is recorded as built 'prebuilt (unverified)'. report (Markdown and --json) passes on a fixed list of fields: no access address, no loader message and no D3D12 call arguments; those stay in each run's result.json.
Diffstat (limited to 'docs/boot.md')
-rw-r--r--docs/boot.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/boot.md b/docs/boot.md
index 12f2da2a6..0043b041a 100644
--- a/docs/boot.md
+++ b/docs/boot.md
@@ -230,17 +230,23 @@ python -I tools\boot_matrix.py report $matrix
230 PR in the set (its files are listed, and whether it conflicts with the base itself or only with the PRs before 230 PR in the set (its files are listed, and whether it conflicts with the base itself or only with the PRs before
231 it). Each set becomes the branch `boot-matrix/<set>`; an empty set (`main=`) is the base alone, the row to compare 231 it). Each set becomes the branch `boot-matrix/<set>`; an empty set (`main=`) is the base alone, the row to compare
232 the others with. 232 the others with.
233* `run` builds `runtime/` in the tree (or takes `--gta6rt`), runs `--run --trace --trace-d3d12` with 233* `run` first checks that the tree holds the set's head: `merge` writes the blob id of every file of that head to
234 `LEONIDA_D3D12=vulkan` and stops the process tree at `--timeout` (600 s). Each run gets a fresh overlay and 234 `<matrix>/<set>/files.json`, and a tree that lacks one of them or holds other content stops the run (exit 2) before
235 `LEONIDA_SAVE_DIR`, so what an earlier run wrote cannot change it. The traces stay in `<matrix>/<set>/runN/`; 235 anything is built. CRLF line ends count as the same file; files the head does not have (a build folder) are not
236 `result.json` has the stop, the D3D12 call count and the last call. 236 looked at. It then builds `runtime/` in the tree, or takes `--gta6rt`: such a run is recorded as built
237 `prebuilt (unverified)`, since nothing shows which source the binary came from. It runs `--run --trace
238 --trace-d3d12` with `LEONIDA_D3D12=vulkan` and stops the process tree at `--timeout` (600 s). Each run gets a fresh
239 overlay and `LEONIDA_SAVE_DIR`, so what an earlier run wrote cannot change it. The traces stay in
240 `<matrix>/<set>/runN/`; `result.json` has the stop, the D3D12 call count and the last call.
237* The `Shaders` column compares the library's `translation_sources.sha256` (written by `make_game.py`) with the 241* The `Shaders` column compares the library's `translation_sources.sha256` (written by `make_game.py`) with the
238 same digest over the tree: `stale` means the library came from another translator, a common reason a stop does 242 same digest over the tree: `stale` means the library came from another translator, a common reason a stop does
239 not reproduce. 243 not reproduce.
240* `report` prints the Markdown table, with the newest run of each set's current head. A `last exception` row is the 244* `report` prints the Markdown table (or `--json`), with the newest run of each set's current head. Both pass on
241 last exception the trace recorded before the process ended; exceptions are logged before handlers run, so it is 245 only a fixed list of fields: the stop's kind, exception code, module+RVA and access kind, the counts, and the last
242 where to look first, not proof of the cause. An `error` row quotes the loader's message on one line; read it 246 D3D12 call as number, method and result. The access address, the loader's error message (it can name a path) and
243 before posting, since it can name a path. 247 the call's arguments stay in `result.json` on your machine. A `last exception` row is the last exception the trace
248 recorded before the process ended; exceptions are logged before handlers run, so it is where to look first, not
249 proof of the cause.
244 250
245## 7. Limits 251## 7. Limits
246 252