mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #2057] [Issue]: Browser-prove Basic Auth managed asset blobs for Remote Runtime #1003
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#1003
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 @Promansis on GitHub (Jun 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/2057
Originally assigned to: @cha1latte on GitHub.
Summary
Remote Runtime managed asset parity for the asset/cache slice is static-proven, but not browser-proven when the runtime URL uses reverse-proxy Basic Auth.
The current static trace shows the intended path: Remote Runtime URL credentials are stripped into an
Authorizationheader, managed asset URLs with credentials are fetched as blobs, object URLs are cached and revoked, andmriAssetVinvalidates mutated asset kinds. A live browser proof should confirm visible assets actually render and refresh through that path.Expected behavior
In web-shell remote runtime mode with a Basic Auth-protected runtime URL:
Authorizationheader without embedding credentials in rendered DOM URLs.Cache-Control, andETagresponse headers do not prevent mutated assets from refreshing aftermriAssetVchanges.Actual behavior
No broken product behavior was confirmed in the asset/cache parityscan.
Remaining gap: no live browser run was performed with reverse-proxy Basic Auth. The Basic Auth blob rendering path is covered by static trace and focused Rust tests, but not by an end-to-end browser/runtime proof.
Steps to reproduce
https://user:password@example.test.Impact area
Environment
refactor9bcfb164for the parityscan; legacy baselinemain77a30fa4Logs, screenshots, or video
Current proof from target #2050:
No browser screenshot/video exists yet for the Basic Auth asset blob path.
Regression notes
Legacy
mainserved managed media as same-origin direct routes under/api/*/file, so reverse-proxy Basic Auth was handled by ordinary same-origin browser requests. The refactor web shell uses a remote runtime URL and must fetch authenticated managed assets as blobs when credentials are configured.Additional context
Related tracking issue: #2050.
Relevant refactor paths:
src/shared/api/remote-runtime.tssrc/shared/api/local-file-api.tssrc-tauri/src/http_server.rssrc/shared/api/assets-api.tssrc/shared/api/settings-assets-api.tssrc/shared/api/image-generation-api.tssrc/shared/api/storage-api.tssrc/shared/api/import-api.tssrc/shared/api/profile-api.tssrc/features/modes/game/components/DirectionEngine.tsxRelevant legacy paths:
packages/server/src/routes/avatars.routes.tspackages/server/src/routes/backgrounds.routes.tspackages/server/src/routes/game-assets.routes.tspackages/server/src/routes/fonts.routes.tspackages/server/src/routes/gallery.routes.tspackages/server/src/routes/lorebooks.routes.tspackages/server/src/routes/sprites.routes.tsTemplate check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: