Skip to content

Sync generated WS files with backend AsyncAPI spec - #191

Merged
martinkersner merged 2 commits into
mainfrom
codegen/sync-ws
Jul 6, 2026
Merged

Sync generated WS files with backend AsyncAPI spec#191
martinkersner merged 2 commits into
mainfrom
codegen/sync-ws

Conversation

@martinkersner

Copy link
Copy Markdown
Member

Automated WebSocket generated-file sync from datamaxi-codegen.

The committed datamaxi/_ws_endpoints.py / datamaxi/_ws_models.py
had drifted from the current Bisonai/datamaxi-backend
ws-asyncapi.yaml spec (+ message schemas). This PR regenerates them
via make update-ws-python.

Triggering codegen run:
https://github.com/Bisonai/datamaxi-codegen/actions/runs/28776391498

Do not edit these files by hand — they are generated.

@martinkersner
martinkersner requested a review from a team July 6, 2026 07:53
Backend AsyncAPI spec no longer emits /announcement/listing/internal,
so the regenerated WS_CHANNELS drops it and the hand-written client's
announcement_internal Subscription failed _require_channel at
construction, breaking every WS client test. Remove the accessor and
its docstring/README/docs rows to match the generated surface.
@martinkersner
martinkersner merged commit f6af5d8 into main Jul 6, 2026
5 checks passed
@martinkersner
martinkersner deleted the codegen/sync-ws branch July 6, 2026 09:58
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