Add desktop platform support #11
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-desktop-support"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
desktopfeature tofeedsignal-webcombiningdioxus/desktopwith the existingserverfeature, so#[server]functions execute in-process instead of over HTTP (dispatch on#[server]is gated purely on theservercargo feature) — one self-contained native webview binary with DB, feed polling, LLM calls, and the scheduler, no separate server process.main.rsexplicitly picks the desktop launcher (LaunchBuilder::desktop()) sincedioxus::launch's automatic platform detection prioritizes the (also-enabled)serverplatform overdesktop, which would otherwise stand up an axum server instead of opening a window.checkjob's four clippy variants (native, server, web, desktop) into their own parallel jobs, since they don't share dependencies and were previously just serial steps in one job.rust-ci-desktoprunner image (GTK/WebKit/AppIndicator headersdioxus-desktopneeds, layered on top ofrust-ciin schaefera/infrastructure) instead of installing those packages on every run — keeps the other jobs' image small.Depends on: the
rust-ci-desktoplabel being registered on the liveci-runnerbox (infrastructure PR: https://code.austinschaefer.com/schaefera/infrastructure/compare/main...add-rust-ci-desktop-image) before theclippy-desktopjob here can pick up work — that step touches the live runner and needs manual action, so it's not done yet.Test plan
cargo check/cargo clippy -p feedsignal-web --no-default-features --features desktop --all-targets -- -D warningspassserverand native-workspace clippy jobs still pass (no regression)cargo fmt --checkpassescargo test --workspace --exclude feedsignal-webpasses.forgejo/workflows/ci.ymlvalidated as well-formed YAMLclippy-desktopCI job itself will fail until therust-ci-desktoprunner label is registered (see "Depends on" above)🤖 Generated with Claude Code
desktopfeatureView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.