feat(go): introduce context.Context to client methods#2964
feat(go): introduce context.Context to client methods#2964chengxilo wants to merge 15 commits intoapache:masterfrom
Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #2964 +/- ##
============================================
- Coverage 72.71% 71.27% -1.44%
Complexity 943 943
============================================
Files 1117 1136 +19
Lines 96285 98671 +2386
Branches 73485 75827 +2342
============================================
+ Hits 70014 70329 +315
- Misses 23725 25656 +1931
- Partials 2546 2686 +140
🚀 New features to boost your workflow:
|
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need a review, please ensure CI is green and the PR is rebased on the latest master. Don't hesitate to ping the maintainers - either @core on Discord or by mentioning them directly here on the PR. Thank you for your contribution! |
…data and verifyClientConnection
1c9e728 to
e0f7a2e
Compare
…hen I/O error happens.
b20ea38 to
8ba63f5
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If you need a review, please ensure CI is green and the PR is rebased on the latest master. Don't hesitate to ping the maintainers - either @core on Discord or by mentioning them directly here on the PR. Thank you for your contribution! |
Which issue does this PR close?
N/A
Rationale
Standardizing the Go SDK to support context.Context across all client methods. This allows users to handle timeouts, cancellations
What changed?
The iggcon.Client interface and its TCP implementation have been updated to include context.Context as the first parameter for all API methods.
Correspondingly, all internal command-handling logic now respects context deadlines and cancellations.
Local Execution
AI Usage