Skip to content

Remove AllowMeterOverage and CanShowBillingIssueBanner #33

@BrewingCoder

Description

@BrewingCoder

Parent: #25 — Remove all SaaS billing code

What to Remove

Workspace struct

Field Line
AllowMeterOverage 300 (defaults to true)

AllWorkspaceSettings struct

Field Line
CanShowBillingIssueBanner 484 (defaults to false)

Callers

AllowMeterOverage

File Line Usage
private-graph/graph/resolver.go 497 Field mapping
private-graph/graph/schema.resolvers.go 3788-3795 UpdateAllowMeterOverage mutation
private-graph/graph/schema.graphqls 3128 GraphQL mutation definition
private-graph/graph/generated/generated.go 970, 6849-6859, 11703-11707 Generated resolvers

CanShowBillingIssueBanner

File Line Usage
model/model.go 2454 Set to false in EnableAllWorkspaceSettings
No other active readers — effectively dead code

Migration Required

  • Drop allow_meter_overage from workspaces
  • Drop can_show_billing_issue_banner from all_workspace_settings

Test Plan

  • Remove fields
  • Remove UpdateAllowMeterOverage mutation from GraphQL schema
  • Regenerate GraphQL code
  • Add column-drop migrations
  • Verify build + tests

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions