fix(game): an organized game folder with no diagnostics/ gets it back, so its log is in diagnostics/logs/ #2750

Merged
HumanBean merged 6 commits from Jiro113/Longshot:fix/diagnostics-dir into main 2026-11-28 18:59:52 +00:00
Contributor

Summary

Since the builder organizes the game folder (#2708), the game's
logs go in diagnostics/logs/. hos_game_layout (game/game_layout.c) makes that folder with one CreateDirectoryA,
which fails without a word when diagnostics/ itself is missing. A folder the builder makes is not affected: it
creates diagnostics/ on every build (builder/crates/build-driver/src/build.rs). But an organized folder
(data/image.bin) without it is: a runtime dev.py rt makes (it copies no diagnostics/), a folder copied by hand,
or one whose diagnostics/ the player deleted. In such a folder:

  • the game's longshot_log.txt falls back beside longshot.exe (host/hos_main.c checks that diagnostics/logs
    exists before using it);
  • the crash record keeps nothing: its diagnostics/bug-reports/ is made one level at a time (setup in
    host/hos_crash_record.c), so no running/ marker and no crash or unclean-end record.

On main: python -I scripts/dev.py rt --empty, start build-windows/rt-base/longshot.exe from its icon (no stderr),
quit. The log is rt-base/longshot_log.txt and the folder has no diagnostics/.

This PR makes hos_game_layout create diagnostics/ first in an organized folder, then diagnostics/logs/ as
before. Nothing changes for a folder the builder did not organize. Read hos_game_layout in game/game_layout.c,
then the new case at the end of tests/test_game_layout.py.

The docs named only logs/ for the game's logs since #2708: docs/dev/reference/architecture.md (the game folder)
and docs/dev/reference/profiles.md (where the logs are) now say an organized folder has them in diagnostics/logs/,
beside diagnostics/bug-reports/; the update's log stays in logs/ (builder/crates/longshot-builder/src/play.rs). Other
pages still say logs/ where an organized folder uses diagnostics/logs/ (docs/dev/developing.md,
docs/dev/reference/profiling.md, docs/dev/reference/build.md, docs/user/performance-report.md); they are not
changed here.

This is separate from #2741 (which makes a game started by
longshot-builder play write its own log at all), and touches none of its files.

Prior work: none found (diagnostics/, diagnostics/logs, hos_game_layout, hos_organized_build, CreateDirectoryA,
game_layout, bug-reports; open, merged and closed PRs and issues, and the team room). Hookshot's API answered HTTP
521 on 2026-11-28.

Testing

Tested: Windows 11 (26300), RTX 4090, driver 621.24. Both runs were on main 22d0d2009's base: once alone
(dev.py rt --empty), once with this branch as a pack (dev.py pack, dev.py rt; the log's first line is
longshot v3.2.0-111-gfedfcac31). Each runtime is an organized folder with no diagnostics/.
The game was started with no standard handles, as from its icon, with a throwaway profile and HOS_AUDIO=0, full
screen on a second monitor, then quit through the control bridge:

  • main: longshot_log.txt written beside longshot.exe, no diagnostics/ at all, so no bug-reports/running/
    marker during the run;
  • this PR: diagnostics/, diagnostics/logs/longshot_log.txt and diagnostics/bug-reports/{pending,running}/
    made at the start, the run's running/ marker there while it played and gone after the clean exit (code 0,
    stop: close work done), nothing beside longshot.exe.

