kugetsu queue list fails with JSON decode error #155
Reference in New Issue
Block a user
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?
Problem
kugetsu queue listfails with JSON decode error when queue has items:Root Cause
get_pending_tasks()outputs concatenated JSON objects (one per line), thenjson.load()expects a single JSON value.Fix
Rewrite
get_pending_tasks()to use Python directly to collect pending items and return a proper JSON array. No shell pipeline concatenation.