Skip to content

Implements new status topic scheme + bugfix#33

Open
tontyGH wants to merge 4 commits intogoonstation:mainfrom
tontyGH:update-goonservers
Open

Implements new status topic scheme + bugfix#33
tontyGH wants to merge 4 commits intogoonstation:mainfrom
tontyGH:update-goonservers

Conversation

@tontyGH
Copy link

@tontyGH tontyGH commented Jan 21, 2026

Companion PR to goonstation/goonstation#25667. Migrates changes so that cogs will use the new API.

I chose to implement a StatusInfo dataclass that leverages typing so that this process isn't as arduous to people in the future. Dictionaries with arbitrary keys are not maintainable.

There was a bug with WorldTopic.params_to_dict() that would make it return dict(None) if its input was "", which caused buggy behaviour. I've checked and this shouldn't break anything.

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