[Enhancement] Standardize connection-string option compatibility across Go, .NET, Node.js and Swift SDKs
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
調査の方向性
Start by reading related issue #4210 and tracing connection-string parsing and tests in the Go, .NET, Node.js, and Swift SDKs, then compare Rust’s behavior for retry-count errors and TLS defaults. The issue calls for coordinated compatibility decisions across several SDKs, including option precedence and error classification. Done means the agreed behavior is implemented and tested in each affected SDK, with the corresponding documentation updated.
索引モデルが issue の本文から書いたものです。
説明
Problem
Issue #4210 introduces standardized connection-string options in the Rust SDK, including:
- reconnection_max_retries
- tls_validate_certificate
However, the Go, .NET, Node.js and Swift SDKs currently reject these options as unknown keys.
This creates inconsistent connection-string behavior across SDKs and prevents applications from reliably reusing the same configuration across supported languages.
Additionally, the Rust changes introduce an error-classification difference for malformed retry counts:
- Rust: Returns InvalidConnectionString instead of the previous InvalidNumberValue.
- Go and Swift: keeps the previous InvalidNumberValue behavior.
- QUIC: Also affected by the Rust error-classification change.
These differences should be reviewed and standardized where appropriate.
Proposed Solution
Extend the affected SDKs to recognize standardized connection-string options while preserving backward compatibility, existing security defaults, and consistent error handling.
- Standardized Connection-String Options
- Add support for reconnection_max_retries and tls_validate_certificate where applicable.
- Preserve existing legacy option names as backward-compatible aliases.
- Document deprecated aliases and their replacements.
- Ensure parsed values propagate correctly to the underlying client configuration.
- Define consistent behavior for duplicate options, including precedence rules.
- Reject malformed boolean and numeric values with appropriate errors.
- Error Classification Consistency
- Audit error handling for malformed retry counts across Rust, Go, .NET, Node.js, and Swift.
- Establish the expected error classification for invalid numeric values.
- Align Go and Swift with the agreed contract where appropriate.
- Preserve compatibility with existing consumers wherever possible.
- Document any intentional changes to error classifications.
- TLS Security and Compatibility
- Preserve each SDK’s existing certificate-validation defaults unless a change is explicitly reviewed and approved.
- Ensure tls_validate_certificate correctly controls certificate verification where supported.
- Document security implications when certificate verification is explicitly disabled.
- Avoid introducing unintended changes to existing TLS behavior.
- Documentation
- Update connection-string documentation for affected SDKs.
- Document canonical option names and deprecated aliases.
- Provide consistent configuration examples.
- Document SDK-specific limitations and intentional behavioral differences.
Testing
Add regression tests covering:
- Canonical connection-string option recognition.
- Legacy option compatibility.
- Invalid boolean and numeric values.
- Duplicate-option precedence.
- TLS certificate-validation defaults.
- Explicit TLS verification configuration.
- Correct propagation of parsed options.
- Error classification for malformed retry counts.
- Cross-SDK connection-string compatibility.
Where feasible, use shared test fixtures to verify consistent behavior across implementations.
Acceptance Criteria
- Go SDK recognizes the applicable standardized options.
- .NET SDK recognizes the applicable standardized options.
- Node.js SDK recognizes the applicable standardized options.
- Swift SDK recognizes the applicable standardized options.
- Existing connection strings remain backward compatible.
- Canonical and legacy option behavior is documented.
- Error classification is reviewed and aligned where appropriate.
- TLS defaults remain secure and documented.
- Configuration values propagate correctly.
- Relevant regression tests pass.
- Cross-SDK compatibility tests are added where feasible.
- Documentation reflects supported options and intentional differences.
Related Issues
- #4210: Use the same connection-string key for the same option on every transport.
This issue tracks cross-SDK compatibility and error-handling consistency identified during the review of the Rust connection-string changes associated with #4210.
- 主要言語
- Rust
- スター
- 5.3k
- フォーク
- 548
- 平均マージ
- 2日 20時間
- マージ済み PR(30日)
- 194
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/iggy のほかの issue
-
go good first issue test
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
go good first issue test
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
メンテナーはふだん 2 日以内に返信
-
go good first issue test
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
good first issue java test
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 2 日以内に返信
-
good first issue javascript test
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
メンテナーはふだん 2 日以内に返信
似ている issue
-
marketing
難易度 2/5 半日 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
S: Untriaged T: Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
libnyanpasu/clash-nyanpasu#6537 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1時間未満 初心者へのやさしさ 62/100
tauri-apps/tao#1445 ·
メンテナーはふだん 1 日以内に返信
-
bug P3
難易度 1/5 1〜3時間 初心者へのやさしさ 88/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
nearai/compose-manager#95 ·
メンテナーはふだん 1 日以内に返信