mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1296] [MERGED] Fix refactor web-shell runtime setup error #5023
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#5023
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/1296
Author: @cha1latte
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @cha1latte
Base:
refactor← Head:fix/refactor-issue-1233-runtime-error📝 Commits (1)
c81883cFix missing runtime connection error📊 Changes
1 file changed (+16 additions, -1 deletions)
View changed files
📝
src/shared/api/tauri-client.ts(+16 -1)📄 Description
Linked issue
Closes #1233
Why this change
Cannot read properties of undefined (reading 'invoke')error.What changed
src/shared/api/tauri-client.ts.Remote Runtime URL is not configuredwhen neither remote runtime nor Tauri IPC is available.This action requires the Tauri app shellinstead of leaking the raw IPC TypeError.Refactor impact
Primary owner:
shared API / remote runtime boundary
Impact areas reviewed:
Boundary notes:
REMOTE_COMMANDS, remote HTTP payloads, Rust commands, storage schemas, or provider behavior.Pressure points touched:
src/shared/api/tauri-client.tsValidation
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 exec vitest run --config scratch\vitest.issue-1233.config.ts --reporter verbose: before the fix, the missing-runtimestorage_createrow failed because it returned status 500 with the rawCannot read properties of undefinedmessage.pnpm exec vitest run --config scratch\vitest.issue-1233.config.ts --reporter verbose: 4 tests passed for missing remote runtime, Tauri-only browser error, embedded Tauri IPC, and configured remote runtime HTTP routing.pnpm dev -- --host 127.0.0.1 --port 5176: Connections -> Add Connection -> Image Generation -> Create now showsRemote Runtime URL is not configured, and the page text does not contain the raw TypeError.pnpm check: passed architecture, frontend typecheck, Rust cargo check, and docs.pnpm build: passed Vite production build; only existing chunk/dynamic-import warnings were reported.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\bugfix-verification.jsonpassed.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release metadata changes were needed.
UI evidence
Before, from the linked issue:
After, from Codex Playwright verification:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.