Skip to content

housekeeper: remove dead signOut export from auth-client - #142

Merged
stonexer merged 1 commit into
superdesigndev:mainfrom
lufen:housekeeper/2026-07-15-dead-signout-export
Jul 16, 2026
Merged

housekeeper: remove dead signOut export from auth-client#142
stonexer merged 1 commit into
superdesigndev:mainfrom
lufen:housekeeper/2026-07-15-dead-signout-export

Conversation

@lufen

@lufen lufen commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Removes the unused signOut binding destructured in packages/server/src/lib/auth-client.ts.

Evidence

  • rg '\bsignOut\b' across the repo → only its own declaration in auth-client.ts. No component/route/test consumes it.
  • Its sibling exports are both live: signIn (SignIn.tsx) and useSession (used across auth-gated views).
  • authClient itself still exposes signOut directly (authClient.signOut) if a future caller needs it — this only drops the unused destructured binding.

Checks: pnpm -r typecheck (both packages) green. pnpm --filter @loopany/server test shows the same baseline pass/fail set as unmodified main in this sandbox (pre-existing env-specific timeouts/tmp-path failures unrelated to this change — verified by running the suite against main unmodified).

Made in a throwaway worktree off origin/main; the owner's checkout was never dirtied.

signOut was destructured from better-auth's client but never consumed
anywhere in the repo (signIn and useSession are both live, e.g.
SignIn.tsx). Removing the unused binding; authClient itself still
exposes signOut directly if ever needed.

Verified: pnpm -r typecheck green; pnpm --filter @loopany/server test
shows the same baseline pass/fail set as unmodified main (pre-existing
env-specific timeouts/tmp-path failures, unrelated to this change).
@stonexer

stonexer commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Thanks @lufen

@stonexer
stonexer merged commit 8c0abd2 into superdesigndev:main Jul 16, 2026
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.

3 participants