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

Closed
Andretuta wants to merge 3 commits from upstream-pr/209 into main
Andretuta commented 2026-11-24 02:44:10 +00:00 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by Andretuta on 2026-11-24T02:44:10Z.


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.

<!-- greyfinch-sync:ubiquitarianism/leonida:issue:5465095406 --> Imported from [ubiquitarianism/leonida](https://github.com/ProjectLeonida/mandy/pull/209). Originally posted by [Andretuta](https://github.com/Andretuta) on 2026-11-24T02:44:10Z. --- > 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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by LouisRiverstone on 2026-11-24T11:20:51Z.


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

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7129978866 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/209#issuecomment-7129978866). Originally posted by [LouisRiverstone](https://github.com/LouisRiverstone) on 2026-11-24T11:20:51Z. --- 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 (Migrated from github.com)

Imported from ubiquitarianism/leonida. Originally posted by aslan2142 on 2026-11-24T19:18:17Z.


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).

<!-- greyfinch-sync:ubiquitarianism/leonida:comment:7141900306 --> Imported from [ubiquitarianism/leonida](https://github.com/ubiquitarianism/leonida/pull/209#issuecomment-7141900306). Originally posted by [aslan2142](https://github.com/aslan2142) on 2026-11-24T19:18:17Z. --- 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).

Pull request closed

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!209
No description provided.