[PR #2080] report_paths: probe missing output parents on folding volumes #2086

Open
opened 2026-11-26 21:19:59 +01:00 by 4ld0 · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ubiquitarianism/leonida/pull/2080
Author: @whoalin1
Created: 11/25/2026
Status: 🔄 Open

Base: main ← Head: report-paths-casefold


📝 Commits (1)

  • 8a7dcdf report_paths: probe missing output parents on folding volumes

📊 Changes

2 files changed (+29 additions, -4 deletions)

View changed files

📝 tests/test_report_paths.py (+4 -2)
📝 tools/report_paths.py (+25 -2)

📄 Description

Summary

  • fix same_report_path/same_name_on_folding_volume for report paths checked before the writer creates their output parent
  • probe case folding beside the nearest existing directory instead of returning false when the output folder is missing
  • keep the probe non-invasive: it does not create the missing output folder and still leaves no scratch directory behind
  • update the synthetic regression so the missing-parent answer follows the host volume's case behavior

Claim: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7172553128 (REPORT-PATHS-MISSING-PARENT-CASEFOLD)

No game data, keys, decryption, or online services.

Test plan

  • python -I tests/test_report_paths.py — 22 tests, OK (1 skipped) on Windows 11
  • focused missing-parent regression failed before the fix (False != True on this case-folding volume) and passes after it
  • python -m compileall -q tools tests
  • git diff --check

AI-assisted with Devin.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ubiquitarianism/leonida/pull/2080 **Author:** [@whoalin1](https://github.com/whoalin1) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `report-paths-casefold` --- ### 📝 Commits (1) - [`8a7dcdf`](https://github.com/ubiquitarianism/leonida/commit/8a7dcdfe1df4c1cfb0c4f6a2a2b67d9edb854668) report_paths: probe missing output parents on folding volumes ### 📊 Changes **2 files changed** (+29 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_report_paths.py` (+4 -2) 📝 `tools/report_paths.py` (+25 -2) </details> ### 📄 Description ## Summary - fix `same_report_path`/`same_name_on_folding_volume` for report paths checked before the writer creates their output parent - probe case folding beside the nearest existing directory instead of returning false when the output folder is missing - keep the probe non-invasive: it does not create the missing output folder and still leaves no scratch directory behind - update the synthetic regression so the missing-parent answer follows the host volume's case behavior Claim: https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7172553128 (`REPORT-PATHS-MISSING-PARENT-CASEFOLD`) No game data, keys, decryption, or online services. #### Test plan - [x] `python -I tests/test_report_paths.py` — 22 tests, OK (1 skipped) on Windows 11 - [x] focused missing-parent regression failed before the fix (`False != True` on this case-folding volume) and passes after it - [x] `python -m compileall -q tools tests` - [x] `git diff --check` AI-assisted with Devin. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
bug
pull-request
No milestone
No project
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.

Dependencies

No dependencies set

Reference
starred/leonida#2086
No description provided.