Skip to content

Revamp admin storage usage economics - #1151

Merged
benben merged 1 commit into
mainfrom
feat/admin-storage-economics
Sep 3, 2026
Merged

Revamp admin storage usage economics#1151
benben merged 1 commit into
mainfrom
feat/admin-storage-economics

Conversation

@benben

@benben benben commented Sep 3, 2026

Copy link
Copy Markdown
Member

Summary

  • make the admin usage views storage-only and aggregate historical team-stamped rows by organization
  • replace editable compute scenarios with fixed US/EU progressive customer storage pricing
  • separate allocated AWS us-east-1 S3 list cost, customer price, gross profit, and gross margin
  • explain GiB-hours, binary units, cost, price, and margin with accessible tooltips
  • add WTD/MTD presets to organization usage

Pricing model

  • converts retained GiB-hours to GiB-month using the actual hours in the selected UTC calendar month
  • prices each organization independently under the selected customer schedule
  • applies AWS S3 Standard tiers to aggregate usage in the view, then allocates that list-rate estimate by usage
  • labels the AWS figure as an estimate rather than an invoice or CUR charge

Testing

  • just ui-test (178 tests, typecheck, production build)
  • just lint
  • just ci passes lint/unit/scenario suites; the local integration recipe has unrelated existing catalog-state failures after cursor/USE tests

@github-actions

github-actions Bot commented Sep 3, 2026

Copy link
Copy Markdown

Test Impact Plan

Deterministic summary of how this PR changes tests, CI runners, and coverage-risk signals.

Summary

Area Added Changed Deleted
Test files 0 0 0
E2E/journey files 0 0 0
Workflow files 0 0 0

Signals

  • Test cases: +0 / -0
  • Assertions: +0 / -0
  • Skips or known failures added: 0
  • Workflow continue-on-error added: 0
  • Workflow path filters added: 0
  • Test commands removed from justfile: 0
  • E2E/journey retry lines added: 0

Coverage risk: neutral or increased

No coverage-reduction warnings detected.

@benben
benben merged commit b3b8665 into main Sep 3, 2026
24 checks passed
@benben
benben deleted the feat/admin-storage-economics branch September 3, 2026 10:55
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