mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 23:25:53 +01:00
[PR #2297] tools/anim_clips: write --out JSON report atomically (ANIM-CLIPS-ATOMIC-JSON) #2301
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#2301
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/2297
Author: @Ch1mpleo
Created: 11/26/2026
Status: 🔄 Open
Base:
main← Head:fix/anim-clips-atomic-json📝 Commits (1)
fcac19ctools/anim_clips: write --out JSON report atomically (ANIM-CLIPS-ATOMIC-JSON)📊 Changes
2 files changed (+56 additions, -5 deletions)
View changed files
📝
tests/test_anim_clips.py(+22 -0)📝
tools/anim_clips.py(+34 -5)📄 Description
Claimed in the coordination issue as: ANIM-CLIPS-ATOMIC-JSON (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7192763047)
What and why
Writes --out\ JSON atomically in \ ools/anim_clips.py\ via _write_json_atomic\ (\os.path.realpath\ + \ empfile.mkstemp\ + \sync\ + \published_mode\ +
eplace_retry\ with cleanup on failure), preserving symlinks and permissions. Adds a regression test in \ ests/test_anim_clips.py.
Tested
GPUs tested: n/a (CPU-only Python tool & unit tests)
AI-assisted: yes
Checklist
eeds rebase).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.