Skip to content

revert(quota): drop per-user note quota grant - #295

Merged
kevwilliams merged 1 commit into
mainfrom
revert/notes-user-quota
Sep 19, 2026
Merged

kevwilliams merged 1 commit into
mainfrom
revert/notes-user-quota

Conversation

@kevwilliams

Copy link
Copy Markdown
Contributor

Reverts #291.

Why

#291 granted every user an allowance for notes.miloapis.com/user-notes, to meter notes on contacts against their author. The milo side that defined and claimed that resource type (milo-os/milo#793) has been closed — notes on contacts are only ever created by platform users, so there's nothing to meter.

That leaves this policy minting a ResourceGrant per user for a resource type that no longer exists anywhere, growing with every new user.

Blast radius

None. Nothing claims user-notes now that milo-os/milo#793 is closed, and a grant for a resource type with no claims is inert. The project-scoped notes grant (100 per project) is untouched and still doing real work.

Contact notes keep working — milo-os/milo#792 is what fixed those, and it does so by not creating a claim at all, so it needs no grant.

Test plan

  • kustomize build config/services/notes.miloapis.com renders only the project grant policy
  • All top-level kustomizations still build
  • No remaining references to user-notes in config

Reverts #291. The milo side that would have consumed this was dropped:
notes on contacts are only ever created by platform users, so there is
nothing to meter and the resource type it grants no longer exists.

Left as-is this mints a ResourceGrant per user for a resource type nothing
claims, growing with every new user. The project-scoped notes grant is
untouched and still does real work.
@kevwilliams
kevwilliams requested a review from a team as a code owner September 19, 2026 00:01
@kevwilliams
kevwilliams merged commit a7f5656 into main Sep 19, 2026
9 checks passed
@kevwilliams
kevwilliams deleted the revert/notes-user-quota branch September 19, 2026 00:23
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.

2 participants