You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(analytics): make service error-resilient, fix failing tests (#3361)
* fix(billing): replace dot separator with underscore in counter keys
requireQuota middleware and getUsage controller built counter keys with
dots (resource.action) which are rejected by SAFE_KEY_RE in the usage
repository, causing 422 errors on quota-checked endpoints. Switch to
underscore separator to match the allowed pattern.
Closes#3350
* fix(home): isolate test user to prevent duplicate key errors
Clean up admin user in afterAll and use a unique email prefix
(admin-home-health) to avoid E11000 collisions when running all
test suites together via test:coverage.
Closes#3348
* fix(analytics): make service error-resilient, fix 5 failing tests
Wrap track/identify/groupIdentify in try/catch so the analytics service
never throws — callers no longer need defensive try/catch wrappers.
Update resilience tests to expect not.toThrow instead of toThrow.
Closes#3340
* fix(docs): align ERRORS.md checklist format with actual ERRORS.md convention
Use `[YYYY-MM-DD] <scope>: <wrong> -> <right>` format instead of
the generic "symptom, root cause, fix" description.
* fix(billing): update stale comment to match underscore separator
Copy file name to clipboardExpand all lines: .claude/skills/feature/SKILL.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -93,7 +93,7 @@ If an action affects another user:
93
93
-[ ] Templates created for each email type
94
94
95
95
**Error documentation:**
96
-
-[ ] If a non-obvious bug was fixed, document it in `ERRORS.md` (root of repo) with: symptom, root cause, fix
96
+
-[ ] If a non-obvious bug was fixed, add a single-line entry to `ERRORS.md` (root of repo) using format: `[YYYY-MM-DD] <scope>: <wrong> -> <right>` (see existing examples in `ERRORS.md`)
0 commit comments