Skip to content

Conversation

@dimastbk
Copy link
Contributor

Changes

Fixes #1038

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes
  • Add a new news fragment into the CHANGES folder
    • name it <issue_id>.<type> (e.g. 588.bugfix)
    • if you don't have an issue_id change it to the pr id after creating the PR
    • ensure type is one of the following:
      • .feature: Signifying a new feature.
      • .bugfix: Signifying a bug fix.
      • .doc: Signifying a documentation improvement.
      • .removal: Signifying a deprecation or removal of public API.
      • .misc: A ticket has been closed, but it is not of interest to users.
    • Make sure to use full sentences with correct case and punctuation, for example: Fix issue with non-ascii contents in doctest text files.

@codecov
Copy link

codecov bot commented Aug 19, 2024

Codecov Report

Attention: Patch coverage is 94.23077% with 3 lines in your changes missing coverage. Please review.

Project coverage is 95.10%. Comparing base (29b58db) to head (132604b).

Files with missing lines Patch % Lines
tests/test_conn.py 93.87% 1 Missing and 2 partials ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1044   +/-   ##
=======================================
  Coverage   95.09%   95.10%           
=======================================
  Files         114      114           
  Lines       16981    17028   +47     
  Branches     1579     1583    +4     
=======================================
+ Hits        16148    16194   +46     
  Misses        485      485           
- Partials      348      349    +1     
Flag Coverage Δ
cext 94.91% <94.23%> (+<0.01%) ⬆️
integration 94.83% <94.23%> (-0.01%) ⬇️
purepy 94.91% <94.23%> (+<0.01%) ⬆️
unit 53.54% <82.69%> (+0.44%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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


fut = conn.close()
if fut:
await fut

Check notice

Code scanning / CodeQL

Statement has no effect Note test

This statement has no effect.
@dimastbk
Copy link
Contributor Author

@ods Hi! Could you take a look at this PR?

@ods ods requested a review from Copilot April 14, 2025 06:04
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 3 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • requirements-ci.txt: Language not supported
Comments suppressed due to low confidence (1)

aiokafka/conn.py:461

  • [nitpick] Ensure that the raised KafkaConnectionError's message is consistent with test expectations, particularly in its formatting (e.g. including a prefix if required by the tests).
if self._writer.is_closing():

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.

Closing of connection from server don't caught for uvloop

1 participant