Skip to content

chore(app): strip comments from src - #5

Merged
perminder-klair merged 2 commits into
mainfrom
chore/strip-src-comments
Nov 15, 2026
Merged

perminder-klair merged 2 commits into
mainfrom
chore/strip-src-comments

Conversation

@perminder-klair

@perminder-klair perminder-klair commented Nov 15, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Removes 556 comments from 82 files under src/ (72 lines added, 1,246 deleted). Only comments change.

 kept
   exported API docs (StationApi, readJson, loginHeaders, StreamRecovery, PlaybackLog, …)
   outside rules checked against dependency sources (RNTP, SwiftAudioEx, Hermes, RFC 7235, Icecast burst)
   outside rules not yet checked (Icecast, RNTP, AVPlayer, Cast, ActivityKit, store policy), kept word for word
   issue links that explain a constraint (#546)
   react-hooks/refs suppressions where refs are read only in callbacks that run after render
-narration, banners, our-code reasoning headers
-eslint-disable react-hooks/exhaustive-deps in onboarding.tsx

The 72 added lines are code lines with a trailing comment removed, empty catch {} blocks left behind, and one fix: the onboarding auto-run effect now lists runCheck in its dependencies. Its autoRan ref still limits it to one run.

src/lib/request-outcome.ts is unchanged, because a test requires it to match the web copy byte for byte.

Evidence

  • Before: npm test 493/493, tsc --noEmit clean, eslint src clean
    After: npm test 493/493, tsc --noEmit clean, eslint src 0 errors and 1 warning (runCheck should be wrapped in useCallback; CI fails only on errors)

Merge Danger

Door: two-way

No runtime change. Reverting the commit brings back every comment.

Blast Radius: docs

CLAUDE.md is reworded so it no longer points at the deleted headers: the stream-recovery and readJson pointers are fixed, and the Station login rule now says which two checks read a login.

@perminder-klair
perminder-klair merged commit c534a8b into main Nov 15, 2026
2 checks passed
@perminder-klair
perminder-klair deleted the chore/strip-src-comments branch November 15, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant