Skip to content

Codex updated: Fix async/event lifecycle edge cases#829

Draft
dmulcahey wants to merge 1 commit into
devfrom
codex-updated-pr-687
Draft

Codex updated: Fix async/event lifecycle edge cases#829
dmulcahey wants to merge 1 commit into
devfrom
codex-updated-pr-687

Conversation

@dmulcahey

Copy link
Copy Markdown
Contributor

This pull request was created with Codex and is an updated version of the pull request it supersedes.

Original pull request: #687

Summary

Fixes async lifecycle edge cases in concurrency limiting, periodic polling cancellation, and async event listener handling.

Failing tests addressed

  • tests/test_async_.py::test_gather_with_limited_concurrency_zero_limit_rejected
  • tests/test_async_.py::test_periodic_cancellation_propagates
  • tests/test_event.py::test_event_base_once_async_multiple_emits_same_tick
  • tests/test_event.py::test_event_base_emit_async_callable_object

Verification

  • pytest (branch-local targeted run): all listed tests pass.

@codecov

codecov Bot commented Jul 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.30%. Comparing base (c38e03e) to head (aaf05cd).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #829      +/-   ##
==========================================
+ Coverage   97.27%   97.30%   +0.02%     
==========================================
  Files          55       55              
  Lines       10930    10932       +2     
==========================================
+ Hits        10632    10637       +5     
+ Misses        298      295       -3     

☔ View full report in Codecov by Harness.
📢 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.

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.

1 participant