mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-27 00:20:53 +01:00
[PR #1186] awc_cue_labels: reject excessively nested JSON (AWC-CUE-JSON-DEPTH) #1218
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#1218
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/1186
Author: @Taffyyy-ops
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:fix/awc-cue-json-depth📝 Commits (2)
bb91633awc_cue_labels: reject excessively nested JSON (AWC-CUE-JSON-DEPTH)6722fc8awc_cue_labels: enforce deterministic JSON nesting depth cap📊 Changes
2 files changed (+89 additions, -1 deletions)
View changed files
➕
tests/test_awc_cue_json_depth.py(+58 -0)📝
tools/awc_cue_labels.py(+31 -1)📄 Description
Claimed in the coordination issue as: AWC-CUE-JSON-DEPTH
What and why
A deeply nested invalid cue sheet raises RecursionError during JSON decoding and prints a traceback. Convert it to a concise ValueError so the CLI exits cleanly without publishing a label directory.
Tested
AI-assisted: yes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.