Skip to content

feat(scripts): display available disk space in cleanup stats table - #337

Merged
AnkushMalaker merged 1 commit into
SimpleOpenSoftware:devfrom
omer-said-bayhan:dev
Jul 21, 2026
Merged

feat(scripts): display available disk space in cleanup stats table#337
AnkushMalaker merged 1 commit into
SimpleOpenSoftware:devfrom
omer-said-bayhan:dev

Conversation

@omer-said-bayhan

Copy link
Copy Markdown
Contributor

🚀 Summary of Changes

Added a new metric to the system stats table in cleanup_state.py to display the Available Disk Space (DATA_DIR).

🛠 Details

  • Implemented shutil.disk_usage check to evaluate remaining storage space dynamically.
  • Formatted the disk size output using the existing _human_size helper function for readability.
  • Highlighted the metric entry in the Rich terminal table for improved visibility (bold cyan).

📝 Notes

  • Changes were made directly via the GitHub web editor interface.
  • Local execution/testing could not be performed prior to submitting this PR; kindly review and test before merging.

@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 176a66ab-ee38-4f27-a42d-ee6b1d6ea779

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@omer-said-bayhan

Copy link
Copy Markdown
Contributor Author

if you accept PR. I want help more

@AnkushMalaker
AnkushMalaker merged commit c657dcb into SimpleOpenSoftware:dev Jul 21, 2026
1 check passed
@AnkushMalaker

Copy link
Copy Markdown
Collaborator

@omer-said-bayhan hey! Im happy to accept PRs yeah
This looks good thanks!

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.

2 participants