feat(feishu): implement #308 #172 #307#364
Open
aaronwong1989 wants to merge 1 commit intohrygo:mainfrom
Open
Conversation
- hrygo#308: Add CardKit API exponential backoff retry (SendCardWithRetry) * 3 retries, 100ms initial delay, 5s max delay * Retry on network errors and 5xx, no retry on 4xx * Used in streaming.go for card message sending - hrygo#172: Integrate ProcessorChain into Feishu adapter * Add processorChain field to Adapter struct * Initialize with NewDefaultProcessorChain using FeishuConverter * Route defaultSender through processor chain before sending * Create FeishuConverter for Markdown -> Feishu format conversion - hrygo#307: WebSocket and CardKit test coverage improvement * Add CardKit retry logic tests (isRetryableError, calculateBackoff) * Add WebSocket reconnect/handler tests * Add streaming writer state tests * Add processor chain integration tests * Coverage: 39.3% -> 46.8% - Fix MockFeishuClient to implement SendCardWithRetry interface
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #364 +/- ##
==========================================
+ Coverage 60.29% 60.42% +0.12%
==========================================
Files 229 230 +1
Lines 24353 24463 +110
==========================================
+ Hits 14684 14781 +97
- Misses 9669 9682 +13
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implement Feishu streaming card API and related features.
Changes
Related Issues