Skip to content

feat: display cache sizes in CLI #640

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

gordonwatts
Copy link
Collaborator

Summary

  • add --size option to servicex cache list to show cached data size with MB/GB/TB units
  • test cache listing with and without size option, including unit conversions

Testing

  • python -m black servicex/app/cache.py tests/app/test_cache.py
  • python -m flake8 servicex/app/cache.py tests/app/test_cache.py
  • pytest

https://chatgpt.com/codex/tasks/task_e_68912eef3d008320aba173552451c5ee

Copy link

codecov bot commented Aug 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.92%. Comparing base (1413cd7) to head (8177d09).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #640      +/-   ##
==========================================
+ Coverage   97.19%   97.92%   +0.73%     
==========================================
  Files          29       29              
  Lines        1959     1978      +19     
==========================================
+ Hits         1904     1937      +33     
+ Misses         55       41      -14     
Flag Coverage Δ
unittests 97.92% <100.00%> (+0.73%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gordonwatts gordonwatts self-assigned this Aug 5, 2025
@gordonwatts gordonwatts added the enhancement New feature or request label Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codex enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant