Skip to content

Run the app and test entry points through one message pump task path - #74

Merged
trissim merged 2 commits into
mainfrom
fix/ordered-pointer-capture-20261006
Oct 6, 2026
Merged

trissim merged 2 commits into
mainfrom
fix/ordered-pointer-capture-20261006

Conversation

@trissim

@trissim trissim commented Oct 6, 2026 •

Copy link
Copy Markdown

App._process_messages is renamed _process_messages_body, and the task and context setup around it moves into MessagePump, so run_test and run_async use the same path. App.run_test no longer sets _task itself and the with self._context() block in the app body is removed. Changes are in app.py, message_pump.py and screen.py, with one test file.

@trissim
trissim marked this pull request as ready for review October 6, 2026 10:55
Copilot AI balanced review requested due to automatic review settings October 6, 2026 10:55

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@trissim
trissim merged commit 1781795 into main Oct 6, 2026
2 of 22 checks passed
@trissim trissim changed the title Share message-pump task lifetime between real App and test entrypoints Run the app and test entry points through one message pump task path Oct 11, 2026
@trissim
trissim deleted the fix/ordered-pointer-capture-20261006 branch October 11, 2026 20:05
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