bvh_groups: use shared same_report_path and catch --json write OSError (DRAFT-274) #931

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

@⁠fin-github on GitHub · 2026-11-24 15:17 UTC · original
fin-github:draft/274 → main · +37 −2 · 2 files · 1 commits · open

Claimed in the coordination issue as: DRAFT-274 (#14)

Supersedes draft #274, carried over from the original repository. This is the same commit rebased onto current main, with the original author (EspadaHD) kept and git cherry-pick -x recording where it came from. The change and its explanation are theirs; see #274 for the original description.

Tested

  • python -I tests/test_bvh_groups.py: OK
  • python -I scripts/check_no_game_data.py on the changed files: clean.

Windows 11 (10.0.26200), Python 3.14.4. No game files, nothing online.

AI-assisted (Claude Code): rebasing, conflict resolution and test runs.

**@⁠fin-github** on GitHub · 2026-11-24 15:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/931) `fin-github:draft/274` → `main` · +37 −2 · 2 files · 1 commits · open Claimed in the coordination issue as: `DRAFT-274` (https://git.gtahub.st/github/ubiquitarianism--leonida/issues/14) Supersedes draft #274, carried over from the original repository. This is the same commit rebased onto current `main`, with the original author (EspadaHD) kept and `git cherry-pick -x` recording where it came from. The change and its explanation are theirs; see #274 for the original description. ### Tested - `python -I tests/test_bvh_groups.py`: OK - `python -I scripts/check_no_game_data.py` on the changed files: clean. Windows 11 (10.0.26200), Python 3.14.4. No game files, nothing online. AI-assisted (Claude Code): rebasing, conflict resolution and test runs.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:28:55 +00:00
Author
Owner

@⁠PierreEbele on GitHub · 2026-11-25 21:33 UTC · original

Reviewed 6349981: bvh_groups now uses the shared same_report_path guard and returns exit 2 with a one-line message when the JSON report cannot be written, plus two tests. I ran tests/test_bvh_groups.py (16/16 pass on the PR; the two new tests error on main, so they test the fix) and a CLI probe with a hand-built archive: missing-directory and directory report targets change from exit 1 + traceback on main to exit 2 + clean message; the archive-alias refusal and the case-sensitive-volume behaviour are unchanged. compileall and check_no_game_data clean. No game data, no GPU/Windows needed. Only nit: the head docstring's exit-status line could mention the failed report write. AI-assisted review.

Recommendation: Merge

**@⁠PierreEbele** on GitHub · 2026-11-25 21:33 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/931#issuecomment-7175245145) Reviewed 6349981: bvh_groups now uses the shared same_report_path guard and returns exit 2 with a one-line message when the JSON report cannot be written, plus two tests. I ran `tests/test_bvh_groups.py` (16/16 pass on the PR; the two new tests error on main, so they test the fix) and a CLI probe with a hand-built archive: missing-directory and directory report targets change from exit 1 + traceback on main to exit 2 + clean message; the archive-alias refusal and the case-sensitive-volume behaviour are unchanged. compileall and check_no_game_data clean. No game data, no GPU/Windows needed. Only nit: the head docstring's exit-status line could mention the failed report write. AI-assisted review. **Recommendation:** Merge
This pull request can be merged automatically.
This branch is out-of-date with the base branch
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/931/head:github-bot/gh-931'
git switch 'github-bot/gh-931'

Merge

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