WIP: tests/test_first_look_rebuild.py: stub the three report tools first_look.ps1 now runs (TEST-1421) #209

Closed
leonida/mandy
Andretuta wants to merge 0 commits from old-pr/9942 into main

Pull request closed

This pull request cannot be reopened because the branch was deleted.

Andretuta commented 2026-11-24 02:44:10 +00:00

Carried over from old PR 9942 by LouisRiverstone in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch old-pr/9942, exactly that PR's last commit. All carried-over PRs are listed in #17.
Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it.
LouisRiverstone: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one.


Original description (mentions and #N references are disabled; the numbers refer to the old repository):

TEST-1421 (found by @PeterGrieffindor). Update: #6133 has since fixed the Windows failure on main with its own stubs for the three tools. After the merge with main, this PR is a coverage change only.

What it adds on top of #6133. Test only:

  • The stub: the three per-tool stubs are replaced by one shared stub. It writes the file its --json / --out names, and it appends its tool name to tools_called.txt.
  • The new check: run_case asserts that gdk_runtime_calls.py, find_hash_lookup.py and exe_checklist.py are all called, in that order. On main, if first_look.ps1 stops running one of them, the tests still pass. With this PR, they fail.

Re-submission of #5870. #5870 was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current main.

Checked on #5870 by: kapitche (Windows).

No game files.

AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with main.

> Carried over from **old PR 9942** by `LouisRiverstone` in the original Leonida repository, which went private on 23 Nov 2026. The code is the branch `old-pr/9942`, exactly that PR's last commit. All carried-over PRs are listed in #17. > Opened as a draft, and the CI runs the opening started were cancelled so 250 PRs don't fill the queue. Re-run CI here when you review it. > `LouisRiverstone`: this is your work. Feel free to take it over, by pushing to the branch or opening your own PR and closing this one. --- Original description (mentions and `#N` references are disabled; the numbers refer to the old repository): TEST-1421 (found by `@PeterGrieffindor`). **Update:** `#6133` has since fixed the Windows failure on `main` with its own stubs for the three tools. After the merge with `main`, this PR is a coverage change only. **What it adds on top of `#6133`.** Test only: - **The stub:** the three per-tool stubs are replaced by one shared stub. It writes the file its `--json` / `--out` names, and it appends its tool name to `tools_called.txt`. - **The new check:** `run_case` asserts that `gdk_runtime_calls.py`, `find_hash_lookup.py` and `exe_checklist.py` are all called, in that order. On `main`, if `first_look.ps1` stops running one of them, the tests still pass. With this PR, they fail. Re-submission of `#5870`. `#5870` was closed unmerged during the 2026-11-23 22:45 UTC cleanup, along with the other open PRs. This is the same branch, now merged with current `main`. Checked on `#5870` by: kapitche (Windows). No game files. AI-assisted (Claude Code): I reviewed the change and re-ran its tests on the merge with `main`.
LouisRiverstone commented 2026-11-24 11:20:51 +00:00

Taken over by its author in #669 (rebased on main). This draft can be closed.

Taken over by its author in #669 (rebased on main). This draft can be closed.
aslan2142 commented 2026-11-24 19:18:17 +00:00

This carry-over of old upstream PR 9942 has been taken over in #669, so I'm closing this draft as #17 describes. The branch old-pr/9942 stays.

AI-assisted (Claude Code, Claude Opus 5.5).

This carry-over of old upstream PR 9942 has been taken over in #669, so I'm closing this draft as #17 describes. The branch `old-pr/9942` stays. AI-assisted (Claude Code, Claude Opus 5.5).
Sign in to join this conversation.
No description provided.