chore: remove dead code from durable stream migration#1580
Conversation
|
No actionable comments were generated in the recent review. 🎉 📝 WalkthroughWalkthroughThis PR removes Anthropic credential orchestration helpers (getExistingClaudeCredentials, buildClaudeEnv, hasClaudeCredentials), deletes the useChatPresence hook and its types, updates durable-session exports to expose useDurableChat symbols, and removes OAuth credential storage from the local DB schema. (49 words) Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🧹 Preview Cleanup CompleteThe following preview resources have been cleaned up:
Thank you for your contribution! 🎉 |
- Remove unused `oauthCredentials` column and `OAuthCredentialEntry` type from local-db settings schema (never read/written) - Remove dead `useChatPresence` hook (calls nonexistent API endpoints) - Remove dead auth helpers: `buildClaudeEnv`, `hasClaudeCredentials`, `getExistingClaudeCredentials` (never called)
5f9480a to
6820fac
Compare
Summary
oauthCredentialscolumn andOAuthCredentialEntrytype from local-db settings schema (never read or written anywhere)useChatPresencehook — calls/loginand/logoutendpoints that don't exist in the API route handlerbuildClaudeEnv,hasClaudeCredentials,getExistingClaudeCredentials) — never called by any codeTest plan
bunx tsc --noEmiton durable-session, desktop, local-db)Summary by CodeRabbit