Skip to content

feat: add one-off scheduled clean flow - #318

Merged
pashkov256 merged 1 commit into
pashkov256:mainfrom
jasperan:codex/schedule-one-off-clean
Apr 4, 2026
Merged

pashkov256 merged 1 commit into
pashkov256:mainfrom
jasperan:codex/schedule-one-off-clean

Conversation

@jasperan

@jasperan jasperan commented Apr 4, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add a dedicated TUI page for scheduling a single future clean run
  • snapshot the saved rules, then execute the clean once when the timer fires
  • keep the schedule session-bound so the run happens while Deletor stays open
  • add cleanup and TUI coverage for the new one-off scheduling flow

Testing

  • go test ./...

Issue

Closes #238

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 48.53420% with 158 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
internal/tui/views/schedule.go 49.25% 81 Missing and 21 partials ⚠️
internal/cleanup/one_off.go 60.24% 20 Missing and 13 partials ⚠️
internal/tui/app.go 0.00% 22 Missing ⚠️
internal/tui/views/menu.go 0.00% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@pashkov256
pashkov256 merged commit 1a5a052 into pashkov256:main Apr 4, 2026
1 check passed
@pashkov256

Copy link
Copy Markdown
Owner

Hi @jasperan. Great solution, thanks for contributing to the repository. Would it be difficult for you to put a star on the repository for promotion?

@jasperan

jasperan commented Apr 4, 2026

Copy link
Copy Markdown
Contributor Author

done @pashkov256 !

@jasperan
jasperan deleted the codex/schedule-one-off-clean branch April 4, 2026 20:04
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.

Create a TUI for scheduled cleaning

3 participants