chore(lint): reduce warning debt across core adapters and model clients
This commit is contained in:
+26
-1
@@ -2649,7 +2649,7 @@
|
||||
"test_status": "pnpm test:run src/gateway/server.test.ts src/tools/executor.test.ts src/backends/native/orchestrator.test.ts src/daemon/routing.test.ts + pnpm typecheck + pnpm lint passing (0 errors, warnings remain)"
|
||||
},
|
||||
"audit-followup-lint-warning-reduction-pass-1": {
|
||||
"status": "in_progress",
|
||||
"status": "completed",
|
||||
"date": "2026-02-16",
|
||||
"updated": "2026-02-16",
|
||||
"summary": "Continued stage-2 lint warning reduction with hotspot-focused cleanup in `gateway/handlers/handlers.test.ts`, `daemon/routing.test.ts`, `frontends/tui/minimal.test.ts`, `gateway/tailscale.test.ts`, `automation/webhooks.test.ts`, `automation/cron.test.ts`, `automation/heartbeat.test.ts`, `frontends/tui/minimal.login.test.ts`, `daemon/clientFactory.test.ts`, `gateway/handlers/services.test.ts`, `models/local/llamacpp.test.ts`, `models/local/ollama.test.ts`, and `tools/builtin/image-analyze.test.ts`. Replaced broad `any` casts with typed helper casts/unknown-path accessors and removed non-null assertions in high-warning tests. Warning count reduced from 466 to 203 (263 warnings burned down) with lint/test suites still green.",
|
||||
@@ -2675,6 +2675,31 @@
|
||||
"docs/plans/analysis/2026-02-16-codebase-audit-report.md"
|
||||
],
|
||||
"test_status": "pnpm test:run src/channels/utils.test.ts src/channels/discord/adapter.test.ts src/channels/slack/adapter.test.ts src/channels/whatsapp/adapter.test.ts src/daemon/routing.test.ts src/gateway/handlers/handlers.test.ts src/frontends/tui/minimal.test.ts src/gateway/tailscale.test.ts src/automation/webhooks.test.ts src/automation/cron.test.ts src/automation/heartbeat.test.ts src/frontends/tui/minimal.login.test.ts src/daemon/clientFactory.test.ts src/gateway/handlers/services.test.ts src/models/local/llamacpp.test.ts src/models/local/ollama.test.ts src/tools/builtin/image-analyze.test.ts + pnpm lint passing (0 errors, 203 warnings)"
|
||||
},
|
||||
"audit-followup-lint-warning-reduction-pass-2": {
|
||||
"status": "in_progress",
|
||||
"date": "2026-02-16",
|
||||
"updated": "2026-02-16",
|
||||
"summary": "Continued warning burn-down on current hotspots by removing non-null assertions and broad `any` usage, tightening adapter/client typing, and cleaning unused imports/params across orchestrator/model/channel/gateway/TUI/doctor files and selected tests. Warning count reduced from 203 to 115 (88 warnings burned down) while keeping lint at 0 errors.",
|
||||
"files_modified": [
|
||||
"src/backends/native/agent.ts",
|
||||
"src/backends/native/orchestrator.test.ts",
|
||||
"src/channels/discord/adapter.ts",
|
||||
"src/channels/whatsapp/adapter.ts",
|
||||
"src/cli/doctor.ts",
|
||||
"src/cli/setup/providers.test.ts",
|
||||
"src/frontends/tui/minimal.ts",
|
||||
"src/gateway/server.ts",
|
||||
"src/gateway/session-bridge.test.ts",
|
||||
"src/memory/hybrid-search.test.ts",
|
||||
"src/models/anthropic.ts",
|
||||
"src/models/local/ollama.ts",
|
||||
"src/models/openai.oauth.test.ts",
|
||||
"src/models/openai.ts",
|
||||
"src/models/router.test.ts",
|
||||
"src/skills/installer.test.ts"
|
||||
],
|
||||
"test_status": "pnpm exec eslint on edited files + pnpm lint passing (0 errors, 115 warnings)"
|
||||
}
|
||||
},
|
||||
"overall_progress": {
|
||||
|
||||
Reference in New Issue
Block a user