mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2050] 3. Remote runtime parity #1000
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#1000
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?
Originally created by @Xelvanis on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2050
Originally assigned to: @Promansis on GitHub.
Target 3: Remote Runtime Parity
Scope
Included:
Not checked:
/api/sidecar/v1/embeddingscompatibility route.Surface Inventory
packages/server/src/routes/*;packages/client/src/lib/api-client.ts; feature API callssrc/shared/api/remote-runtime.ts;src-tauri/src/http_dispatch.rs;src-tauri/src/http_server.rs/api/*directlysrc/shared/api/remote-runtime.ts;src/shared/stores/ui.store.ts;src/shared/stores/ui/persistence.ts/api/invoke, embedded Tauri IPC, or a visible shell-required failure.src/shared/api/tauri-client.ts;src/shared/api/remote-runtime.tssrc/shared/api/tauri-client.ts;src/shared/api/profile-api.ts;src/shared/api/integration-gateway.ts;src-tauri/src/http_dispatch.rs/api/invoke storage_listavailability./api/healthinpackages/server/src/app.tssrc-tauri/src/http_server.rs;src/shared/api/remote-runtime.ts;src/app/startup/remote-runtime-health.tssrc/app/startup/remote-runtime-health.ts;src/features/shell/settings/components/SettingsPanel.tsx;src/shared/api/remote-runtime.tsmarinara-admin-secret, lazy health dot/message, and one-time startup warning.src/app/shell/useStartNewChat.ts;src/features/modes/shared/chat-ui/components/NewChatConnectionGate.tsx;src/shared/api/storage-api.ts;src/shared/api/remote-runtime.ts/api/invoke./api/*route topologysrc-tauri/src/http_server.rs;src/shared/api/remote-runtime.ts;src/shared/api/local-file-api.ts;src/shared/api/llm-api.ts;src/shared/api/import-api.tssrc/shared/api/*-api.ts;src-tauri/src/http_dispatch.rs; focused Rust command modulesApiError.packages/client/src/lib/api-client.tssrc-tauri/src/http_server.rs;src/shared/api/remote-runtime.ts;src/shared/api/api-errors.tspackages/server/src/middleware/basic-auth.ts;ip-allowlist.tssrc-tauri/src/http_server.rs/api/*requests require trusted origin/referer plus CSRF proof; wildcard CORS does not grant write trust.packages/server/src/middleware/csrf-protection.ts;csrf-diagnostics.routes.ts; client CSRF fetch/API clientsrc-tauri/src/http_server.rs;src/shared/api/remote-runtime.tspackages/server/src/middleware/privileged-gate.ts; privileged route callerssrc/shared/api/remote-runtime.ts;src-tauri/src/http_server.rs;src-tauri/src/commands/storage/admin.rs/api/generateSSE and abort routessrc/shared/api/llm-api.ts;src/shared/api/remote-runtime.ts;src-tauri/src/http_server.rs;src-tauri/src/commands/storage/llm.rsllm_completeallowlist coverage.packages/server/src/routes/import.routes.ts; legacy import modalsrc/shared/api/import-api.ts;src/features/shell/imports/components/STBulkImportModal.tsx;src-tauri/src/http_server.rs;src-tauri/src/commands/storage/imports/*list-directory,pick-folder, and folder token flowsrc-tauri/src/http_dispatch.rs;src-tauri/src/commands/storage/imports/access.rs;src-tauri/src/commands/storage/imports/service.rs/api/*/fileroutes and static asset servicessrc/shared/api/local-file-api.ts;src-tauri/src/http_server.rs;src-tauri/src/http_dispatch.rs/api/assets/:kind/*path.src/shared/api/local-file-api.ts; mutating shared API wrappers;src-tauri/src/http_server.rsmriAssetV, object URL revoke, Basic Auth asset fetch, MIME, cache-control, and ETag.src-tauri/src/http_server.rs; asset route testssrc/shared/api/file-payload.ts;src/shared/api/download-payload.ts;src/shared/api/import-api.ts;src/shared/api/export-api.ts; profile/backup APIssrc/engine/capabilities/storage.ts;src/shared/api/storage-api.ts;src-tauri/src/commands/storage/commands/entities.rs;src-tauri/src/http_dispatch.rssrc-tauri/src/commands/storage/commands/entities.rs;src-tauri/src/http_dispatch.rs; focused storage modulespackages/server/src/routes/haptic.routes.ts; haptic service and hookssrc/shared/api/integration-gateway.ts;src/shared/api/haptics-api.ts;src-tauri/src/http_dispatch.rs;src-tauri/src/commands/storage/integrations/haptic.rssrc/shared/api/custom-tool-api.ts;src-tauri/src/http_dispatch.rs;src-tauri/src/commands/storage/custom_tools.rs;src/shared/api/integration-gateway.tspackages/server/src/middleware/rate-limit.ts;packages/server/src/app.tsbody limit and no-store API send hooksrc-tauri/src/http_server.rs;src/shared/api/remote-runtime.tspackages/server/src/routes/sidecar.routes.ts;packages/client/src/stores/sidecar.store.tsdocs/developer/run-build.html;src-tauri/src/http_server.rs;src-tauri/src/commands/storage/llm.rssrc-tauri/src/http_server.rs;src-tauri/src/commands/storage/llm.rs; sidecar/LLM modulessrc/shared/api/integration-utility-api.ts;src/shared/api/external-link-api.ts; Spotify Rust integration modulesCoverage Matrix
useStartNewChatandNewChatConnectionGatenow check remote health before storage connection reads; #2061 is closed.io_errorto 503 mapping; uncategorized I/O stays 500.import_st_bulk_scan; #2058 is closed./api/sidecar/v1/embeddingsbacked by configured embedding connections.Follow-Ups
import_st_bulk_scannow requires Admin Access like bulk run.io_errorcases now map to 503-class HTTP responses.marinara_admin_secretbrowser key.Current Closure Rescan - 2026-06-04
Base: Refactor
origin/refactor/ current checkoute4d58f88; legacy reference remains v1.6.1 server/client runtime behavior.Outcome:
on_parat focused-test proof level for the scanned remote-runtime scope.docs/REFACTOR_PARITY_PIPELINE.md.Current proof run:
cargo test --manifest-path src-tauri/Cargo.toml remote_runtime_command_surfaces_match_desktop_minus_documented_non_remote_commandspassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml hostable_security_passed: 12 tests.cargo test --manifest-path src-tauri/Cargo.toml remote_st_bulk_scan_requires_admin_accesspassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml api_no_store_headers_apply_only_to_api_responsespassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml api_body_sizepassed: 4 tests.cargo test --manifest-path src-tauri/Cargo.toml api_rate_limiterpassed: 2 tests.cargo test --manifest-path src-tauri/Cargo.toml api_invoke_enforces_command_specific_rate_limit_at_dispatch_boundarypassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml io_errors_map_to_storage_unavailable_http_statuspassed: 3 matched tests.cargo test --manifest-path src-tauri/Cargo.toml locked_database_io_errors_map_to_storage_unavailable_http_statuspassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml message_only_storage_io_errors_map_to_storage_unavailable_http_statuspassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml uncategorized_io_errors_keep_internal_server_error_statuspassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml health_probe_reports_writable_storage_and_cleans_uppassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml sidecar_embedding_inputs_accept_openai_style_inputspassed: 1 test.cargo test --manifest-path src-tauri/Cargo.toml custom_toolpassed: 9 tests.pnpm exec vitest run src/shared/api/remote-runtime.test.tspassed: 1 file, 5 tests.Still not proven in this refresh:
Historical Scan Slices Superseded - 2026-06-04
Earlier Target 3 scan slices found the follow-ups that this issue used to track: #2058, #2059, #2060, #2061, #2063, #2068, #2069, and #2070. All are now closed, and the current header, Coverage Matrix, Follow-Ups table, and Current Closure Rescan above are the source of truth for this detail issue.
Preserved historical proof commands remain below for traceability, but older gap classifications from the first scan are intentionally not repeated here because they are stale after the current closure rescan.
Proof Recorded In Report
Rescan Criteria
Target 3 is
on_parfor the current scanned scope atorigin/refactore4d58f88.Rescan if any of these areas change:
/api/invokedispatch shape.Manual proof still useful before a release: