mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1680] [MERGED] Restore hostable auth parity #5208
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#5208
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/1680
Author: @cha1latte
Created: 5/30/2026
Status: ✅ Merged
Merged: 5/30/2026
Merged by: @cha1latte
Base:
refactor← Head:codex/refactor-hostable-auth📝 Commits (2)
70a7616Restore hostable auth parity220e4efAddress authenticated remote asset review📊 Changes
17 files changed (+479 additions, -84 deletions)
View changed files
📝
custom_components/marinara_engine/__init__.py(+7 -1)📝
custom_components/marinara_engine/config_flow.py(+63 -6)📝
custom_components/marinara_engine/const.py(+2 -0)📝
custom_components/marinara_engine/coordinator.py(+32 -3)📝
custom_components/marinara_engine/strings.json(+3 -1)📝
custom_components/marinara_engine/translations/en.json(+3 -1)📝
src-tauri/src/http_dispatch.rs(+25 -9)📝
src/app/App.tsx(+10 -6)📝
src/app/shell/ChatSidebar.tsx(+31 -3)📝
src/features/catalog/characters/components/CharacterAvatarImage.tsx(+21 -2)📝
src/features/modes/game-assets/components/AssetGrid.tsx(+33 -13)📝
src/features/modes/game-assets/components/ImagePreviewModal.tsx(+18 -2)📝
src/features/shell/settings/components/SettingsPanel.tsx(+12 -2)📝
src/shared/api/local-file-api.test.ts(+82 -15)📝
src/shared/api/local-file-api.ts(+68 -9)📝
src/shared/api/remote-runtime.test.ts(+47 -7)📝
src/shared/api/remote-runtime.ts(+22 -4)📄 Description
Linked issue
N/A - refactor readiness blocker found during hostable/security/integration review.
Why this change
The refactor branch added secured hostable runtime behavior, but Home Assistant and remote asset paths were not fully aligned with that boundary. Secured
marinara-serverneeded an authenticated integration path, and raw server-path commands needed to stay unavailable over HTTP.What changed
Refactor impact
Primary owner:
Remote runtime / shared API / Home Assistant integration.
Impact areas reviewed:
src/shared/apiremote runtime wrappers.src-tauriHTTP dispatch command boundary.Boundary notes:
Pressure points touched:
src/shared/api/remote-runtime.tssrc/shared/api/local-file-api.tssrc-tauri/src/http_dispatch.rscustom_components/marinara_engine/*Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyCodex-run proof:
pnpm checkpassed inscratch/refactor-lane-worktrees/hostable.pnpm test src/shared/api/remote-runtime.test.ts src/shared/api/local-file-api.test.tspassed: 21 tests.cargo test --manifest-path src-tauri\Cargo.toml http_dispatch::testspassed: 10 tests.pnpm typecheckpassed.cargo check --manifest-path src-tauri\Cargo.tomlpassed.git diff --check upstream/refactor...HEADpassed.Manual verification notes
Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs changes included. This PR updates integration strings/translations for the new auth fields.
UI evidence
N/A - hostable/auth/integration behavior only; no app UI changes.
Summary by CodeRabbit
Release Notes
New Features
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.