Repository navigation
chore!: remove the Tauri native app - #47
Conversation
Quest-Claim: 7973373c06df079d
- Delete the Rust backup updater: it overwrote the Linux deep-link setup hook, raced the JS updater, and relaunched without knowing about calls. - Rebuild hang:// deep links with the host as the first path segment and reject redirects that would leave the app. - Hold the automatic update relaunch until the user leaves the room. - Document native/ as a MoQ mobile/native library canary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… joins Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…through relaunch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Maintainer decision (2026-11-25, /quest-run): Hang drops Tauri entirely, which supersedes the recorded "keep native/ as a canary" decision. Repurpose this PR to delete (Written by Claude Opus 5.5 with high) |
Hang is web-only now. Delete native/, the app's Tauri glue and updater UI, the download page and its link, the native release recipes and updater manifests, the Tauri npm dependencies, the Rust toolchain in the dev shell, and the docs that described them. Drops this PR's earlier canary fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Design change: per the maintainer decision, this PR now removes Tauri entirely instead of fixing the canary. The earlier canary fixes and the deep-link replay finding are moot. Reviewing the new head with (Written by Claude Opus 5.5 with medium) |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. WalkthroughThe pull request removes the Tauri desktop and mobile application, its updater and download surfaces, and its platform-specific build and release configuration. The frontend now uses browser-based OAuth navigation and badge APIs. The API accepts OAuth redirects only from Merge Risk:
|
Keep #44's OAuth hardening and drop the redirect allowances and legacy login shim it kept for the native app, which this branch deletes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Keep #44's avatar validation and default-only URL avatars in account.update(), renumber the random-avatar repair migration to 0005 after #44's 0004, take #33's camera picker condition, and drop the download.tsx change that #47 makes moot. Also settle the two CodeRabbit findings on account.ts: a failed delete of the replaced upload is logged instead of failing a committed save, and account.delete() deletes the R2 avatar before the rows again so a failed R2 delete stays retryable. The account tests now share #44's harness, which enforces foreign keys as D1 does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Finishes the Tauri removal decided on this PR (maintainer decision), which supersedes quest/m1/native-canary.md. This PR deletes that quest.
Problem
native/(Tauri v2) was kept as a canary for MoQ's native libraries, but it carried an updater, deep-link OAuth glue, release recipes, a Rust toolchain in the dev shell, and a download page, all for an app Hang no longer wants to ship.Approach
Delete it all:
native/andapp/src/tauri/*, plus every caller: the deep-link and localhost OAuth redirects inapp/src/api.ts(login now always redirects to<current URL>/oauth/...on the web), the early updater import inindex.tsx, the badge's Tauri path, the mobile-only fullscreen guard, and the test mocks./downloadroute, and the header link; the updater icon.app/src/version/*updater manifests, thejust native,android,ios, andreleaserecipes, and the native step injust check/just fix.@types/semver, andvite-plugin-static-copy; Tauri env handling in Vite (TAURI_ENV_*,TAURI_DEV_HOST) and thetauri://CORS origins in the API.cargo-*tools,rust-overlay, and the icon tools (imagemagick,libicns) fromflake.nix;rustupfromsetup-windows.sh; Rust/Tauri VS Code recommendations;/targetfrom.gitignore.app/public/.well-known/, so hang.live links stop opening the retired app./dev/iconspage loses its native setup instructions; the icon generator stays.validRedirectinapi/src/oauth.ts) accepts only the web app's origin, dropping thehang://oauthandhttp://localhost:<port>allowances fix(auth)!: harden OAuth, JWT auth, avatar uploads, and chat sanitization #44 kept for the native app, and therandom-without-challengelogin shim that pointed stale native builds at/download. Tests now assert those redirects are rejected.This drops the PR's earlier canary fixes (deep-link redirect validation, updater join guard, Rust updater removal); they're moot.
Impact
hang://andhttp://localhost:OAuth redirects (400), and logins from pre-fix(auth)!: harden OAuth, JWT auth, avatar uploads, and chat sanitization #44 builds that sendrandomget a 400 instead of a pointer to/download./downloadnow renders the not-found page./auth/:provider/loginrejects non-web-origin redirects. No change for the web app. The API stops sending CORS headers totauri://localhostandhttp://tauri.localhost.Conflicts expected
app/src/download.tsx(now deleted) and its quest plans aDownloadbutton fix that becomes moot.Caused by
No single PR caused this; it is a product decision to go web-only.
Alternatives
native/as a canary (the earlier decision). Superseded by the maintainer.Decisions
hang://andhttp://localhost:allowances, their tests and docs (rejected: keep them). Maintainer, 2026-11-25. The legacyrandomlogin shim goes with them, since its/downloadtarget is deleted here.Follow-ups
None. Review notes left to the PRs that own them:
Downloadbutton task fromquest/m1/ui-api-fixes.md: #45 owns that quest.Validation
quest gate just check: passes on the merged head (quest, TypeScript, Biome, API incl. fix(auth)!: harden OAuth, JWT auth, avatar uploads, and chat sanitization #44's OAuth tests, app, and media tests).quest gate just build: passes;grep -rl tauri app/distfinds nothing.nix flake lockdrops onlyrust-overlay;bun installremoves 10 packages.Models
Size: S
Implementer: Claude Code, claude-opus-5-5, medium
Implementer: Claude Code, claude-opus-5-5, medium (iterate, S)
Implementer: Claude Code, claude-opus-5-5, medium (iterate, S)
🤖 Generated with Claude Code
(Written by Claude Opus 5.5 with medium)
Review
Rewritten by
quest reviewafter each round.Head: 409a95c
Base: origin/main at 048c95a
Risk: medium,
the base has no RISK.md to name what is always high or customer-facing, so every change is mediumClassified: medium by default
Reviewer: Codex, gpt-6.2-sol, medium effort
Session:
01a2161c-ae54-7581-bda4-3f327ec0dff7, round 3Score: 10/10,
The branch’s updated OAuth redirect check preserves the configured local and production browser origins, and the incremental review found no regressions.Rounds: 6; first round 3 (high 2, medium 1); findings 3 (high 2, medium 1): fixed 3, refuted 0, open 0
Findings: none