mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8227] [MERGED] fix: preserve music test previews and clarify connection errors #8193
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#8193
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/8227
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/music-test-cleanup-8222📝 Commits (3)
11c7ed0fix: preserve music previews when cleanup is unavailable246a75etest: cover unavailable preview cleanup and safe auth guidance3bb76cctest: show complete mobile connection error evidence📊 Changes
5 files changed (+84 additions, -6 deletions)
View changed files
📝
e2e/compatible-game-audio.e2e.ts(+46 -2)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+3 -1)📝
packages/client/src/localization/locales/en.json(+2 -1)📝
packages/server/src/services/audio/generative-audio.service.ts(+5 -1)📝
scripts/regressions/generative-audio-connections.regression.ts(+28 -1)📄 Description
Linked issue
Closes #8222. Focused follow-up to merged #8223.
Why this change
A music test can publish its track successfully and then report a failure when listing older previews is denied. An authentication response with only a recognized error code also currently shows bare HTTP 401, while local endpoint errors are incorrectly attributed to the music service.
What changed
invalid_api_keyandunauthorizedresponses, preserving a specific sanitized provider explanation when one exists.Validation
On frozen final runtime bytes,
pnpm checkand the production build passed. The existing Professor Mari hook-dependency warning remains. The focused route/provider suites passed, six existing panel cases passed in dark/light desktop Chromium, mobile Chromium and mobile WebKit, and seven unchanged shell smoke cases passed. The later assertion/capture-only test delta also passed E2E type checking and the final six-case run.Actual b9 source counterfactuals fail the new controls: the service returns 502 after a successful MP3 publication, and the editor shows bare HTTP 401. Fixed source bytes were restored in
finally.Local CodeRabbit completed a substantive five-file review with one MINOR declined: the approved scope adds a fallback for code-only errors; it retains an existing bounded provider explanation that can describe missing permissions more precisely. A tiny assertion added after the captured review proves that precedence. No runtime changes followed the review. This is not a zero-findings claim.
Logs, review attribution, source hashes, negative controls and screenshots.
Fresh installation did not pass: the private cache was incomplete and the online attempt hit ENOSPC. The approved recovery used a private APFS clone of the exact-lock verified dependency tree; six manifest identities and relative links were checked, and all tests/builds ran in this isolated checkout. The earlier frozen b9 host and its dependencies/outputs were untouched. The local Docker daemon is unavailable, so a local container build and physical-device behavior are not claimed. Hosted checks and final-head Dottore remain merge gates.
Manual verification plan
Docs and release impact
No dependencies, release metadata, storage format, or user documentation changes. Canonical English UI copy is localized; community catalogs retain their existing fallback. No CHANGELOG changes.
UI evidence
The linked packet includes a b9-source before screenshot and final after screenshots, with full mobile error paragraphs visible. They use local intercepted responses and the bundled MP3, not a real provider call or physical phone. Original #8223 review/owner-merge evidence remains historical and separate.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.