mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1205] [MERGED] Fix Spotify auth browser launch #4979
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#4979
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1205
Author: @Decidetto
Created: 5/25/2026
Status: ✅ Merged
Merged: 5/25/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/spotify-auth-browser-launch📝 Commits (1)
15b195fFix Spotify auth browser launch📊 Changes
2 files changed (+9 additions, -2 deletions)
View changed files
📝
src-tauri/src/commands/storage/commands/integrations.rs(+9 -1)📝
src/features/catalog/agents/components/AgentEditor.tsx(+0 -1)📄 Description
Linked issue
Closes #1204
Why this change
window.openafter awaiting the Tauri command. In the Tauri desktop flow this no longer reliably opened an external browser, leaving users unable to authenticate.What changed
spotify_authorizeTauri command usingtauri_plugin_opener::open_url.spotifyApi.authorizewrapper and removed the post-awaitwindow.opencall.authUrlcontract so the caller can still validate that authorization started.Refactor impact
Primary owner:
Rust storage/integrations Tauri command boundary.
Impact areas reviewed:
AgentEditor.Boundary notes:
src/shared/api/integration-utility-api.ts.invokeTauricall was added to React feature code.spotify_authorizeis not remote-runtime allowlisted, so this remains desktop-only OAuth behavior.Pressure points touched:
ModeSurface,GameSurface, shared mode UI, command registration, or import modules touched.Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm checklocally.pnpm check:architecturelocally.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdUI evidence
Manual Tauri verification completed. No screenshot added because the visible result is an external Spotify OAuth browser launch and connected-account state.
Summary by CodeRabbit
Bug Fixes
Refactor
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.