Skip to content

fix: mock runtime run on main thread dead locks - #15450

Merged
Legend-Master merged 19 commits into
tauri-apps:devfrom
Legend-Master:mock-runtime-run-main-thread
Jul 2, 2026
Merged

Legend-Master merged 19 commits into
tauri-apps:devfrom
Legend-Master:mock-runtime-run-main-thread

Conversation

@Legend-Master

@Legend-Master Legend-Master commented May 30, 2026 •

Copy link
Copy Markdown
Contributor

Fix run_main_thread! macro used by things like MenuItem and some other APIs deadlock when called on main thread

@github-actions

github-actions Bot commented May 30, 2026 •

Copy link
Copy Markdown
Contributor

Package Changes Through b046772

There are 12 changes which include tauri-utils with minor, tauri with minor, tauri-runtime with minor, tauri-runtime-wry with minor, tauri-codegen with minor, tauri-macros with minor, tauri-plugin with minor, tauri-build with minor, tauri-cli with minor, tauri-macos-sign with minor, tauri-bundler with minor, tauri-driver with minor

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
tauri-utils 2.9.3 2.10.0
tauri-macos-sign 2.3.4 2.4.0
tauri-bundler 2.9.4 2.10.0
tauri-runtime 2.11.3 2.12.0
tauri-runtime-wry 2.11.4 2.12.0
tauri-codegen 2.6.3 2.7.0
tauri-macros 2.6.3 2.7.0
tauri-plugin 2.6.3 2.7.0
tauri-build 2.6.3 2.7.0
tauri 2.11.5 2.12.0
@tauri-apps/cli 2.11.4 2.11.5
tauri-cli 2.11.4 2.12.0
tauri-driver 2.0.6 2.1.0

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@Legend-Master
Legend-Master marked this pull request as ready for review June 3, 2026 12:01
@Legend-Master
Legend-Master requested a review from a team as a code owner June 3, 2026 12:01
FabianLars
FabianLars previously approved these changes Jun 25, 2026

@FabianLars FabianLars left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

untested

FabianLars
FabianLars previously approved these changes Jul 2, 2026

@FabianLars FabianLars left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

further approvals cost extra

@Legend-Master
Legend-Master merged commit e517fa1 into tauri-apps:dev Jul 2, 2026
19 checks passed
@Legend-Master
Legend-Master deleted the mock-runtime-run-main-thread branch July 2, 2026 10:19
Proksima pushed a commit to Proksima/tauri that referenced this pull request Aug 5, 2026
* fix: mock runtime run on main thread dead locks

* Try testing API example

* Revert "Try testing API example"

This reverts commit 1d04b9f.

* Revert API example changes

* Run unit tests in examples

* Revert `not(test)`

* Split out the example tests

* Condition got reversed

* Only android uses cross

* Test api example

* Install cross through `taiki-e/install-action@v2`

* Install through cargo binstall instead

* Revert "Install through cargo binstall instead"

This reverts commit 2aec390.

* Revert "Install cross through `taiki-e/install-action@v2`"

This reverts commit b88035a.

* Add change file
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