2024-July-21 - 2.6.14795
Pre-release
Pre-release
Bots: Replace chat upload to lobby with simple info logging (#12741)
Commentary:
- Drawback: bot chat history will no longer be readily available
to moderators. That was useful when deciding "he-said-she-said"
style disputes.
- Benefits: fixes potential infinite loop that would crash
the bot & simplifies.
Fix details:
- Any warn/error message is sent as a chat message. Any
chat message in turn is sent to the lobby. If there is
an error sending a message to the lobby, it can yield
an error message, which in turn triggers a chat message,
which in turn yields another upload to the lobby thereby
starting an infinite cycle.
If we do not send messages up to the lobby, then this is
no longer a problem.
Future plans:
- Overall, ideally we can invest efforts in "network relay"
rather than bot hosts, and remove all of the headless-game
code entirely.