-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
area:backendbilling-removalRemoval of upstream SaaS billing codeRemoval of upstream SaaS billing codecomponent:databasecomponent:graphqlpriority:mediumtech-debt
Description
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_overagefromworkspaces - Drop
can_show_billing_issue_bannerfromall_workspace_settings
Test Plan
- Remove fields
- Remove
UpdateAllowMeterOveragemutation from GraphQL schema - Regenerate GraphQL code
- Add column-drop migrations
- Verify build + tests
🤖 Generated with Claude Code
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:backendbilling-removalRemoval of upstream SaaS billing codeRemoval of upstream SaaS billing codecomponent:databasecomponent:graphqlpriority:mediumtech-debt