mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:15:51 +01:00
[PR #1170] vertex_types: ask report_paths for the report-path guard (VERTEX-TYPES-SHARED-REPORT-PATH) #1203
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#1203
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/1170
Author: @breachato
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:rpt-vertex-types📝 Commits (1)
89af928vertex_types: ask report_paths for the report-path guard📊 Changes
1 file changed (+2 additions, -11 deletions)
View changed files
📝
tools/vertex_types.py(+2 -11)📄 Description
Claimed in the coordination issue as: 7142219882 (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7142219882)
Depends on: none
Fixes: none
What and why
tools/vertex_types.pyalready importedreport_paths.path_keyfor its--jsonguard at:49, and thencarried a private
same_output_pathat:682that derived the same answer again (realpath, normcase,samefile). CONTRIBUTING.md asks a report writer to call
report_paths.same_report_pathrather than deriveit again, and the private copy also left out that helper's folding-volume probe: on a Linux mount that
ignores case (vfat, exFAT, CIFS)
--json R.jsonand--json r.jsonwere two report paths and the secondoverwrote the first. The one guard site now calls
same_report_path; no test calls the private name, so itgoes with the duplication.
Tested
tests/test_vertex_types.py: 44 passed, 1 skipped, 8 subtests passed.tests/test_vertex_types_wide_group.py: 1 passed.python -I tools/vertex_types.py --help: prints its usage (the import works under-I).python -m compileall -q tools/vertex_types.py: clean.this machine is NTFS, where
normcasealready folds case.tests/test_report_paths.pycovers thehelper's own folding-volume answer.
GPUs tested: n/a
AI-assisted: yes
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.