[PR #1434] skin_streams: ask report_paths for the report-path guard (SKIN-STREAMS-SHARED-REPORT-PATH) #1464

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

📋 Pull Request Information

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

Base: main ← Head: fix/skin-streams-report-path


📝 Commits (1)

  • 97b1ac4 skin_streams: treat case-only report paths as one file.

📊 Changes

2 files changed (+21 additions, -10 deletions)

View changed files

📝 tests/test_skin_streams.py (+16 -0)
📝 tools/skin_streams.py (+5 -10)

📄 Description

Claimed in the coordination issue as: SKIN-STREAMS-SHARED-REPORT-PATH

What and why

tools/skin_streams.py compared report paths with os.path.normcase, which does not fold case on macOS, and os.path.samefile, which only answers when both paths already exist. Two spellings of a report that has not been created are one file on APFS, and the private check treated them as different.

The tool now uses tools/report_paths.py. fragment_children.py calls skin_streams.same_output_path, so that name stays.

Tested

python -I tests/test_skin_streams.py TestCli (8 tests) and python -I tools/skin_streams.py --help, on macOS APFS. The new test treats Reports/out.json and reports/out.json as one path before either file exists. No game files.

GPUs tested: n/a

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly.
  • One topic.
  • No game data, keys or decryption.
  • A new translator rule is in the contract table of docs/design.md (not a translator change).

Made with Cursor


🔄 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/1434 **Author:** [@Dashhhhhhhh](https://github.com/Dashhhhhhhh) **Created:** 11/25/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `fix/skin-streams-report-path` --- ### 📝 Commits (1) - [`97b1ac4`](https://github.com/ubiquitarianism/leonida/commit/97b1ac40b0b091a9a85535d17d2fafc56d34828c) skin_streams: treat case-only report paths as one file. ### 📊 Changes **2 files changed** (+21 additions, -10 deletions) <details> <summary>View changed files</summary> 📝 `tests/test_skin_streams.py` (+16 -0) 📝 `tools/skin_streams.py` (+5 -10) </details> ### 📄 Description Claimed in the coordination issue as: SKIN-STREAMS-SHARED-REPORT-PATH ### What and why `tools/skin_streams.py` compared report paths with `os.path.normcase`, which does not fold case on macOS, and `os.path.samefile`, which only answers when both paths already exist. Two spellings of a report that has not been created are one file on APFS, and the private check treated them as different. The tool now uses `tools/report_paths.py`. `fragment_children.py` calls `skin_streams.same_output_path`, so that name stays. ### Tested `python -I tests/test_skin_streams.py TestCli` (8 tests) and `python -I tools/skin_streams.py --help`, on macOS APFS. The new test treats `Reports/out.json` and `reports/out.json` as one path before either file exists. No game files. GPUs tested: n/a AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly. - [x] One topic. - [x] No game data, keys or decryption. - [ ] A new translator rule is in the contract table of `docs/design.md` (not a translator change). Made with [Cursor](https://cursor.com) --- <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#1464
No description provided.