Skip to content

Add disk space checking (#54)#85

Open
trek-e wants to merge 2 commits intorubenwe:masterfrom
trek-e:feature/disk-space-check
Open

Add disk space checking (#54)#85
trek-e wants to merge 2 commits intorubenwe:masterfrom
trek-e:feature/disk-space-check

Conversation

@trek-e
Copy link
Copy Markdown

@trek-e trek-e commented Jan 24, 2026

Summary

Adds disk space monitoring when storing preview images to prevent filling up the disk during large imports.

Changes

  • Check available disk space before writing each preview
  • Warning logged when < 100 MB remaining (once per session)
  • Preview storage skipped when < 10 MB remaining
  • Uses DriveInfo.AvailableFreeSpace for cross-platform support

Thresholds

Level Threshold Action
Warning < 100 MB Log warning (once)
Critical < 10 MB Skip storage, log error

🤖 Generated with Claude Code

trek-e and others added 2 commits January 23, 2026 18:39
- STACK.md - Technologies and dependencies
- ARCHITECTURE.md - System design and patterns
- STRUCTURE.md - Directory layout
- CONVENTIONS.md - Code style and patterns
- TESTING.md - Test structure
- INTEGRATIONS.md - External services
- CONCERNS.md - Technical debt and issues
- Check available disk space before writing preview images
- Log warning when < 100 MB remaining (once per session)
- Skip writing and log error when < 10 MB remaining
- Prevents filling up disk during large imports

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant