Skip to content

chore: fix the review findings on the typed channels - #3268

Merged
Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:protocol-channel-fixes
Oct 16, 2026
Merged

Pavel Feldman (pavelfeldman) merged 1 commit into
microsoft:mainfrom
pavelfeldman:protocol-channel-fixes

Conversation

@pavelfeldman

Copy link
Copy Markdown
Member

Summary

  • Channel allows a handler to be registered more than once; each off<Event> removes one registration
  • Channel base class moves to _channel.py, so _connection.py imports the generated channel classes at module level
  • Route.fulfill raises on a body that is neither str nor bytes
  • convert_input_files reads the file mtimes inside the internal createTempFiles call, as upstream does
  • CDPSession "event" payload has no None placeholder for params

Stacked on #3264.

- Channel allows a handler to be registered more than once; each
  off<Event> call removes one registration.
- Move the Channel base class to _channel.py so that _connection.py
  imports the generated channel classes at module level.
- Route.fulfill raises on a body that is neither str nor bytes.
- convert_input_files reads the file mtimes inside the internal
  createTempFiles call, as upstream does.
- CDPSession "event" payload has no None placeholder for params.
@pavelfeldman
Pavel Feldman (pavelfeldman) merged commit 3e7abc4 into microsoft:main Oct 16, 2026
29 checks passed
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.

2 participants