Checks:

  • tests/test_game_layout.py: its new case starts an organized folder with no diagnostics/, the game beside the
    folder and in its bin/. It fails on main (no diagnostics/logs/ made: [..., 'longshot_log.txt']), on Windows and
    on Linux (WSL, gcc), and passed before the later test changes on Windows (llvm-mingw gcc and clang, and through run_all.py) and Linux. The updated test, which uses UTF-8 paths and the game manifest on Windows, has not been reported as run.
    • The old cases now also check that a folder the builder did not organize gets no diagnostics/. That catches
      making diagnostics/ unconditionally, a mutation of the fix the first version let through.
    • The check now runs on Windows too, against Win32 itself instead of host/posix's shim. CI has no Windows runner,
      so this changes only local Windows runs.
  • tests/run_all.py on Windows, whole: 813 passed, 22 failed, 53 skipped. Main 22d0d2009 (a git archive of it,
    same environment) had 809 passed, 25 failed, 54 skipped. Every failure here also fails on main: test_auto_handheld,
    test_bug_report, test_builder_channel, test_control_picture, test_coverage_run, test_crash_record,
    test_dev_ab, test_dev_build, test_dev_migrate, test_framegen_resources, test_game_menu_mouse_buttons,
    test_input_movie, test_job_queue, test_oot_menu_mouse, test_pads_after_menu, test_parity_gates,
    test_perf_send, test_present_source_crop, test_run_all_mingw, test_screensaver, test_switch_table,
    test_xinput_thread.
    • The other checks that read game/game_layout.c (test_crash_record, test_bug_report, test_longshot_exit,
      test_display_startup_failure) give the same results as on main. test_bug_report and test_crash_record fail
      with the same messages there (the latter on host/posix/display_sdl.c's source check).
    • On the earlier head aeab88195, run_all.py --changed origin/main: byte_compile_tracked and test_game_layout pass,
      test_bug_report fails as on main, and test_pipeline_tour is skipped (Linux only). Run on Linux (WSL,
      --exact), it fails here and on main with the same message (the pipeline notes and lists are no longer in the game folder's cache/).
  • The docs commits (d8188d044 and aeab88195, docs only): run_all.py --changed on Windows, the six checks that read
    the two pages, passed (test_doc_anchors, test_frame_overlap, test_framegen_fifo_cap, test_present_probe,
    test_present_queue_default, byte_compile_tracked).
  • pre-commit run --from-ref <merge base> --to-ref HEAD, on the head aeab88195: passed, except gitleaks, which is not
    installed on this PC.

Still to test:

  • Linux: a runtime with no diagnostics/, the game started from its icon (no stderr), expecting
    diagnostics/logs/longshot_log.txt and diagnostics/bug-reports/ made at the start (@Beanstalk start a dev.py rt runtime with no diagnostics/ folder on Linux without a terminal and check diagnostics/logs/longshot_log.txt).

Measurements

Before: main @ 22d0d2009. After: this PR @ fedfcac31 (the later commits change the docs and test). An organized runtime with no diagnostics/, started with no
stderr, Windows 11, RTX 4090, driver 621.24:

Before: main @ 22d0d2009 After: this PR @ fedfcac31
tests/test_game_layout.py (Windows, Linux) FAIL: no diagnostics/logs/ made PASS
Where the game's log is longshot_log.txt beside longshot.exe diagnostics/logs/longshot_log.txt
diagnostics/bug-reports/running/ during the run missing (no diagnostics/) <pid>.record, <pid>.running, gone after the clean exit

Verdict: fixed. In such a folder the log is back in diagnostics/logs/ and the crash record keeps its running/
marker again; the earlier test fails before and passes after, on Windows and Linux. The updated test has not been reported as run.

There is no performance to measure: the change adds one CreateDirectoryA at the start, once a process, in a folder
the builder organized.

Risks

  • What could break: the start in an organized folder. A folder that already has diagnostics/ is unchanged (the
    call fails with "already exists"). A folder the builder did not organize is untouched.
  • Turning it off: a revert is enough.
  • What players notice after updating: nothing, in a folder the builder made. In one that lacked diagnostics/, the
    log moves into diagnostics/logs/ and crash records are kept again. A longshot_log.txt left beside longshot.exe
    by such a start is moved there at the next start, like the other loose logs.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named). tests/run_all.py ran on
    Windows before the later test changes, compared with main in the same environment (Testing). On Linux only tests/test_game_layout.py ran.
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here. The updated test has not been reported as run.
  • A check under tests/ that reads changed source is updated, not weakened.
  • Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths.
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.

🤖 Generated with Claude Code

## Summary Since the builder organizes the game folder (https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2708), the game's logs go in `diagnostics/logs/`. `hos_game_layout` (`game/game_layout.c`) makes that folder with one `CreateDirectoryA`, which fails without a word when `diagnostics/` itself is missing. A folder the builder makes is not affected: it creates `diagnostics/` on every build (`builder/crates/build-driver/src/build.rs`). But an organized folder (`data/image.bin`) without it is: a runtime `dev.py rt` makes (it copies no `diagnostics/`), a folder copied by hand, or one whose `diagnostics/` the player deleted. In such a folder: - the game's `longshot_log.txt` falls back beside `longshot.exe` (`host/hos_main.c` checks that `diagnostics/logs` exists before using it); - the crash record keeps nothing: its `diagnostics/bug-reports/` is made one level at a time (`setup` in `host/hos_crash_record.c`), so no `running/` marker and no crash or unclean-end record. On main: `python -I scripts/dev.py rt --empty`, start `build-windows/rt-base/longshot.exe` from its icon (no stderr), quit. The log is `rt-base/longshot_log.txt` and the folder has no `diagnostics/`. This PR makes `hos_game_layout` create `diagnostics/` first in an organized folder, then `diagnostics/logs/` as before. Nothing changes for a folder the builder did not organize. Read `hos_game_layout` in `game/game_layout.c`, then the new case at the end of `tests/test_game_layout.py`. The docs named only `logs/` for the game's logs since #2708: `docs/dev/reference/architecture.md` (the game folder) and `docs/dev/reference/profiles.md` (where the logs are) now say an organized folder has them in `diagnostics/logs/`, beside `diagnostics/bug-reports/`; the update's log stays in `logs/` (`builder/crates/longshot-builder/src/play.rs`). Other pages still say `logs/` where an organized folder uses `diagnostics/logs/` (`docs/dev/developing.md`, `docs/dev/reference/profiling.md`, `docs/dev/reference/build.md`, `docs/user/performance-report.md`); they are not changed here. This is separate from https://git.magicbean.dev/MagicBeanDev/Longshot/pulls/2741 (which makes a game started by `longshot-builder play` write its own log at all), and touches none of its files. Prior work: none found (`diagnostics/`, `diagnostics/logs`, `hos_game_layout`, `hos_organized_build`, `CreateDirectoryA`, `game_layout`, `bug-reports`; open, merged and closed PRs and issues, and the team room). Hookshot's API answered HTTP 521 on 2026-11-28. ## Testing **Tested:** Windows 11 (26300), RTX 4090, driver 621.24. Both runs were on main 22d0d2009's base: once alone (`dev.py rt --empty`), once with this branch as a pack (`dev.py pack`, `dev.py rt`; the log's first line is `longshot v3.2.0-111-gfedfcac31`). Each runtime is an organized folder with no `diagnostics/`. The game was started with no standard handles, as from its icon, with a throwaway profile and `HOS_AUDIO=0`, full screen on a second monitor, then quit through the control bridge: - main: `longshot_log.txt` written beside `longshot.exe`, no `diagnostics/` at all, so no `bug-reports/running/` marker during the run; - this PR: `diagnostics/`, `diagnostics/logs/longshot_log.txt` and `diagnostics/bug-reports/{pending,running}/` made at the start, the run's `running/` marker there while it played and gone after the clean exit (code 0, `stop: close work done`), nothing beside `longshot.exe`. Checks: - `tests/test_game_layout.py`: its new case starts an organized folder with no `diagnostics/`, the game beside the folder and in its `bin/`. It fails on main (`no diagnostics/logs/ made: [..., 'longshot_log.txt']`), on Windows and on Linux (WSL, gcc), and passed before the later test changes on Windows (llvm-mingw gcc and clang, and through `run_all.py`) and Linux. The updated test, which uses UTF-8 paths and the game manifest on Windows, has not been reported as run. - The old cases now also check that a folder the builder did not organize gets no `diagnostics/`. That catches making `diagnostics/` unconditionally, a mutation of the fix the first version let through. - The check now runs on Windows too, against Win32 itself instead of `host/posix`'s shim. CI has no Windows runner, so this changes only local Windows runs. - `tests/run_all.py` on Windows, whole: 813 passed, 22 failed, 53 skipped. Main 22d0d2009 (a `git archive` of it, same environment) had 809 passed, 25 failed, 54 skipped. Every failure here also fails on main: `test_auto_handheld`, `test_bug_report`, `test_builder_channel`, `test_control_picture`, `test_coverage_run`, `test_crash_record`, `test_dev_ab`, `test_dev_build`, `test_dev_migrate`, `test_framegen_resources`, `test_game_menu_mouse_buttons`, `test_input_movie`, `test_job_queue`, `test_oot_menu_mouse`, `test_pads_after_menu`, `test_parity_gates`, `test_perf_send`, `test_present_source_crop`, `test_run_all_mingw`, `test_screensaver`, `test_switch_table`, `test_xinput_thread`. - The other checks that read `game/game_layout.c` (`test_crash_record`, `test_bug_report`, `test_longshot_exit`, `test_display_startup_failure`) give the same results as on main. `test_bug_report` and `test_crash_record` fail with the same messages there (the latter on `host/posix/display_sdl.c`'s source check). - On the earlier head aeab88195, `run_all.py --changed origin/main`: `byte_compile_tracked` and `test_game_layout` pass, `test_bug_report` fails as on main, and `test_pipeline_tour` is skipped (Linux only). Run on Linux (WSL, `--exact`), it fails here and on main with the same message (`the pipeline notes and lists are no longer in the game folder's cache/`). - The docs commits (d8188d044 and aeab88195, docs only): `run_all.py --changed` on Windows, the six checks that read the two pages, passed (`test_doc_anchors`, `test_frame_overlap`, `test_framegen_fifo_cap`, `test_present_probe`, `test_present_queue_default`, `byte_compile_tracked`). - `pre-commit run --from-ref <merge base> --to-ref HEAD`, on the head aeab88195: passed, except gitleaks, which is not installed on this PC. **Still to test:** - Linux: a runtime with no `diagnostics/`, the game started from its icon (no stderr), expecting `diagnostics/logs/longshot_log.txt` and `diagnostics/bug-reports/` made at the start (`@Beanstalk start a dev.py rt runtime with no diagnostics/ folder on Linux without a terminal and check diagnostics/logs/longshot_log.txt`). ## Measurements Before: main @ 22d0d2009. After: this PR @ fedfcac31 (the later commits change the docs and test). An organized runtime with no `diagnostics/`, started with no stderr, Windows 11, RTX 4090, driver 621.24: | | Before: main @ 22d0d2009 | After: this PR @ fedfcac31 | |---|---|---| | `tests/test_game_layout.py` (Windows, Linux) | FAIL: `no diagnostics/logs/ made` | PASS | | Where the game's log is | `longshot_log.txt` beside `longshot.exe` | `diagnostics/logs/longshot_log.txt` | | `diagnostics/bug-reports/running/` during the run | missing (no `diagnostics/`) | `<pid>.record`, `<pid>.running`, gone after the clean exit | Verdict: fixed. In such a folder the log is back in `diagnostics/logs/` and the crash record keeps its `running/` marker again; the earlier test fails before and passes after, on Windows and Linux. The updated test has not been reported as run. There is no performance to measure: the change adds one `CreateDirectoryA` at the start, once a process, in a folder the builder organized. ## Risks - What could break: the start in an organized folder. A folder that already has `diagnostics/` is unchanged (the call fails with "already exists"). A folder the builder did not organize is untouched. - Turning it off: a revert is enough. - What players notice after updating: nothing, in a folder the builder made. In one that lacked `diagnostics/`, the log moves into `diagnostics/logs/` and crash records are kept again. A `longshot_log.txt` left beside `longshot.exe` by such a start is moved there at the next start, like the other loose logs. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [ ] `mise run test` passes (any failure that also fails on `main` is named). `tests/run_all.py` ran on Windows before the later test changes, compared with main in the same environment (Testing). On Linux only `tests/test_game_layout.py` ran. - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [ ] A fix: a game-free test that fails on `main` and passes here. The updated test has not been reported as run. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [ ] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. - [x] Docs updated. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
A folder the builder organized (data/image.bin) whose diagnostics/ is missing (a runtime copied without it, or one
the player deleted) is started once, the game beside the folder and in its bin/: diagnostics/logs/ must be made and
the loose longshot_log.txt moved there. Fails on main: hos_game_layout makes diagnostics/logs/ without its parent, so
nothing is made and the log stays beside the game.

The check now also runs on Windows, against Win32 itself instead of host/posix's shim.

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
fix(game): an organized game folder with no diagnostics/ gets it back, so its log is in diagnostics/logs/
Some checks failed
PR description / Title and description (pull_request_target) Successful in 5s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
fedfcac31c
Since the builder organized the game folder (#2708), hos_game_layout makes <game>/diagnostics/logs/ with one
CreateDirectoryA, which fails without a word when diagnostics/ is missing: a runtime copied without it, or one the
player deleted. The game's log then fell back beside longshot.exe, and the crash record, whose bug-reports/ is in
diagnostics/ too (host/hos_crash_record.c), was not kept. The builder makes diagnostics/ on every build, so a folder
it built is not affected.

hos_game_layout now makes diagnostics/ first in an organized folder.

Assisted-by: Claude Code
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Tested in game: Windows 11 (26300), RTX 4090, driver 621.24, at fedfcac31 as a pack on main 22d0d2009's base. An organized runtime (data/image.bin) with no diagnostics/, the game started with no stderr (as from its icon), title and menu, full screen, then quit. Before (main): longshot_log.txt beside longshot.exe, no diagnostics/ and no bug-reports/running/ marker. After: diagnostics/logs/longshot_log.txt (first line longshot v3.2.0-111-gfedfcac31), diagnostics/bug-reports/{pending,running}/ made at the start, the run's running/ marker there during play and gone after the clean exit (code 0, stop: close work done), nothing beside longshot.exe. DLSS's NGX started.

Tested in game: Windows 11 (26300), RTX 4090, driver 621.24, at fedfcac31 as a pack on main 22d0d2009's base. An organized runtime (data/image.bin) with no diagnostics/, the game started with no stderr (as from its icon), title and menu, full screen, then quit. Before (main): longshot_log.txt beside longshot.exe, no diagnostics/ and no bug-reports/running/ marker. After: diagnostics/logs/longshot_log.txt (first line longshot v3.2.0-111-gfedfcac31), diagnostics/bug-reports/{pending,running}/ made at the start, the run's running/ marker there during play and gone after the clean exit (code 0, stop: close work done), nothing beside longshot.exe. DLSS's NGX started.
docs(dev): an organized game folder's logs are in diagnostics/logs/
Some checks failed
PR description / Title and description (pull_request_target) Successful in 7s
CI / What the change needs (pull_request) Has been cancelled
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Has been cancelled
CI / Third-party parts and guide screenshots (pull_request) Has been cancelled
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
d8188d044f
architecture.md's game folder and profiles.md's table named only logs/; a folder the builder organizes
(data/image.bin) has them in diagnostics/logs/, beside diagnostics/bug-reports/, since #2708.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Docs: docs/dev/reference/architecture.md and docs/dev/reference/profiles.md now name diagnostics/logs/ for an organized folder (d8188d044, docs only); the description's Summary, Testing and checklist say so.

Docs: `docs/dev/reference/architecture.md` and `docs/dev/reference/profiles.md` now name `diagnostics/logs/` for an organized folder (d8188d044, docs only); the description's Summary, Testing and checklist say so.
docs(dev): the update's log stays in the game folder's logs/
All checks were successful
PR description / Title and description (pull_request_target) Successful in 5s
aeab881953
longshot-builder writes longshot_update.log to logs/ (play.rs's LOG) in an organized folder too; only the
game's own logs are in diagnostics/logs/.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Contributor

Docs: docs/dev/reference/profiles.md keeps the update's log in logs/ (aeab88195): longshot-builder writes logs/longshot_update.log in an organized folder too (builder/crates/longshot-builder/src/play.rs); only the game's own logs are in diagnostics/logs/.

Docs: `docs/dev/reference/profiles.md` keeps the update's log in `logs/` (aeab88195): longshot-builder writes `logs/longshot_update.log` in an organized folder too (`builder/crates/longshot-builder/src/play.rs`); only the game's own logs are in `diagnostics/logs/`.
Jiro113 changed title from WIP: fix(game): an organized game folder with no diagnostics/ gets it back, so its log is in diagnostics/logs/ to fix(game): an organized game folder with no diagnostics/ gets it back, so its log is in diagnostics/logs/ 2026-11-28 17:28:09 +00:00
Owner
@review
BeanBot left a comment

Recommendation: Approve. The Windows run shows that the missing diagnostics directory, log and crash marker are restored. The Linux game run is still needed, and the newly enabled Windows test has a path-dependent failure. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

The game recreates diagnostics/ before its logs directory in organized builds, restoring the intended log and crash-record locations. The change adds one directory creation at startup and leaves unorganized builds on their existing layout.

Should fix (1): not blocking, but worth doing before merging.

  • L1 tests/test_game_layout.py:105: The new Windows test executable is linked without the game's UTF-8 code-page manifest, even though the code under test passes UTF-8 paths to Win32 A functions. (more on the line) Do: Embed the game's UTF-8 manifest in the Windows test executable, and exercise it under a non-ASCII temporary path.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L2 game/game_layout.c:116: The Linux game startup and crash-record path still needs the run identified in the pull request. (more on the line) Do: Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit.

@fix can do L1.

More: does it help, other systems, switches, what was read

Does it help: Yes. The reported Windows comparison shows the log moving from the game root to diagnostics/logs/ and the running crash marker being created; the game-free test is reported to fail on the base and pass on the branch on Windows and Linux. A Linux game run remains outstanding.

Other systems: The changed startup path runs on Windows and Linux, including shader preparation. It does not depend on GPU vendor. The reported Windows game run and Linux shim test cover the directory creation, but Linux logging and crash-record startup have not yet been checked in the game.

Switches: None.

Reviewed: aeab881953 against 22d0d20098: Read AGENTS.md, CONTRIBUTING.md, the PR template, standards, the complete diff and commit messages, game/game_layout.c, game/game_layout.h, tests/test_game_layout.py, host/hos_paths.h, profiles.md, and the relevant startup and crash-record call sites. Skimmed architecture.md and the remaining referenced code; no recorded runs, translations or generated files were changed. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review).

Checked and fine:

  • The new test checks both root and bin executable layouts and would fail if the parent-directory creation were removed.
  • The organized-build check keeps diagnostics/ creation conditional; the existing unorganized cases check that it stays absent.
  • The commits record AI assistance; no game-derived files, generated files, API versions or switch tables are changed.

Testing: No commands from the project were run during review. The author's reported Windows game comparison and Windows/Linux game-free test results were considered.

Overlaps and merge order: The description identifies #2741 as separate and touching no common files; no other overlap was available to verify offline.


Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The Windows run shows that the missing diagnostics directory, log and crash marker are restored. The Linux game run is still needed, and the newly enabled Windows test has a path-dependent failure. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. The game recreates diagnostics/ before its logs directory in organized builds, restoring the intended log and crash-record locations. The change adds one directory creation at startup and leaves unorganized builds on their existing layout. **Should fix (1)**: not blocking, but worth doing before merging. - **L1** `tests/test_game_layout.py:105`: The new Windows test executable is linked without the game's UTF-8 code-page manifest, even though the code under test passes UTF-8 paths to Win32 A functions. (more on the line) **Do:** Embed the game's UTF-8 manifest in the Windows test executable, and exercise it under a non-ASCII temporary path. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2** `game/game_layout.c:116`: The Linux game startup and crash-record path still needs the run identified in the pull request. (more on the line) **Do:** Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit. `@fix` can do L1. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The reported Windows comparison shows the log moving from the game root to diagnostics/logs/ and the running crash marker being created; the game-free test is reported to fail on the base and pass on the branch on Windows and Linux. A Linux game run remains outstanding. **Other systems:** The changed startup path runs on Windows and Linux, including shader preparation. It does not depend on GPU vendor. The reported Windows game run and Linux shim test cover the directory creation, but Linux logging and crash-record startup have not yet been checked in the game. **Switches:** None. **Reviewed:** aeab88195347 against 22d0d20098d6: Read AGENTS.md, CONTRIBUTING.md, the PR template, standards, the complete diff and commit messages, game/game_layout.c, game/game_layout.h, tests/test_game_layout.py, host/hos_paths.h, profiles.md, and the relevant startup and crash-record call sites. Skimmed architecture.md and the remaining referenced code; no recorded runs, translations or generated files were changed. docs/review-checklist.md and the adjacent Tooling checkout were absent.; nothing run (a code review). **Checked and fine:** - The new test checks both root and bin executable layouts and would fail if the parent-directory creation were removed. - The organized-build check keeps diagnostics/ creation conditional; the existing unorganized cases check that it stays absent. - The commits record AI assistance; no game-derived files, generated files, API versions or switch tables are changed. **Testing:** No commands from the project were run during review. The author's reported Windows game comparison and Windows/Linux game-free test results were considered. **Overlaps and merge order:** The description identifies #2741 as separate and touching no common files; no other overlap was available to verify offline. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
@ -107,3 +113,4 @@
snprintf(prompts, sizeof prompts, "%scache" SEP_S "prompts", game) >= (int)sizeof prompts)
return;
CreateDirectoryA(cache, NULL);
if (organized) CreateDirectoryA(diagnostics, NULL);
Member

L2 (should fix): The Linux game startup and crash-record path still needs the run identified in the pull request.

When: An organized Linux runtime without diagnostics/ must create the log and crash-record directories when started without a terminal; only the isolated layout test has been reported on Linux.

Do: Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit.

**L2** (should fix): The Linux game startup and crash-record path still needs the run identified in the pull request. *When:* An organized Linux runtime without diagnostics/ must create the log and crash-record directories when started without a terminal; only the isolated layout test has been reported on Linux. **Do:** Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit.
@ -99,1 +103,3 @@
"-o", str(built), "-lpthread", "-ldl"], check=True)
shim = [] if os.name == "nt" else [str(ROOT / "host" / "posix" / "win32_posix.c")]
libs = [] if os.name == "nt" else ["-lpthread", "-ldl"]
subprocess.run([a.cc, *inc, str(layout_o), *shim, str(tmp / "main.c"), "-o", str(built), *libs], check=True)
Member

