Repository navigation
Add independent side-by-side Linux Research Dev packages - #1305
Conversation
|
Maple Auth development preview: https://f052f027.maple-auth-dev.pages.dev Commit: Uses development services. Cloudflare Access applies. Provider OAuth is not configured for PR URLs; use the stable Auth Dev host for OAuth rehearsal. |
|
Maple development preview: https://1e4e5622.maple-ca8.pages.dev Commit: Uses development API, billing, flags and PCR configuration. Cloudflare Access applies. |
|
I'll take a look at this after some cicd cleanup. The main thing I'm worried about here is like every other distro we have. I don't think fedora is officially supported by tauri, i could be wrong. So I'm not sure how much we go out of our way here but this is not my wheelhouse. |
|
Split as requested: #1331 contains only the WebKitGTK RPM dependency fix (four files); this PR now targets that branch and shows only side-by-side Dev packaging. Published history was preserved, and current master’s CI cleanup was retained while resolving the stack. Both branches passed their focused tests and the x86_64 Linux repo lane. The cross-distro concern was confirmed: Fedora and openSUSE name the package differently but provide the same |
|
I'm a bit confused by these PRs. This is a PR to another branch. This one is "ready" but not the one it is merging into. This one seems straight forward but it's still merging into one that still needs to be investigated further. Is that correct? Does this PR actually depend on 1331? Should it just target master instead? |
0e65af8 to
09451b4
Compare
09451b4 to
1a731bc
Compare
|
@AnthonyRonning You were right—the stack was unnecessary. I rebuilt this PR directly on The signed replacement commit is |
AnthonyRonning
left a comment
There was a problem hiding this comment.
Approving. Production packaging is unchanged, and the Dev package's identity, files and runtime state stay separate from production.
Non-blocking follow-up: the Linux Dev build will fail on aarch64 hosts. Tauri applies --config as an RFC 7396 merge onto tauri.conf.json, so production's bundle.linux.deb.files["/usr/lib/maple/libonnxruntime.so"] mapping survives the merge. That mapping points at the x64 ONNX Runtime. provide-linux-onnxruntime.sh only downloads the host architecture, so on aarch64 the deb bundler stops with "... does not exist" after the full compile. x86_64 is unaffected because the x64 file exists there, and stage-linux then removes the copied library. A one-line fix in linux_config would be to set that inherited key to None: merge-patch deletes it, and Tauri validates the schema against the merged config. That would also make the stage-linux unlink a pure safety net.
Heads-up: this conflicts with #1331 in scripts/ci/_common.sh and scripts/ci/test_linux_rpm_packaging.py. This PR already contains #1331's requires builder lines, so #1331 should shrink to the config change and its verifier after a rebase.
Independent PR
Targets
masterdirectly and does not depend on #1331. Rebuilt as a single SSH-signed commit on current master; the old stacked history is preserved on a local backup branch. Productiontauri.conf.jsonis unchanged.Summary
nix run --no-update-lock-file .#research-dev-desktop.maple-research-devRPM, command, launcher, icon, ONNX Runtime directory, app/storage identity, callback scheme, and single-instance identity. Dev updates stay disabled.desktop-dev-profile.json, usinglibwebkit2gtk-4.1.so.0()(64bit). The generated Dev config replaces any inherited production dependency policy and the Dev verifier checks its own requirement.Independence checks
apps/maple-research/frontend/src-tauri/tauri.conf.json.Try it
nix run --no-update-lock-file .#research-dev-desktop sudo dnf install ./apps/maple-research/frontend/src-tauri/target/research-dev/maple-research-dev-3.4.6-1.x86_64.rpmOpen Maple Research Dev and use a hosted Dev account. No production endpoint changes, package signing, publication, or deployment are included.
Validation on the independent branch
git diff --cached --check, andjust lane repopassed on x86_64 Linux.1a731bcfSSH signature verified locally and by GitHub (verified: true,reason: valid).Current master’s removal of embedded Research Agent Mode is preserved; no old Agent code or tests are restored.