Skip to content

fix: address CodeRabbit test review comments#1

Merged
richardiitse merged 1 commit intofeature/claude-code-botfrom
fix/coderabbit-test-issues
Apr 12, 2026
Merged

fix: address CodeRabbit test review comments#1
richardiitse merged 1 commit intofeature/claude-code-botfrom
fix/coderabbit-test-issues

Conversation

@richardiitse
Copy link
Copy Markdown
Owner

Summary

Fixes CodeRabbit test review comments for PR larksuite#407:

  1. handler_test.go: Use &BotHandler{} directly for helper-level tests instead of passing nil SessionManager to NewBotHandler
  2. session_test.go: Clarify refresh timing in CleanupExpired test

Test Plan

  • All bot tests pass (go test ./shortcuts/bot/...)

- Use &BotHandler{} for helper tests that don't need SessionManager
- Add clarifying comment for CleanupExpired test timing
@richardiitse richardiitse merged commit cefc7b7 into feature/claude-code-bot Apr 12, 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.

1 participant