L1 (should fix): The new Windows test executable is linked without the game's UTF-8 code-page manifest, even though the code under test passes UTF-8 paths to Win32 A functions.

When: When the temporary directory is under a Windows user path containing non-ASCII characters and the system ANSI code page is not UTF-8, hos_game_path_a returns UTF-8 bytes but CreateDirectoryA interprets them using the ANSI code page. The newly enabled test fails to create its folders even though the manifested game can use the same path.

Do: Embed the game's UTF-8 manifest in the Windows test executable, and exercise it under a non-ASCII temporary path.

**L1** (should fix): The new Windows test executable is linked without the game's UTF-8 code-page manifest, even though the code under test passes UTF-8 paths to Win32 A functions. *When:* When the temporary directory is under a Windows user path containing non-ASCII characters and the system ANSI code page is not UTF-8, hos_game_path_a returns UTF-8 bytes but CreateDirectoryA interprets them using the ANSI code page. The newly enabled test fails to create its folders even though the manifested game can use the same path. **Do:** Embed the game's UTF-8 manifest in the Windows test executable, and exercise it under a non-ASCII temporary path.
Owner
@fix
fix(tests): use the game manifest for layout path checks
Some checks failed
PR description / Title and description (pull_request_target) Failing after 12s
CI / What the change needs (pull_request) Successful in 14s
CI / Third-party parts and guide screenshots (pull_request) Failing after 21s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 21s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m59s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
a04a25e1e4
As the review on #2750 asked.
BeanBot left a comment

