mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:05:54 +01:00
[PR #2005] tools/script_qtable: add empty --json and atomic write regression tests (SCRIPT-QTABLE-ATOMIC-JSON) #2013
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#2013
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/2005
Author: @Ch1mpleo
Created: 11/25/2026
Status: 🔄 Open
Base:
main← Head:fix/script-qtable-atomic-json📝 Commits (2)
a1a3187tools/script_qtable: reject empty --json and write report atomically (SCRIPT-QTABLE-ATOMIC-JSON)34416c8tools/script_qtable: remove duplicate _write_json_atomic shadowing symlink-preserving helper📊 Changes
1 file changed (+29 additions, -0 deletions)
View changed files
📝
tests/test_script_qtable.py(+29 -0)📄 Description
Claimed in the coordination issue as: SCRIPT-QTABLE-ATOMIC-JSON (https://github.com/ubiquitarianism/leonida/issues/1608#issuecomment-7170215117)
What and why
Adds \ est_empty_json_rejected_and_atomic_write_preserves_existing\ to \ ests/test_script_qtable.py\ (and _write_json_atomic\ helper in \ ools/script_qtable.py) verifying empty --json\ refusal and atomic JSON write preservation on
eplace_retry\ failure.
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.