You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release builds can show full Python tracebacks and log detailed errors when explicitly enabled. Startup failures now include clearer context, with a Python-version hint for incompatible compiled modules.
Bug Fixes
Debug-profile binary linkage issues are reported as warnings; release-profile issues remain errors.
macOS signing now covers native modules and extensions in both bundled Python and the project’s Python source directory.
Documentation
Updated setup, compiled entry point, debugging, and macOS signing guidance.
No actionable comments were generated in the recent review.
Walkthrough
The update changes Python traceback and startup-error reporting, expands CLI signing to native files in src-python, adjusts linkage diagnostics by build profile, and updates setup guidance and package metadata.
Changes: Python plugin updates
Layer / File(s)
Summary
Runtime tracebacks and startup errors src/lib.rs, src/tests.rs, src/unit_tests.rs
Tracebacks are enabled in debug builds or when TAURI_PLUGIN_PYTHON_TRACEBACK is set to 1 or true. Error logging follows that setting. Startup failures include entry context, and bad-magic-number errors include a Python-version hint. Tests cover traceback configuration and line reporting.
The signing command scans bundled Python and src-python for Mach-O files. Linkage failures warn for debug binaries and error for release binaries. The documentation describes signing compiled modules and .venv extensions after compiling them.
Setup instructions and release metadata README.md, Cargo.toml, package.json, cli/package.json, .gitignore
Setup instructions add JavaScript API installation. Package versions change, async_py is updated, and .gitignore excludes the local Svelte test app.
This change adjusts Python error reporting, extends macOS signing to native files in src-python, and bumps versions. No concrete merge-blocking risk was identified.
Pre-merge checks: 4
Check name
Status
Explanation
Description Check
Check skipped - CodeRabbit’s high-level summary is enabled.
Title check
The title "Fix error handling and add signing" is partially related to the changeset. The diff does change error handling: src/lib.rs adds traceback control via TAURI_PLUGIN_PYTHON_TRACEBACK, replaces…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "Fix error handling and add signing" is partially related to the changeset. The diff does change error handling: src/lib.rs adds traceback control via TAURI_PLUGIN_PYTHON_TRACEBACK, replaces some failures with startup_failed panics, and adds a Python-version hint for bad magic number errors. It also extends the sign command in cli/lib/sign.js to scan src-python and updates the signing docs. The title names both real aspects but does not name the largest change, and it omits the version bumps and the debug-versus-release traceback behavior.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
File: No configuration file from this repository applied
Commit: Unavailable
Layers: defaults
Review profile: CHILL
Plan: Advanced
Run ID: 3621f318-b421-4776-8781-c0b6f81c836a
Commits
Reviewing files that changed from the base of the PR and between 68ea4f7 and 58f9c67.
Files ignored due to path filters: 1
Cargo.lock is excluded by !**/*.lock
Files selected for processing: 12
.gitignore
Cargo.toml
README.md
cli/README.md
cli/lib/doctor.js
cli/lib/sign.js
cli/package.json
docs/deploy-macos.md
package.json
src/lib.rs
src/tests.rs
src/unit_tests.rs
Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 1 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary by CodeRabbit