Recommendation: Approve. The fix restores the diagnostics directory in the reported Windows case. The integrated Linux startup and crash-record run is still outstanding. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is a04a25e1e4. I edited its description to match the change.

Changed

  • Windows UTF-8 paths in tests/test_game_layout.py:107: Linked the builder's game manifest into the Windows test executable and placed all fixtures under a non-ASCII path. Test output is decoded as UTF-8. Tests were not run, as requested.
  • Windows-only Cargo prerequisite in tests/test_game_layout.py:24: Added per-OS runner arguments in tests/run_all.py:264 and declared Cargo only for Windows. Added declaration and preflight coverage in tests/test_run_all_declarations.py:75. Tests were not run as requested.

Nothing was built or run: the checks run again on the new head.

Organized game folders that lack diagnostics/ recreate it before creating diagnostics/logs/, restoring the intended log location and enabling crash-record setup. The change adds one directory creation at startup and expands the layout test.

Should fix (1): not blocking, but worth doing before merging.

  • L4 tests/test_game_layout.py:114: The new Windows resource compiler prerequisite is not declared to the test runner. (more on the line) Do: Add windres to the runner's tool discovery and declare and pass it for the Windows test, with preflight coverage.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L2 game/game_layout.c:116: The Linux game startup and crash-record path still needs the run identified in the pull request. When: An organized Linux runtime without diagnostics/ must create the log and crash-record directories when started without a terminal; only the isolated layout test has been reported on Linux. Do: Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit.

