Measure the AnyPS5 progress snapshot from the pinned sources #28

Open
github-bot wants to merge 1 commit from github-bot/gh-28 into main AGit
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-26 04:33 UTC · original
RavenCurseBurg:fix/measure-committed-anyps5 → main · +57 −14 · 3 files · 1 commits · open

An untracked library in third_party/AnyPS5 changes --refresh-anyps5 output while the snapshot still reports the original commit. At the current pin (1582613), adding one synthetic library made the count go from 413 to 414.

The refresh now checks out the verified commit in a temporary local clone that shares the submodule’s Git objects. Both the progress script and the files it scans come from that commit. The tradeoff is a temporary source checkout during an explicit refresh. It needs no network once the submodule is present.

A regression test stages an input change, edits the measurement script and adds an untracked file. It checks the result and the contributor’s index and working tree. On Windows, a webhook test also needed to use an isolated environment mapping so that it preserves empty Git configuration variables for subsequent tests.

I ran the refresh on Ubuntu with the extra library in place. The corrected snapshot matched the committed report byte for byte and the untracked file survived. All 45 Python tooling tests passed on Ubuntu and Windows. Linux before/after verification

AI-assisted with Codex + GPT-6.2 Astra (xhigh).

**@⁠RavenCurseBurg** on GitHub · 2026-11-26 04:33 UTC · [original](https://github.com/JamesCicada/GTAVI-Recomp/pull/28) `RavenCurseBurg:fix/measure-committed-anyps5` → `main` · +57 −14 · 3 files · 1 commits · open An untracked library in `third_party/AnyPS5` changes `--refresh-anyps5` output while the snapshot still reports the original commit. At the current pin (`1582613`), adding one synthetic library made the count go from 413 to 414. The refresh now checks out the verified commit in a temporary local clone that shares the submodule’s Git objects. Both the progress script and the files it scans come from that commit. The tradeoff is a temporary source checkout during an explicit refresh. It needs no network once the submodule is present. A regression test stages an input change, edits the measurement script and adds an untracked file. It checks the result and the contributor’s index and working tree. On Windows, a webhook test also needed to use an isolated environment mapping so that it preserves empty Git configuration variables for subsequent tests. I ran the refresh on Ubuntu with the extra library in place. The corrected snapshot matched the committed report byte for byte and the untracked file survived. All 45 Python tooling tests passed on Ubuntu and Windows. [Linux before/after verification](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45755760437/job/139693878310) AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:44:43 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/28/head:github-bot/gh-28'
git switch 'github-bot/gh-28'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-28'
git switch 'github-bot/gh-28'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-28'
git switch 'github-bot/gh-28'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-28'
git switch 'main'
git merge --squash 'github-bot/gh-28'
git switch 'main'
git merge --ff-only 'github-bot/gh-28'
git switch 'main'
git merge 'github-bot/gh-28'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.