Skip to content

Conversation

@sashaaro
Copy link
Contributor

Previously, context cancellation errors were converted into plain strings "...: context canceled", which caused:

errors.Is(err, context.Canceled)

to always return false;
inability to reliably distinguish “normal” context cancellation from real errors.

Now context cancellation is propagated as-is, and client code can correctly check the cause using errors.Is or context.Cause.

@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 44.96%. Comparing base (476693b) to head (badfd43).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #213      +/-   ##
==========================================
- Coverage   45.23%   44.96%   -0.27%     
==========================================
  Files          29       29              
  Lines        2352     2355       +3     
==========================================
- Hits         1064     1059       -5     
- Misses       1238     1247       +9     
+ Partials       50       49       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@negasus negasus merged commit 1efca4f into go-telegram:main Oct 14, 2025
1 check passed
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.

3 participants