-
Notifications
You must be signed in to change notification settings - Fork 2
[Reassignment] Configure launchers to be not reassignable #198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
|
🧱 Stack PR · Base of stack (2 PRs total) Stack Structure:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
This pull request introduces a mechanism to prevent launchers from being reassigned by adding an IsReassignable property. The implementation is mostly correct, but a refactoring in InterceptorBase.cs has introduced a critical bug. The new RequestReassignment method incorrectly uses this instead of the appropriate interceptor context in one of its call sites, which changes the reassignment logic. I've left detailed comments and suggestions to fix this issue by parameterizing the new method and updating its call sites.
📝 WalkthroughWalkthroughThis PR introduces a reassignment control mechanism for the IADS interceptor system. A new Estimated Code Review Effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested Reviewers
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
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 |
Resolves #196. Once a launcher has terminated all of its assigned targets, it might get reassigned by the IADS to pursue some other launcher's targets. This causes it to then start launching carrier interceptors across the map. Ideally, launchers cannot be reassigned to new targets and rely on threat assignment only to receive new targets. See #196 for an example simulation configuration.