aaronsb_obsidian-mcp-plugin/src
Aaron Bockelie 926b8fb363 refactor(mcp): address review of #244 — document SSE backstop, test teardown
Code review refinements (no behavior change):
- Make the SSE socket-exemption trade-off explicit: with setTimeout(0)
  there is no socket-layer idle reap, so a truly-dead SSE socket is
  bounded by the SessionManager's 1h idle eviction (which calls
  transport.close()) and the 32-session cap, not leaked unbounded. Note
  the finite-timeout alternative is deferred to live validation.
- Clarify the comment: the exemption matches any GET, but non-SSE GETs
  are short-lived so it's a harmless no-op for them.
- Add afterEach teardown disposing the SessionManager + connection-pool
  intervals (server.stop() short-circuits when never started), removing
  the test's leaked-timer warning.
- Strengthen the missing-socket test to assert the request still routes
  to the spec §2 400, not just that it doesn't throw.

Claude-Session: https://claude.ai/code/session_011yowKCMFCBp61DRBu5xQm4
2026-06-24 02:00:33 -05:00
..
config feat: Complete semantic MCP integration with direct Obsidian API 2025-06-27 12:33:59 -05:00
formatters fix(lint): clear debt surfaced by typescript-eslint 8.60 + obsidian 1.13.0 2026-06-09 11:06:16 -05:00
indexing fix: Address all review bot required issues - async, directives, globals 2026-02-04 17:08:43 -06:00
security fix(lint): clear debt surfaced by typescript-eslint 8.60 + obsidian 1.13.0 2026-06-09 11:06:16 -05:00
semantic fix(lint): use window timers + window.console; drop forbidden eslint-disables (closes #226) 2026-06-09 11:13:48 -05:00
tools fix(graph): count filtered seed set in root-traverse message 2026-06-09 10:46:00 -05:00
types fix: Eliminate all eslint any-type violations for Obsidian plugin review 2026-02-03 21:51:55 -06:00
utils refactor(mcp): use McpServer wrapper to drop deprecated Server reference 2026-06-09 11:57:01 -05:00
validation fix(lint): clear debt surfaced by typescript-eslint 8.60 + obsidian 1.13.0 2026-06-09 11:06:16 -05:00
browser-mcp-server.ts fix: Address all review bot required issues - async, directives, globals 2026-02-04 17:08:43 -06:00
main-complex.ts chore(lint): support eslint-plugin-obsidianmd@0.3.0 2026-05-15 15:01:03 -05:00
main-simple.ts fix: Eliminate all eslint any-type violations for Obsidian plugin review 2026-02-03 21:51:55 -06:00
main.ts feat(settings): surface connect/getting-started section at top 2026-06-24 00:50:03 -05:00
mcp-server.ts refactor(mcp): address review of #244 — document SSE backstop, test teardown 2026-06-24 02:00:33 -05:00
node-mcp-server.ts feat(network): wire classifier into server, settings, UI (ADR-107) 2026-05-24 16:56:24 -05:00
version.ts chore: Bump version to 0.11.33 2026-06-09 11:16:22 -05:00