Commit Graph

8 Commits

Author SHA1 Message Date
7d87423982 fix: boot_matrix review: every shared report field is checked for its form; builds per head
From an independent read before the next review round:
- report and report --json: the call's outcome must be one the runtime writes, an
  exception code hex or an exit code a number, the access kind read/write/execute,
  else 'other'; a label with free text keeps its name, anything else is '(other)'.
- The base shows as its commit only, PR rows as number, status and skip reason; the
  refs given (N:REF can name a local branch), merge_check verdicts and conflicted
  file names stay in matrix.json.
- run --build builds in runtime/build-boot-matrix-<head>: an export of another set
  over the same tree keeps old file dates, so a shared build folder handed back the
  earlier set's binary.
- merge: a checked-out set branch stops the merge before anything is written;
  Windows device names are refused as set names. A PR merged and then reverted on
  the base stays 'already-merged' (git merges an ancestor as a no-op); documented.
- result.json records the run's options (--env names, timeout, overlay, config).
- Docs and docstring say what the code does (overlay, exit code 1 on a failed build).
2026-11-25 14:00:20 +00:00
55fbc02497 fix: boot_matrix keeps the runtime's whole call label in the shared report
The report cut the last D3D12 call to its first word to drop argument text, but the
runtime writes fixed labels without arguments (d3d12_trace.h), some with spaces:
'Xbox CreatePlacedResourceX (device slot 133)' became 'Xbox'. A label of the shape the
runtime writes (one or two identifier words, optional '(device slot N)', checked
against all 43 labels of three world-start runs) is now shown whole; other text is
still cut to its first word. Tests: real labels kept, argument- and path-like text cut,
the last call of a slot label.
2026-11-25 13:30:47 +00:00
011a62a05e fix: boot_matrix review: a location outside every known module is reported as unmapped
shims::module_offset gives a bare absolute address when the instruction pointer is in
no known module; report and report --json passed it on. A shared location is now
module+RVA (or host:<dll>+RVA, a file name, never a path) or 'unmapped'; result.json
keeps the original. Tests: a crash at a bare address through both report commands,
and the site rule itself. Docstring lines rewrapped to the 120-column limit.
2026-11-25 13:10:28 +00:00
589b52dbb8 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.
2026-11-25 08:26:46 +00:00
db8fa9f113 fix: boot_matrix review: absolute run paths, report only the set's current head, loader error before a handled exception, one ref per PR, safe set names, escaped table cells, exit 2 instead of tracebacks
(cherry picked from commit 810d5bb667ec29ed8e6b3281f0188270bde61172)
(cherry picked from commit 4aa326318b5b24eedd1abd54531916b079cd6ee3)
2026-11-25 08:26:46 +00:00
6b44c4a2d6 feat: boot_matrix run gives each run a fresh overlay and save folder; --cmake-arg for the build
(cherry picked from commit af684001388452f44c47666e606d4927d657a53b)
(cherry picked from commit 6e6efcb4e236ed9a6d85e4f2a072d6b53c172586)
2026-11-25 08:26:46 +00:00
5598371312 feat: boot_matrix says whether a skipped PR conflicts with the base or an earlier PR; an empty set is the base alone
(cherry picked from commit 8acdec1445f6c51e8eef1c22297c6f2c36034149)
(cherry picked from commit 59502aecca5bf43515302f779a6ff67630255083)
2026-11-25 08:26:46 +00:00
2d08a5cc25 feat: tools/boot_matrix.py, how far the retail boot gets for each named set of pull requests
merge: each set is merged onto the base in order with git merge-tree/commit-tree (no checkout,
nothing from a PR runs); PRs merge_check.py finds already on the base, and PRs that conflict with
an earlier one in the set, are skipped and listed. One branch boot-matrix/<set> per set, plus
matrix.json with the translator digest of each head.

run: builds runtime/ in the set's tree (or takes --gta6rt), runs gta6rt --run --trace
--trace-d3d12 with LEONIDA_D3D12=vulkan and a timeout that stops the process tree, summarises the
traces with boot_trace.py and says whether the shader library came from this tree's translator.

report: the newest run of each set as a Markdown table (counts, RVAs and method names only).
(cherry picked from commit a00525cd2f3aadc3a63a1023a5926c315d767416)
(cherry picked from commit 97fa0445b2c053f522396e48f70948a19320230c)
2026-11-25 08:26:46 +00:00