Conversation
…e assigned attribute), improving logging surrounding retries and giving up
…preallocator (do note that my initial worry about incorrectness was unfounded due to weird Redis sharing behavior)
…else preVM.name will fail)
…y --check-untyped-defs suggestions
|
Caution Review failedFailed to post review comments 📝 WalkthroughWalkthroughThis PR introduces comprehensive Python 3 type annotations across the codebase while refactoring core data structures and abstractions. Changes include formalization of the VMMS interface, introduction of Redis-backed queue and dictionary abstractions, type-safe encapsulation of job and machine objects, and updates to dependencies (boto3, mypy, type stubs). The refactoring maintains backward compatibility while enabling stricter static type checking. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~50 minutes Areas requiring extra attention:
Pre-merge checks and finishing touches❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Fixes #185 .
You can now just run
mypy .in /opt/TangoService/Tango to check for any type errors.Changes