Upstream #2178 item 1: DecompressSize-style bound for policy capacity. PolicySetting.MaxTotalSize caps cumulative entity bytes under a policy; PrepareUpload, batch upload validation, and copyFiles all enforce it. copyFiles tracks a baseline usage + locally accumulated batches because entities written inside its transaction are invisible to the usage query. The canonical ErrInsufficientCapacity is returned unwrapped so upstream errors.Is quota handling still matches; the policy detail is logged server-side. Admin policy editor gains a Max total capacity SizeInput. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>pull/3589/head
parent
ce6b33267e
commit
6ef462f412
Loading…
Reference in new issue