musiclink/docs/reviews/issues-status.md

1.6 KiB

Code Review Issues Status

CLI Entrypoints

  1. Matterbridge close on fatal pathDropped

    • Matterbridge runtime removed; no longer applicable.
  2. Smoke test hard-fails on external API issuesDefer

    • Acceptable for manual smoketest; revisit if automated CI uses it.

Bot Transport Layers

  1. Matterbridge message channel drop without metricsDropped

    • Matterbridge runtime removed; no longer applicable.
  2. Matrix send queue drops without marking dedupeFix

    • Should mark processed on drop or add retry/queue sizing safeguards.
  3. Matrix encrypted room handling is partialFix

    • Add startup check for encryption state or guard until encryption state known.
  4. Matrix send loop has no shutdown drainDefer

    • Low impact; log queue length or add best-effort drain later.
  5. State store cleanup only on message processingDefer

    • Low impact; consider periodic cleanup task if store grows.
  1. Detector misses common URL variantsFix

    • Expand regex for common variants (spoti.fi, Apple Music track URLs, etc.).
  2. Detector ignores formatted linksDefer

    • Requires HTML/Markdown parsing; not urgent for plain-text traffic.
  3. Resolver only processes first linkDefer

    • Clarify behavior or implement multi-link responses later.
  4. API error handling omits response bodyFix

    • Capture response body (bounded) on non-200 responses for debugging.
  5. Service mapping lacks Qobuz supportDefer

    • Decide whether to add Qobuz support or remove enum later.