mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #526] [CLOSED] Fix HIP report tests with a home-local TMPDIR #581
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#581
Loading…
Add table
Add a link
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/mw00/project-maya/pull/526
Author: @DailyDisco
Created: 10/26/2026
Status: ❌ Closed
Base:
main← Head:fix/hip-report-home-path-tests📝 Commits (1)
5e1b2e4[verified] test: handle home-local temporary report paths📊 Changes
1 file changed (+14 additions, -3 deletions)
View changed files
📝
tools/test_maya_hip.py(+14 -3)📄 Description
Summary
Make the HIP report tests work when
TMPDIRis inside the user's home directory. The report intentionally replaces the home path with~, but three assertions expected an absolute ROCm fixture path. With a home-local temp directory, all three fail even on unchanged main.Only the expected test strings change. Report generation, path redaction, hardware detection and runtime behavior are untouched. A small additional test exercises a mocked home containing the ROCm fixture and a home outside it, and checks that the home path does not leak into the first report.
Validation
Python 3.12.3, CI-pinned gguf-py, home-local TMPDIR:
git diff --checkpassed.AI assistance: Hermes assisted with investigation, tests and review.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.