reprend #1050: runtime: replay the console list's inline records as their vtable calls (BL-3) #2716

Merged
OreoFR merged 3 commits from upstream-pr/2716 into main 2026-11-30 17:15:03 +00:00
OreoFR commented 2026-11-30 13:23:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by OreoFR on 2026-11-30T13:23:56Z.


Carries #1050 by @baldyb4242, because it conflicts with main after #2566 and the reminder to merge main (https://github.com/ProjectLeonida/mandy/pull/1050#issuecomment-7253184791) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped.

Item: BL-3-CARRY (claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; original item BL-3).

What this branch is

  • The author's branch at 675c3fb1b, unchanged (no rebase, author commits kept).
  • A merge of main (from the carry preparation of 29/11) that resolves the conflict, then a merge of current main f9f3ec4c6 (no new conflict). Both merge commits carry Co-authored-by the author.
  • Nothing else: the change itself is the original PR's; see #1050 for what and why, and the verifications posted there.

What conflicted and how it was resolved

  • runtime/CMakeLists.txt: both test blocks kept: console_list_records from the PR and gpu_label_memory from main.

Tests

  • On this branch (main f9f3ec4c6 merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run).
  • Earlier merge (older main), Windows 11, Ninja RelWithDebInfo, MSVC: build OK; ctest (outside the lot exclusions) 502 tests vs 501 on main, console_list_records passes; the other failures were the same as on main or passed when rerun alone; gta6rt links with the same imports as main.
  • python -I scripts/check_no_game_data.py on every file this PR changes: clean.
  • CI on this PR covers the rest (C++ build and ctest, the full translator suite).

Depends on: none.

Needs an independent verifier before merge (red/green on another machine), as for any carry.

AI-assisted (Claude Code, oreofr-agent).

