fix: transport error hardening and aitable filter compatibility#98
Open
ybcstudy wants to merge 1 commit intoDingTalk-Real-AI:mainfrom
Open
fix: transport error hardening and aitable filter compatibility#98ybcstudy wants to merge 1 commit intoDingTalk-Real-AI:mainfrom
ybcstudy wants to merge 1 commit intoDingTalk-Real-AI:mainfrom
Conversation
- Increase retry attempts from 2 to 3 for transient failures - Add HTTP 429 (rate limit) handling with Retry-After header support - Improve EOF/connection reset error detection and retry logic - Add body preview extraction for better error diagnostics - Include HTTP status code in error messages for non-2xx responses - Support both JSON string and array formats for aitable --filters flag - Update httpStatusError signature across all test files
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.
改动概述
Transport 层错误处理健壮性增强 + AITable --filters 兼容性修复。
改动内容
client.goclient.goclient.goclient.goclient.goaitable_commands.go测试
go test ./internal/transport/...✅go test ./internal/helpers/...✅