Skip to content

feat: add cloud quota usage display and version pruning#8433

Merged
rubenfiszel merged 3 commits intomainfrom
cloud-quotas-pruning
Mar 18, 2026
Merged

feat: add cloud quota usage display and version pruning#8433
rubenfiszel merged 3 commits intomainfrom
cloud-quotas-pruning

Conversation

@rubenfiszel
Copy link
Contributor

Summary

  • Adds GET /w/{workspace}/workspaces/cloud_quotas endpoint returning current usage counts, limits, and prunable version counts for scripts, flows, apps, variables, and resources
  • Adds POST /w/{workspace}/workspaces/prune_versions endpoint to delete old non-HEAD versions of scripts, flows, or apps (admin-only, cloud-only)
  • Adds CloudQuotas component in workspace settings General tab (cloud only) showing a quota usage table with prune buttons and a confirmation drawer

Test plan

  • cargo check passes
  • npm run check passes (0 errors)
  • Manual: temporarily set isCloudHosted() to true, navigate to workspace settings > General tab, verify quota table renders
  • Manual: verify prune buttons appear when prunable > 0, drawer opens with correct counts
  • Manual: verify pruning succeeds and counts update after prune

🤖 Generated with Claude Code

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Mar 18, 2026

Deploying windmill with  Cloudflare Pages  Cloudflare Pages

Latest commit: ef1096b
Status:⚡️  Build in progress...

View logs

rubenfiszel and others added 3 commits March 18, 2026 11:56
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@rubenfiszel rubenfiszel force-pushed the cloud-quotas-pruning branch from a5a7b70 to ef1096b Compare March 18, 2026 11:59
@rubenfiszel rubenfiszel merged commit 391da1d into main Mar 18, 2026
12 of 13 checks passed
@rubenfiszel rubenfiszel deleted the cloud-quotas-pruning branch March 18, 2026 12:03
@github-actions github-actions bot locked and limited conversation to collaborators Mar 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant