Skip to content

fix: move blocking storage I/O off event loop - #82

Merged
Upper9527 merged 1 commit into
mainfrom
codex/fix-async-storage-io
Aug 17, 2026
Merged

fix: move blocking storage I/O off event loop#82
Upper9527 merged 1 commit into
mainfrom
codex/fix-async-storage-io

Conversation

@Upper9527

Copy link
Copy Markdown
Collaborator

Summary

  • run session object-store writes through asyncio.to_thread
  • run periodic skill pulls through asyncio.to_thread
  • keep reload and logging behavior on the event-loop thread
  • add regression coverage that both synchronous storage calls cross the worker-thread boundary

Closes #52.

Verification

  • pytest -q tests/test_async_storage_io.py tests/test_session_upload_trigger.py — 11 passed
  • uvx ruff@0.12.2 check .
  • uvx ruff@0.12.2 format --check .
  • full suite: 1 pre-existing dashboard failure, 132 passed, 1 skipped

@Upper9527
Upper9527 merged commit ea89ee5 into main Aug 17, 2026
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.

Bug: async 事件循环中同步阻塞调用 OSS/S3,导致代理服务间歇性无响应

1 participant