-
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:databasepriority:hightech-debt
Description
Parent: #25 — Remove all SaaS billing code
Depends on: #28 (pricing removal — some of these fields are read by pricing code)
What to Remove from Workspace struct
| Field | Line | Type |
|---|---|---|
StripeCustomerID |
271 | *string |
StripeSessionOveragePriceID |
294 | *string |
StripeErrorOveragePriceID |
295 | *string |
StripeLogOveragePriceID |
296 | *string |
StripeTracesOveragePriceID |
297 | *string |
StripeMetricsOveragePriceID |
298 | *string |
Callers
| File | Line | Usage |
|---|---|---|
private-graph/graph/schema.resolvers.go |
4803-4804 | StripeCustomerID null check + return |
private-graph/graph/schema.resolvers.go |
4824 | StripeCustomerID assignment in mutation |
private-graph/graph/resolver.go |
520-524 | All 5 overage price IDs mapped to response |
private-graph/graph/resolver.go |
522 | StripeSessionOveragePriceID |
Migration Required
- Add DB migration to drop 6 columns from
workspacestable
Test Plan
- Remove fields from struct
- Update resolvers (return empty/nil)
- Update GraphQL schema if these fields are exposed
- Add column-drop migration
- 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:databasepriority:hightech-debt