mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #8223] [MERGED] Fix music model selection and add test-track playback #8194
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#8194
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/8223
Author: @SpicyMarinara
Created: 10/23/2026
Status: ✅ Merged
Merged: 10/23/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/elevenlabs-music-model-option📝 Commits (9)
57d04d4fix: offer Eleven Music v2.5 in the music model selector86a1e13Add explicit music connection sample playback and safe provider errorsa78d207Merge remote-tracking branch 'origin/staging' into fix/elevenlabs-music-model-option8b5116dUse themed sample controls and redact overlapping private URLsd521938Start sample playback before asserting decoded audio readiness3c44c6eMerge remote-tracking branch 'origin/staging' into fix/elevenlabs-music-model-option7ffb88fAddress music test diagnostics and bounded sample storage13e53aaSerialize changed music tests without reusing stale requestsce793efKeep music test request kinds distinct📊 Changes
8 files changed (+747 additions, -29 deletions)
View changed files
📝
e2e/compatible-game-audio.e2e.ts(+216 -1)📝
packages/client/src/components/connections/ConnectionEditor.tsx(+127 -8)📝
packages/client/src/localization/locales/en.json(+13 -1)📝
packages/server/src/routes/audio.routes.ts(+16 -0)📝
packages/server/src/services/audio/generative-audio-providers.ts(+98 -4)📝
packages/server/src/services/audio/generative-audio.service.ts(+42 -12)📝
scripts/regressions/generative-audio-connections.regression.ts(+176 -2)📝
scripts/regressions/generative-audio-providers.regression.ts(+59 -1)📄 Description
Linked issue
Closes #8222
Why this change
The ElevenLabs music-model dropdown is empty although the Engine already defaults to
music_v2_5. The maintainer also requested a way to generate and hear a test track. Provider rejections currently lose their useful reason.What changed
Validation
Validation, source hashes, review dispositions, screenshots and negative/replay records.
Final canonical
pnpm checkand the maintained provider/real-route suites passed. Browser proof covers 12 desktop/mobile light/dark selector/sample cases and seven unchanged shell smoke cases on checkpoint7ffb88f53; the final client, English catalog and browser-spec bytes are identical. Later server-only request-identity changes have focused concurrency/credential/duration/kind controls and actual earlier-source counterfactual failures. The two pre-existing compatible-audio save/reopen cases also passed in the original feature validation.The substantive repair review found one valid local CodeRabbit minor, now fixed; its two-file correction review completed with zero findings at
13e53aa441. The final one-item kind hash correction and matching regression follow that captured review and are independently checked; they are not relabeled as an exact-final-head local review. Earlier findings and source-backed declined minor suggestions remain in the public packet. The actual final-head hosted Dottore verdict, required CI and unresolved threads remain separate merge gates.pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Risk and proof boundaries
The sample uses the existing selected-connection generation route and MP3 asset playback. Its context is reserved for connection testing; normal Game/Roleplay/package cache semantics are preserved. The actual route passes no live abort signal to the shared service, so client cancellation is a stale-result fence rather than a promise to stop server/provider work.
The first hosted pnpm attempt timed out while Ubuntu apt installed Chromium dependencies before browser assertions; one unchanged failed-job retry passed. The newly added held-request fixture initially failed because Fastify injection chains had not been started; an unchanged replay and direct Fastify probe isolate that harness error. Correct startup retains all assertions and existing deadlines. Earlier WebKit metadata-preload and old-source HMR isolation records are preserved without weakening product checks.
Browser playback uses a bundled 97-second MP3 fixture while the intercepted request asserts 10 seconds. These are emulated-browser proofs, not physical-device validation. Separate maintainer-authorized live validation exercised the byte-identical ElevenLabs request-construction block on the earlier
8b5116df7candidate, with two decoded music successes and one sanitized ToS rejection. Later diagnostics/storage repairs were fixture-tested; no further paid call or key use occurred in this lane.Docs and release impact
No defaults, dependencies, release metadata or changelog change. UI copy uses canonical English keys. The official Music API lists
music_v2_5; the existing provider request format remains unchanged.docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence
The public packet includes both themes on desktop Chromium, mobile Chromium and mobile WebKit, old-source missing-button/model controls, native playback, safe rejection and viewport-fit screenshots. Human verification boxes remain unchecked.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.