Measure website storage on hosting accounts #32

Merged
parkel merged 3 commits from feature/website-storage-usage into main 2026-11-21 13:57:30 +01:00
Owner

Summary

  • Measure allocated disk space in a managed website’s document root as the site's operating-system user.
  • Let operators queue a measurement through the existing web worker. Show the last successful result and timestamp to viewers of the hosting account.
  • Keep the previous result if a refresh fails. Skip an outdated request when the account’s primary domain changes.
  • Add the storage-usage command for web nodes and document both workflows.

Verification

  • Ruff formatting and lint checks passed. All 278 tests passed and the migration check found no additional changes.
  • On Ubuntu 24.04 and 26.04, verified allocated bytes with sparse files, hard links, and symlinks.
  • Verified both the node command and a panel request through a running Celery worker and its Unix socket.
## Summary - Measure allocated disk space in a managed website’s document root as the site's operating-system user. - Let operators queue a measurement through the existing web worker. Show the last successful result and timestamp to viewers of the hosting account. - Keep the previous result if a refresh fails. Skip an outdated request when the account’s primary domain changes. - Add the `storage-usage` command for web nodes and document both workflows. ## Verification - Ruff formatting and lint checks passed. All 278 tests passed and the migration check found no additional changes. - On Ubuntu 24.04 and 26.04, verified allocated bytes with sparse files, hard links, and symlinks. - Verified both the node command and a panel request through a running Celery worker and its Unix socket.
parkel added 3 commits 2026-11-21 13:41:17 +01:00
Document website storage measurement
Coulobre Panel CI / Checks (Python 3.12) (pull_request) Canceled after 0s
Coulobre Panel CI / Checks (Python 3.14) (pull_request) Canceled after 0s
68eafa9cfd
parkel merged commit 472c52caf9 into main 2026-11-21 13:57:30 +01:00
parkel deleted branch feature/website-storage-usage 2026-11-21 13:57:30 +01:00
Sign in to join this conversation.