Skip to content

refactor(actors): replace IOLoop.run_sync with asyncio.run in deploy.py#657

Merged
LaikaN57 merged 1 commit intomainfrom
remove-tornado/02-asyncio-run
Feb 26, 2026
Merged

refactor(actors): replace IOLoop.run_sync with asyncio.run in deploy.py#657
LaikaN57 merged 1 commit intomainfrom
remove-tornado/02-asyncio-run

Conversation

@LaikaN57
Copy link
Member

Summary

  • Replace ioloop.IOLoop.current().run_sync(main) with asyncio.run(main()) in bin/deploy.py
  • Remove the tornado traceback filter (no longer needed)
  • Update test mock target from tornado.ioloop.IOLoop.current to asyncio.run

Test plan

  • make test passes (361 tests, 0 failures)
  • kingpin --dry --script examples/test/sleep.json works

Part 2 of 10 in the tornado removal migration.

🤖 Generated with Claude Code

Replace `ioloop.IOLoop.current().run_sync(main)` with `asyncio.run(main())`
in the CLI entry point. Simplify the exception handler by removing the
tornado traceback filter (no longer needed since tornado frames won't
appear). Update the corresponding test mock target.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@LaikaN57 LaikaN57 marked this pull request as ready for review February 26, 2026 19:57
@LaikaN57 LaikaN57 merged commit 13d3e89 into main Feb 26, 2026
3 of 5 checks passed
@LaikaN57 LaikaN57 deleted the remove-tornado/02-asyncio-run branch February 26, 2026 19:58
@LaikaN57 LaikaN57 changed the title refactor: replace IOLoop.run_sync with asyncio.run in deploy.py refactor(actors): replace IOLoop.run_sync with asyncio.run in deploy.py Feb 26, 2026
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