-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
Wrap TGS bridge requests so they cannot block reboots forever #1825
Conversation
Thank you for contributing to tgstation-server! The workflow 'CI Pipeline' requires repository secrets and will not run without approval. Maintainers can add the |
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.
good thing lists are pass by ref
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.
Doesn't compile.
Also bump the DMAPI patch version in src/DMAPI/tgs.dm
and build/Version.props
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## dev #1825 +/- ##
==========================================
+ Coverage 95.89% 95.95% +0.05%
==========================================
Files 703 713 +10
Lines 158988 163391 +4403
Branches 3209 3226 +17
==========================================
+ Hits 152462 156779 +4317
- Misses 6040 6123 +83
- Partials 486 489 +3 |
world.Export() can just never return, which can cause Reboot() to not finish without an admin manually rebooting the server
again.
UNTESTED: I don't have the means to test this myself.
🆑 DreamMaker API
Added protection against bridge requests hanging indefinitely.
/🆑
Fixes #1681