Filedrop plugin crashes on malformed JSON instead of skipping #203
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Competitor
Kind/Documentation
Kind/Enhancement
Kind/Epic
Kind/Feature
Kind/Security
Kind/Story
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Scope/Core
Scope/Cross-Plugin
Scope/Plugin-System
Scope/Single-Plugin
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ultanio/cobot#203
Loading…
Add table
Add a link
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?
Bug
A malformed filedrop message (
1771086703_doxios_776c.json) caused Alpha to enter an infinite error loop. The filedrop plugin retries parsing the same broken file every minute without ever skipping or quarantining it.Root Cause
The message contained literal
$(date +%s)shell expressions instead of actual timestamp values, making the JSON unparseable.Expected Behavior
failed/orquarantine/directory after N retries (e.g. 3)Actual Behavior
Evidence
Corrupted file preserved at:
/olymp/filedrop/Alpha/processed/1771086703_doxios_776c_corrupted.jsonLog output (repeated every minute for hours):
Suggested Fix
inbox_errors/directoryDuplicate of #202 — I filed this earlier today after Zeus reported it via filedrop. Same root cause and proposed fix.