@fix can do L4.

Checks: they run again on this head; a failure shows on the pull request.

Also noticed (1; not asked for, not blocking)
  • The updated UTF-8 layout test and Windows manifest wiring have not yet been reported as run.
More: does it help, other systems, switches, what was read

Does it help: Yes. The author reports that on Windows the log moved from beside the executable to diagnostics/logs/, and the running crash marker appeared and was removed on clean exit. The earlier layout test failed on main and passed with the fix on Windows and Linux; the updated test has not been reported as run.

Other systems: The directory creation also runs on Linux; the isolated layout test passed there before the later test edits, but integrated Linux startup and crash recording remain untested. Unorganized folders retain logs/; the test covers that distinction. GPU vendors and rendering are not affected by this startup path.

Switches: None.

Reviewed: a04a25e1e4 against 22d0d20098: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the game layout implementation and header, the layout test and declaration tests, the fix diff, and the relevant path and runner code. Skimmed the runner and documentation diffs and the reported runs. docs/review-checklist.md and the adjacent Tooling AGENTS.md were absent.; nothing run (a code review).

Checked and fine:

  • The organized-folder branch creates diagnostics/ before diagnostics/logs/.
  • The test exercises both the executable beside the game folder and in bin/.
  • The Windows test links the builder's game manifest and places fixtures under a non-ASCII path.
  • The runner selects Cargo only for the Windows layout-test declaration.

