Repository navigation
fix(autostart): prepare FreeBSD executable integration - #2
Draft
vincentkoc wants to merge 3 commits into
Draft
vincentkoc wants to merge 3 commits into
vincentkoc wants to merge 3 commits into
Conversation
Adapt the FreeBSD executable-path support from tauri-apps#3440 while retaining existing platform dependency versions. FreeBSD integration remains blocked on publication of the auto-launch FreeBSD changes. Co-authored-by: Hanming Wang <68141745+RockLakeGrass@users.noreply.github.com>
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Prepare FreeBSD executable-path integration from tauri-apps#3440, preserving contributor credit and retaining auto-launch 0.5 on every existing platform.
This draft remains blocked on an upstream dependency release. Published auto-launch 0.6.0 predates both the FreeBSD implementation merged in zzzgydi/auto-launch#38 at
5a77b66cfb745e2ead928fe37aedee828cb993eaand the subsequent XDG argument-quoting fix merged in zzzgydi/auto-launch#39. A released crate containing both is required before the FreeBSD dependency requirement can be finalized. The development-only FreeBSD proof below uses the tauri-apps#38 merge and does not qualify tauri-apps#39. This source branch contains no dependency override.The regression fixture uses a child process with a disposable HOME and checks the actual plugin's XDG enable, re-enable, is-enabled and disable behavior, including executable arguments and removal of the desktop entry.
Validation:
cargo test --locked -p tauri-plugin-autostart --lib --test xdgatf11740c97c32c120da89302bff94b0018b0bb8b5on a disposable secretless Crabbox. Cargo selected registry auto-launch 0.5.0. The original lock hash remainedb069b475db038fcacfd5578da766a60bd4e99e70faa78779215bf4716ebd8c78.748cc3632f4f8847ac04bcbd2752a78c12e1a0b6changes only Cargo.lock from this draft, with reviewed hash0a2d9dbd4f90e0956e692fa267cdd62eef0507db0f9d2ef29957e421d5e9710e. Ephemeral Cargo CLI patch arguments selected the exact canonical auto-launch commit5a77b66cfb745e2ead928fe37aedee828cb993ea. FreeBSD receipt, attempt 1, verifies the source, parent, locks, native dependency selection and unchanged checkout after testing.The normal lock-only commit records published-dependency resolution from
cargo update --workspace. Review confirmed that all 34 records and resolved edges in the existing auto-launch 0.5 closure are unchanged. The added 0.6 closure requires two objc2 updates in this test workspace; the entire macOS workspace lock is not byte-identical. The separate proof composition also preserves the complete 0.5 closure and is not included in this draft.Local rustfmt, TOML and whitespace checks passed. The successful development composition does not establish registry-only FreeBSD support or release readiness. No release version is invented or published.
Metadata follow-up at
1f1c42542790ed728d3d26fc2a6f8d5252e9d58d: the existing change-file and new-file license checks pass on a disposable, secretless Linux Crabbox. The original inputs reproduced the expected failures. This follow-up adds the required paired JavaScript changeset entries where applicable and uses the repository-required test headers; production code, dependency resolution, test logic, and CI workflows are unchanged. Native behavior evidence above remains bound to its recorded revision.The corrected head passes the change-file, license-header, formatting, and Covector checks. Rust audit separately fails on inherited rustls 0.23.28 under RUSTSEC-2026-0285, disclosed September 14; the advisory identifies 0.23.45 as patched. The complete rustls lock record and incoming dependency references are unchanged from base
0850317b5c85092cbf4ea9caf4ef3a9c771fcf27, through the original candidate and this metadata correction. Follow-up: refresh the upstream workspace's affected dependency lock before claiming a green audit. The audit has not been ignored or disabled.