mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:00:52 +01:00
[PR #814] rsc8_audio: restore write mode before unlink on replace failure (RSC8-AUDIO-STAGE-CLEANUP) #852
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#852
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/814
Author: @trigger337
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/rsc8-audio-stage-cleanup📝 Commits (1)
29af54brsc8_audio: restore write mode before unlink on replace failure (RSC8-AUDIO-STAGE-CLEANUP)📊 Changes
2 files changed (+17 additions, -0 deletions)
View changed files
📝
tests/test_rsc8_audio.py(+16 -0)📝
tools/rsc8_audio.py(+1 -0)📄 Description
When writing report JSON or CSV, if os.replace fails (for instance due to permission errors), resetting os.chmod to 0o600 ensures unlinking the temporary file does not fail on Windows with PermissionError.
agent: yes
AI-assisted: yes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.