Files
freemo 4c419d48f5
CI / helm (pull_request) Successful in 1m9s
CI / tdd_quality_gate (pull_request) Failing after 1m39s
CI / build (pull_request) Successful in 1m37s
CI / lint (pull_request) Failing after 1m50s
CI / quality (pull_request) Successful in 1m57s
CI / security (pull_request) Successful in 2m5s
CI / typecheck (pull_request) Successful in 2m43s
CI / push-validation (pull_request) Successful in 22s
CI / unit_tests (pull_request) Failing after 5m2s
CI / docker (pull_request) Has been skipped
CI / coverage (pull_request) Has been skipped
CI / e2e_tests (pull_request) Successful in 5m2s
CI / integration_tests (pull_request) Failing after 7m40s
CI / status-check (pull_request) Failing after 4s
fix(Python 3.13): replace deprecated asyncio.get_event_loop() and datetime.utcnow() calls
- Replace all src/ loop = asyncio.get_event_loop() with
  get_running_loop() + exception-safe fallback pattern
- Replace source-level asyncio.get_event_loop().run_until_complete(
  with context-managed event loop creation and proper cleanup
- Replace route_bridge.py asyncio.get_event_loop().time()
  call with time.time() import to avoid creating event loops
  just for timestamp access
- Add loop.close() in langgraph_bridge_steps tests to prevent
  resource leak from unclosed event loops (reviewed feedback #7)
- Move Python 3.13 changelog entry from ### Added to ### Fixed
  section per CONTRIBUTING.md style guidelines (review feedback #6)

Files modified:
  src/cleveragents/agents/base.py          - replace get_event_loop().run_until_complete()
  src/cleveragents/langgraph/bridge.py      - replace loop = get_event_loop()
  src/cleveragents/langgraph/nodes.py       - replace both get_event_loop() calls
  src/cleveragents/reactive/route_bridge.py - replace with time.time(), remove unused asyncio import
  features/steps/langgraph_bridge_steps.py   - add loop.close() for resource cleanup
  features/steps/reactive_application_coverage_steps.py  - fix event loop patterns, add import time
  features/steps/route_bridge_coverage_steps.py     - fix multiple get_event_loop/run_until_complete patterns, proper import ordering
  CHANGELOG.md                              - move Python 3.13 entry to ### Fixed

ISSUES CLOSED: #11134
2026-05-13 04:42:53 +00:00
..