fix: verify desktop build with cargo
This commit is contained in:
@@ -51,12 +51,20 @@ Set-Location ../desktop
|
||||
npm run build
|
||||
```
|
||||
|
||||
Expected: Tauri desktop bundle builds when Rust/Cargo is installed and the stable Rust toolchain is complete.
|
||||
Expected: the Tauri desktop executable builds when Rust/Cargo is installed and the stable Rust toolchain is complete.
|
||||
|
||||
Installer packaging is a separate step:
|
||||
|
||||
```powershell
|
||||
Set-Location apps/desktop
|
||||
npm run bundle
|
||||
```
|
||||
|
||||
Current machine status:
|
||||
- `rustup` was installed through winget.
|
||||
- The latest desktop build attempt fails before project compilation because `cargo` is not available on PATH: `program not found`.
|
||||
- Desktop verification remains blocked until Rust/Cargo is installed and visible to the shell. Then run `npm run build` from `apps/desktop`.
|
||||
- Cargo and rustc are installed under `%USERPROFILE%\.cargo\bin`.
|
||||
- If the current shell does not see Cargo yet, prepend `%USERPROFILE%\.cargo\bin` to `PATH` or open a new terminal.
|
||||
- `npx tauri build --no-bundle --verbose` passes and produces `apps/desktop/src-tauri/target/release/senlinai_workbench.exe`.
|
||||
- Full installer bundling through `npm run bundle` currently times out in the Tauri CLI bundling stage on this machine before producing `target/release/bundle` artifacts.
|
||||
|
||||
## Latest Audit Verification
|
||||
|
||||
@@ -67,7 +75,8 @@ Last audited: 2026-07-18.
|
||||
- `apps/web`: `npm test -- --run` passed.
|
||||
- `apps/web`: `npm run build` passed.
|
||||
- `apps/web`: `npx playwright test` passed.
|
||||
- `apps/desktop`: `npm run build` blocked by missing Cargo/Rust toolchain on the current machine.
|
||||
- `apps/desktop`: `npx tauri build --no-bundle --verbose` passed and produced the desktop executable.
|
||||
- `apps/desktop`: installer packaging is still blocked by Tauri CLI bundling timeout on the current machine.
|
||||
|
||||
Audit fixes included:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user