Testing: No commands that build or run tests were executed. The author reports a successful Windows game run and earlier isolated layout-test runs on Windows and Linux; the requested integrated Linux run remains outstanding.

Overlaps and merge order: The description identifies Longshot#2741 as separate: it addresses game logging through builder play.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The fix restores the diagnostics directory in the reported Windows case. The integrated Linux startup and crash-record run is still outstanding. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is a04a25e1e4c2. I edited its description to match the change. **Changed** - **Windows UTF-8 paths in tests/test_game_layout.py:107**: Linked the builder's game manifest into the Windows test executable and placed all fixtures under a non-ASCII path. Test output is decoded as UTF-8. Tests were not run, as requested. - **Windows-only Cargo prerequisite in tests/test_game_layout.py:24**: Added per-OS runner arguments in tests/run_all.py:264 and declared Cargo only for Windows. Added declaration and preflight coverage in tests/test_run_all_declarations.py:75. Tests were not run as requested. Nothing was built or run: the checks run again on the new head. Organized game folders that lack diagnostics/ recreate it before creating diagnostics/logs/, restoring the intended log location and enabling crash-record setup. The change adds one directory creation at startup and expands the layout test. **Should fix (1)**: not blocking, but worth doing before merging. - **L4** `tests/test_game_layout.py:114`: The new Windows resource compiler prerequisite is not declared to the test runner. (more on the line) **Do:** Add windres to the runner's tool discovery and declare and pass it for the Windows test, with preflight coverage. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2** `game/game_layout.c:116`: The Linux game startup and crash-record path still needs the run identified in the pull request. *When:* An organized Linux runtime without diagnostics/ must create the log and crash-record directories when started without a terminal; only the isolated layout test has been reported on Linux. **Do:** Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit. `@fix` can do L4. **Checks:** they run again on this head; a failure shows on the pull request. <details> <summary>Also noticed (1; not asked for, not blocking)</summary> - The updated UTF-8 layout test and Windows manifest wiring have not yet been reported as run. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes. The author reports that on Windows the log moved from beside the executable to diagnostics/logs/, and the running crash marker appeared and was removed on clean exit. The earlier layout test failed on main and passed with the fix on Windows and Linux; the updated test has not been reported as run. **Other systems:** The directory creation also runs on Linux; the isolated layout test passed there before the later test edits, but integrated Linux startup and crash recording remain untested. Unorganized folders retain logs/; the test covers that distinction. GPU vendors and rendering are not affected by this startup path. **Switches:** None. **Reviewed:** a04a25e1e4c2 against 22d0d20098d6: Read AGENTS.md, CONTRIBUTING.md, the pull request template, the game layout implementation and header, the layout test and declaration tests, the fix diff, and the relevant path and runner code. Skimmed the runner and documentation diffs and the reported runs. docs/review-checklist.md and the adjacent Tooling AGENTS.md were absent.; nothing run (a code review). **Checked and fine:** - The organized-folder branch creates diagnostics/ before diagnostics/logs/. - The test exercises both the executable beside the game folder and in bin/. - The Windows test links the builder's game manifest and places fixtures under a non-ASCII path. - The runner selects Cargo only for the Windows layout-test declaration. **Testing:** No commands that build or run tests were executed. The author reports a successful Windows game run and earlier isolated layout-test runs on Windows and Linux; the requested integrated Linux run remains outstanding. **Overlaps and merge order:** The description identifies Longshot#2741 as separate: it addresses game logging through builder play. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
@ -21,3 +23,2 @@
RUN_ALL_ARGS = ["--cc", "gcc"]
RUN_ALL_SKIP = {"windows": "builds game/game_layout.c with the Linux POSIX shim"}
RUN_ALL_ARGS = {"linux": ["--cc", "gcc"], "windows": ["--cc", "gcc", "--cargo", "{cargo}"]}
Member

