Commit 900b66b
chore(saas): remove dead ErrorTrackingService island + credits path exclusion (Stirling-Tools#6718)
## What
Residual dead-code cleanup following the credits engine teardown
(Stirling-Tools#6687).
- **Delete the `ErrorTrackingService` dead island** (6 files): the
service, `UserErrorTrackerRepository`, `UserErrorTracker`,
`ProcessingErrorType`, `CreditsProperties`, and
`ErrorTrackingServiceTest`. These formed a self-referential cluster with
**zero external callers** once the credit machinery was removed.
- **Remove `/api/v1/credits/**`** from both `excludePathPatterns` blocks
in `PaygWebMvcConfig` — the credits controller no longer exists, so the
exclusion is defunct. (spotless collapsed the lists to one line.)
## Verification
- `./gradlew :saas:compileJava :saas:compileTestJava` → **BUILD
SUCCESSFUL**
- grep confirms zero dangling references to the deleted types
## Not in scope (deliberately deferred)
Destructive DB drops
(`user_credits`/`team_credits`/`user_subscription_plans` tables, dead
`payg_shadow_charge` columns, `user_error_tracker` table) are gated
behind the post-release soak (`live_ratio==1.0 ≥7d`) and tracked in a
separate bundle.
Co-authored-by: EthanHealy01 <80844253+EthanHealy01@users.noreply.github.com>1 parent c3795c1 commit 900b66b
7 files changed
Lines changed: 2 additions & 1261 deletions
File tree
- app/saas/src
- main/java/stirling/software/saas
- config
- model
- payg/filter
- repository
- service
- test/java/stirling/software/saas/service
Lines changed: 0 additions & 75 deletions
This file was deleted.
Lines changed: 0 additions & 139 deletions
This file was deleted.
Lines changed: 0 additions & 95 deletions
This file was deleted.
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 65 | + | |
70 | 66 | | |
71 | 67 | | |
72 | 68 | | |
73 | 69 | | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 70 | + | |
79 | 71 | | |
80 | 72 | | |
81 | 73 | | |
Lines changed: 0 additions & 41 deletions
This file was deleted.
0 commit comments