🤖 Generated with Claude Code

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5566139238 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2716). Originally posted by [OreoFR](https://github.com/OreoFR) on 2026-11-30T13:23:56Z. --- Carries #1050 by @baldyb4242, because it conflicts with `main` after #2566 and the reminder to merge `main` (https://github.com/ProjectLeonida/mandy/pull/1050#issuecomment-7253184791) got no answer within the delay of the carry rule. If the author comes back, this carry is dropped. Item: `BL-3-CARRY` (claimed in https://github.com/ProjectLeonida/mandy/issues/2570#issuecomment-7279744463; original item `BL-3`). ### What this branch is - The author's branch at `675c3fb1b`, unchanged (no rebase, author commits kept). - A merge of `main` (from the carry preparation of 29/11) that resolves the conflict, then a merge of current `main` `f9f3ec4c6` (no new conflict). Both merge commits carry `Co-authored-by` the author. - Nothing else: the change itself is the original PR's; see #1050 for what and why, and the verifications posted there. ### What conflicted and how it was resolved - `runtime/CMakeLists.txt`: both test blocks kept: `console_list_records` from the PR and `gpu_label_memory` from `main`. ### Tests - On this branch (`main` `f9f3ec4c6` merged), Windows 11, Python 3.12, no GPU used: C++ only: left to this PR's CI (no local C++ build in this run). - Earlier merge (older `main`), Windows 11, Ninja RelWithDebInfo, MSVC: build OK; `ctest` (outside the lot exclusions) 502 tests vs 501 on `main`, `console_list_records` passes; the other failures were the same as on `main` or passed when rerun alone; `gta6rt` links with the same imports as `main`. - `python -I scripts/check_no_game_data.py` on every file this PR changes: clean. - CI on this PR covers the rest (C++ build and `ctest`, the full translator suite). Depends on: none. **Needs an independent verifier before merge** (red/green on another machine), as for any carry. AI-assisted (Claude Code, oreofr-agent). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Kal0s-design commented 2026-11-30 14:18:11 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-11-30T14:18:11Z.


Independent Windows check of f21697593 on current main b17b22d33 (no conflict, tree 0672edfe4). Native Windows 11, MSVC 19.50 x64, built alone as its CMake target builds it (/Isrc), under AddressSanitizer with the debug CRT and checked iterators (/W4 /permissive- /utf-8 /Od /MDd /fsanitize=address).

  • Green: test/console_list_records_test.cpp: 1200 sequences, 13190 commands written inline and replayed, RESULT: PASS, no ASan report.
  • No red run is possible: console_list_records.h is new in this PR, so the test doesn't build against main.
  • At /W4 the test itself gives 4 C4456 (d at lines 58/107 and k at 62/111 shadow outer locals). Harmless, and the CMake target doesn't set /W4, so CI won't show them.

I didn't read the conflict resolution line by line.

GPUs tested: n/a (CPU unit test). AI-assisted: yes.

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7281159093 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2716#issuecomment-7281159093). Originally posted by [Kal0s-design](https://github.com/Kal0s-design) on 2026-11-30T14:18:11Z. --- **Independent Windows check** of `f21697593` on current `main` `b17b22d33` (no conflict, tree `0672edfe4`). Native Windows 11, MSVC 19.50 x64, built alone as its CMake target builds it (`/Isrc`), under AddressSanitizer with the debug CRT and checked iterators (`/W4 /permissive- /utf-8 /Od /MDd /fsanitize=address`). - Green: `test/console_list_records_test.cpp`: `1200 sequences, 13190 commands written inline and replayed`, `RESULT: PASS`, no ASan report. - No red run is possible: `console_list_records.h` is new in this PR, so the test doesn't build against `main`. - At `/W4` the test itself gives 4 C4456 (`d` at lines 58/107 and `k` at 62/111 shadow outer locals). Harmless, and the CMake target doesn't set `/W4`, so CI won't show them. I didn't read the conflict resolution line by line. GPUs tested: n/a (CPU unit test). AI-assisted: yes.
KelboLive commented 2026-11-30 15:32:36 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by KelboLive on 2026-11-30T15:32:36Z.


Independent check on Windows (not the author), at f21697593.

  • Configured the branch's runtime and built console_list_records_test (MSVC 14.52.37025, Windows SDK 10.0.26100).
  • Ran it: PASS — 1200 sequences, 13190 commands written inline and replayed — exit 0.

Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711.

Based on f9f3ec4c6; a rebase on current main before merge would keep history linear.

AI-assisted: yes (opencode).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7283167698 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2716#issuecomment-7283167698). Originally posted by [KelboLive](https://github.com/KelboLive) on 2026-11-30T15:32:36Z. --- Independent check on Windows (not the author), at `f21697593`. - Configured the branch's `runtime` and built `console_list_records_test` (MSVC 14.52.37025, Windows SDK 10.0.26100). - Ran it: **PASS** — `1200 sequences, 13190 commands written inline and replayed` — exit 0. Environment: Ryzen 9 7950X3D, Windows 11 Pro 10.0.26200.9711. Based on `f9f3ec4c6`; a rebase on current `main` before merge would keep history linear. AI-assisted: yes (opencode).
MoonEyes commented 2026-11-30 15:43:56 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T15:43:56Z.


Verified by MoonEyes (another owner than OreoFR) on head f21697593 merged with main be7690805: Windows 11, MSVC 2022 x64, RelWithDebInfo, ctest -R ^console_list_records$: 1/1 passed. No red: the test includes console_list_records.h, which this pull request adds, so it does not build without it. CPU unit test, no run of the title.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7283486245 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2716#issuecomment-7283486245). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T15:43:56Z. --- Verified by MoonEyes (another owner than OreoFR) on head `f21697593` merged with `main` `be7690805`: Windows 11, MSVC 2022 x64, RelWithDebInfo, `ctest -R ^console_list_records$`: 1/1 passed. No red: the test includes `console_list_records.h`, which this pull request adds, so it does not build without it. CPU unit test, no run of the title. AI-assisted (Claude Code).
MoonEyes commented 2026-11-30 17:15:00 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-11-30T17:15:00Z.


Merging. Head f21697593 merges cleanly with main 1d4949d58 and does not force a rebase of #2566. Unit test green on Windows 11 by two other people; no red possible (the test needs the new header). Merged by MoonEyes.

AI-assisted (Claude Code).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7285959916 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/2716#issuecomment-7285959916). Originally posted by [MoonEyes](https://github.com/MoonEyes) on 2026-11-30T17:15:00Z. --- Merging. Head `f21697593` merges cleanly with `main` `1d4949d58` and does not force a rebase of #2566. Unit test green on Windows 11 by two other people; no red possible (the test needs the new header). Merged by MoonEyes. AI-assisted (Claude Code).
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
ProjectLeonida/mandy!2716
No description provided.