L3 (should fix): The test runner now requires Cargo on Linux even though this test uses it only on Windows.

When: On a Linux machine with GCC but no Cargo, run_all.py skips test_game_layout, or fails it in strict mode, instead of running the previously available game-free layout check.

Do: Make Cargo a Windows-only prerequisite while allowing the runner to execute the Linux test without it.

**L3** (should fix): The test runner now requires Cargo on Linux even though this test uses it only on Windows. *When:* On a Linux machine with GCC but no Cargo, run_all.py skips test_game_layout, or fails it in strict mode, instead of running the previously available game-free layout check. **Do:** Make Cargo a Windows-only prerequisite while allowing the runner to execute the Linux test without it.
@ -100,0 +111,4 @@
subprocess.run([a.cargo, "run", "-q", "-p", "build-compile", "--example", "manifest_res", "--", str(res)],
cwd=ROOT / "builder", check=True, timeout=1800)
subprocess.run([a.windres, "-J", "res", "-O", "coff", "-i", str(res), "-o", str(obj)], check=True)
resources = [str(obj)]
Member

L4 (should fix): The new Windows resource compiler prerequisite is not declared to the test runner.

When: On Windows with Cargo and gcc available but windres absent from PATH, the runner starts the test instead of skipping it for a missing tool, and the subprocess fails to start.

Do: Add windres to the runner's tool discovery and declare and pass it for the Windows test, with preflight coverage.

