fix: error handling hardening — filedrop, persistence, tools #206
No reviewers
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!206
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/filedrop-error-handling"
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?
Closes #202
Audited 3 plugins for error handling issues:
Filedrop
_corruptedsuffix — no more infinite retry loop_quarantine_file,_safe_write_json,_parse_inbox_file,_move_to_processeddatetime.utcnow()→datetime.now(timezone.utc)(fixes deprecation)os.chmod 0o777→0o775(security: group-writable, not world-writable)Persistence
except: passOSErroron save logged, not crashTools
write_fileandedit_file7 new tests, 451 total passing.
54991ce97ed382732553aef20ad36739ce2e96b77c8ca3bbb00ad40a7df0View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.