Skip to content

[codex] Remove unused Supabase request auth helper#186

Open
user-in-search-of-a-name wants to merge 1 commit into
willchen96:mainfrom
user-in-search-of-a-name:codex/remove-dead-supabase-auth-helper
Open

[codex] Remove unused Supabase request auth helper#186
user-in-search-of-a-name wants to merge 1 commit into
willchen96:mainfrom
user-in-search-of-a-name:codex/remove-dead-supabase-auth-helper

Conversation

@user-in-search-of-a-name

Copy link
Copy Markdown

Summary

Removes the unused getUserIdFromRequest helper from backend/src/lib/supabase.ts.

Why

The helper is not referenced anywhere in the repository. Authenticated backend routes use the existing Express middleware flow instead, so keeping this helper adds dead code and an extra request-style auth path that is no longer used.

Changes

  • Deleted the unused request JWT helper from backend/src/lib/supabase.ts
  • Left createServerSupabase unchanged

Testing

  • rg "getUserIdFromRequest" . returns no matches
  • git diff --check passes

Note: I could not run npm run build --prefix backend in this local shell because the checkout does not have dependencies installed.

@user-in-search-of-a-name user-in-search-of-a-name marked this pull request as ready for review June 19, 2026 19:05
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