**L4** (should fix): The new Windows resource compiler prerequisite is not declared to the test runner. *When:* On Windows with Cargo and gcc available but windres absent from PATH, the runner starts the test instead of skipping it for a missing tool, and the subprocess fails to start. **Do:** Add windres to the runner's tool discovery and declare and pass it for the Windows test, with preflight coverage.
Owner
@fix
BeanBot force-pushed fix/diagnostics-dir from a04a25e1e4
Some checks failed
PR description / Title and description (pull_request_target) Failing after 12s
CI / What the change needs (pull_request) Successful in 14s
CI / Third-party parts and guide screenshots (pull_request) Failing after 21s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 21s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 1m59s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Has been cancelled
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Has been cancelled
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Has been cancelled
CI / Website build and checks (pull_request) Has been cancelled
to 7f9565c2f3
Some checks failed
PR description / Title and description (pull_request_target) Has been cancelled
CI / What the change needs (pull_request) Successful in 15s
CI / Third-party parts and guide screenshots (pull_request) Successful in 19s
CI / Lint (pre-commit, ShellCheck, actionlint) (pull_request) Successful in 17s
CI / Host C for Windows (llvm-mingw, compile only) (pull_request) Successful in 2m4s
CI / Rust (rustfmt, clippy, cargo test, end to end) (pull_request) Failing after 3m48s
CI / Website build and checks (pull_request) Failing after 35s
CI / Renderer build check (Windows, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m36s
CI / Renderer build check (Linux, compile --only renderer, without and with FSR 4) (pull_request) Successful in 4m49s
CI / Game-free checks (run_all.py, part 1/2) (pull_request) Failing after 28m56s
CI / Game-free checks (run_all.py, part 2/2) (pull_request) Failing after 43m31s
2026-11-28 18:58:54 +00:00
Compare
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The Windows run shows that the missing diagnostics folder is restored and used for logs and crash records. The integrated Linux startup still needs the requested check. Recommend approval; not approved on the forge.

What @fix changed
I changed this pull request: the new head is 7f9565c2f3. I rebased it onto main (c56b2387f7). I edited its description to match the change.

Changed

  • Declare the Windows resource compiler prerequisite: Added windres discovery in tests/run_all.py:166 and passed it to the Windows test in tests/test_game_layout.py:24. Added preflight coverage in tests/test_run_all_declarations.py:149. Tests were not run, as requested.

Nothing was built or run: the checks run again on the new head.

The game recreates diagnostics/ in an organized folder before creating its logs directory, restoring the expected log and crash-record locations. It adds one directory-creation call at startup; the test runner also declares the Windows resource compiler prerequisite.

Testing before merging (1) (runs on the systems it can change; it doesn't hold the recommendation)

  • L2 game/game_layout.c:116: The Linux game startup and crash-record path still needs the run identified in the pull request. When: An organized Linux runtime without diagnostics/ must create the log and crash-record directories when started without a terminal; only the isolated layout test has been reported on Linux. Do: Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit.

Checks: they run again on this head (PR description / Title and description (pull_request_target), CI / Third-party parts and guide screenshots (pull_request) failed on the last one); a failure shows on the pull request.

Also noticed (2; not asked for, not blocking)
  • The base diff also contains logo and audio changes outside the described diagnostics fix.
  • The updated UTF-8 and manifest test has not been reported as run.
More: does it help, other systems, switches, what was read

Does it help: Yes on the reported Windows run: main wrote the log beside the executable and made no crash-record marker; the changed build wrote the log under diagnostics/logs/ and created and removed the running marker. An earlier game-free test also failed on main and passed on Windows and Linux; the updated test has not been reported as run.

Other systems: The change affects startup on Windows and Linux, including crash-record setup. The Windows game run is reported; the integrated Linux startup remains unverified. GPU-specific behavior is not changed.

Switches: None.

Reviewed: 7f9565c2f3 against c56b2387f7: Read game/game_layout.c, game/game_layout.h, tests/test_game_layout.py, the resource-compiler fix diff, relevant test-runner and declaration-test sections, repository rules and the pull request template. Skimmed the broader base diff, documentation and recorded runs; the full base diff includes additional logo and audio changes not listed in the pull request description.; nothing run (a code review).

Checked and fine:

  • The Windows test declares windres, the runner discovers it, and the new preflight test checks both its absence and its argument forwarding.
  • The layout call precedes log and crash-record preparation, and the new parent directory is created only for organized folders.
  • The fix retains the diagnostics directory creation.

Testing: Read-only review; no commands from the project or tests were run. CI has not run on this head.

Overlaps and merge order: The description identifies #2741 as a separate builder-play logging change; no merge dependency is stated.


Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. The Windows run shows that the missing diagnostics folder is restored and used for logs and crash records. The integrated Linux startup still needs the requested check. Recommend approval; not approved on the forge. **What `@fix` changed** I changed this pull request: the new head is 7f9565c2f313. I rebased it onto `main` (c56b2387f7bd). I edited its description to match the change. **Changed** - **Declare the Windows resource compiler prerequisite**: Added windres discovery in tests/run_all.py:166 and passed it to the Windows test in tests/test_game_layout.py:24. Added preflight coverage in tests/test_run_all_declarations.py:149. Tests were not run, as requested. Nothing was built or run: the checks run again on the new head. The game recreates diagnostics/ in an organized folder before creating its logs directory, restoring the expected log and crash-record locations. It adds one directory-creation call at startup; the test runner also declares the Windows resource compiler prerequisite. **Testing before merging (1)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2** `game/game_layout.c:116`: The Linux game startup and crash-record path still needs the run identified in the pull request. *When:* An organized Linux runtime without diagnostics/ must create the log and crash-record directories when started without a terminal; only the isolated layout test has been reported on Linux. **Do:** Run that Linux runtime from its icon without diagnostics/ and check the log location and running crash marker through a clean exit. **Checks:** they run again on this head (`PR description / Title and description (pull_request_target)`, `CI / Third-party parts and guide screenshots (pull_request)` failed on the last one); a failure shows on the pull request. <details> <summary>Also noticed (2; not asked for, not blocking)</summary> - The base diff also contains logo and audio changes outside the described diagnostics fix. - The updated UTF-8 and manifest test has not been reported as run. </details> <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes on the reported Windows run: main wrote the log beside the executable and made no crash-record marker; the changed build wrote the log under diagnostics/logs/ and created and removed the running marker. An earlier game-free test also failed on main and passed on Windows and Linux; the updated test has not been reported as run. **Other systems:** The change affects startup on Windows and Linux, including crash-record setup. The Windows game run is reported; the integrated Linux startup remains unverified. GPU-specific behavior is not changed. **Switches:** None. **Reviewed:** 7f9565c2f313 against c56b2387f7bd: Read game/game_layout.c, game/game_layout.h, tests/test_game_layout.py, the resource-compiler fix diff, relevant test-runner and declaration-test sections, repository rules and the pull request template. Skimmed the broader base diff, documentation and recorded runs; the full base diff includes additional logo and audio changes not listed in the pull request description.; nothing run (a code review). **Checked and fine:** - The Windows test declares windres, the runner discovers it, and the new preflight test checks both its absence and its argument forwarding. - The layout call precedes log and crash-record preparation, and the new parent directory is created only for organized folders. - The fix retains the diagnostics directory creation. **Testing:** Read-only review; no commands from the project or tests were run. CI has not run on this head. **Overlaps and merge order:** The description identifies #2741 as a separate builder-play logging change; no merge dependency is stated. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by BeanBot, after its fix. Nothing was run; a maintainer decides.</sub>
HumanBean deleted branch fix/diagnostics-dir 2026-11-28 18:59:52 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
MagicBeanDev/Longshot!2750
No description provided.