mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #1435] instance_lists: ask report_paths for the report-path guard (INSTANCE-LISTS-SHARED-REPORT-PATH) #1465
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#1465
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/1435
Author: @Dashhhhhhhh
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/instance-lists-report-path📝 Commits (1)
7fb61feinstance_lists: treat case-only report paths as one file.📊 Changes
2 files changed (+19 additions, -9 deletions)
View changed files
📝
tests/test_instance_lists.py(+16 -0)📝
tools/instance_lists.py(+3 -9)📄 Description
Claimed in the coordination issue as: INSTANCE-LISTS-SHARED-REPORT-PATH
What and why
tools/instance_lists.pycompared report paths withos.path.normcase, which does not fold case on macOS, andos.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.Tested
python -I tests/test_instance_lists.py(17 tests) andpython -I tools/instance_lists.py --help, on macOS APFS. The new test treatsReports/out.jsonandreports/out.jsonas one path before either file exists. No game files.GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly.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.