-
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:mediumtech-debt
Description
Parent: #25 — Remove all SaaS billing code
What to Remove
AWSMarketplaceCustomerstruct —model/model.go:378-384AWSMarketplaceCustomerfield onWorkspacestruct —model/model.go:272AWSMarketplaceCustomerentry inModelsslice —model/model.go:134aws-sdk-go-v2/service/marketplaceentitlementserviceimport (already removed from go.mod by tidy)aws-sdk-go-v2/service/marketplacemeteringimport (already removed from go.mod by tidy)
Callers (must be updated/removed)
| File | Line | Usage |
|---|---|---|
private-graph/graph/resolver.go |
499 | Join in query builder |
private-graph/graph/schema.resolvers.go |
6509-6512 | Null check + field access (CustomerIdentifier, CustomerAWSAccountID, ProductCode) |
worker/worker_test.go |
922 | Test: instantiation in workspace fixture |
Migration Required
- Add DB migration to drop
aws_marketplace_customerstable - Remove foreign key reference from workspaces
Test Plan
- Remove struct and Workspace field
- Update resolvers to remove AWS marketplace references
- Update worker_test.go fixture
- Add migration to drop table
- Verify build + tests pass
🤖 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:mediumtech-debt