Commit Graph

4 Commits

Author SHA1 Message Date
Developer
349d783fd1 refactor: clean up project structure
- Remove old review reports (keep latest only)
- Move docs/ to deploy/docs-backup/
- Move performance-testing/ to deploy/
- Clean up test output files
- Organize root directory
2026-04-06 23:36:03 +08:00
Developer
daae3497af fix: add getModelStats mock to UsageView.spec.ts
- Add missing getModelStats mock to fix "adminAPI.dashboard.getModelStats is not a function" warning
2026-04-03 00:07:50 +08:00
Developer
c303817800 test: fix AccountStatusIndicator and AccountUsageCell tests
Some checks failed
CI / test (push) Has been cancelled
CI / golangci-lint (push) Has been cancelled
Security Scan / backend-security (push) Has been cancelled
Security Scan / frontend-security (push) Has been cancelled
- AccountStatusIndicator: fix i18n key assertion (account.x → admin.accounts.status.x)
- AccountUsageCell: fix getUsage mock assertion to include undefined source param
2026-04-01 14:41:10 +08:00
Developer
da36506b89 fix: resolve P0/P1 code quality issues
P0 fixes:
- ModelError.Is(): use exact matching instead of substring contains()
- shouldClearStickySession: add context param for cancellation/tracing

P1 fixes:
- TODO stubs: return 501 Not Implemented errors
- validateInstanceSignature: deduplicate to shared validateCodeSignature()
- Error messages: standardize to English only
- http.go: remove pseudo if-else with duplicate branches
2026-03-31 11:39:18 +08:00