mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #11] [MERGED] Fix attachments persistence, playerStats wipe, TLS redirect URI, and UX edge cases #4391
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#4391
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/11
Author: @Copilot
Created: 3/10/2026
Status: ✅ Merged
Merged: 3/10/2026
Merged by: @SpicyMarinara
Base:
release/1.3.0← Head:copilot/sub-pr-9-again📝 Commits (2)
11d9c76Initial plan263f779fix: address PR #10 review comments (attachments, playerStats, TLS, manifest)📊 Changes
6 files changed (+28 additions, -12 deletions)
View changed files
📝
packages/client/public/manifest.json(+2 -2)📝
packages/client/src/components/chat/ChatInput.tsx(+1 -0)📝
packages/client/src/lib/slash-commands.ts(+1 -0)📝
packages/server/src/index.ts(+18 -5)📝
packages/server/src/routes/generate.routes.ts(+4 -4)📝
packages/server/src/routes/spotify-auth.routes.ts(+2 -1)📄 Description
Several bugs from the PR #10 review: attachments-only messages were never persisted,
playerStatswas reset tonullon every generation, the Spotify OAuth redirect URI ignored TLS config, and attachments leaked across slash commands.Server
attachments.length > 0even ifuserMessageis empty, withcontentdefaulting to""so images-only sends are stored against the correct turnplayerStatspreservation: World-state snapshot creation carries forwardprevSnap.playerStatsinstead of hardcodingnull, with safe string/object detection beforeJSON.parsegetRedirectUri()now deriveshttp/httpsfromSSL_CERT/SSL_KEYenv varsloadTlsOptions()throws a descriptive error with cert/key paths on read failure;main()catches and exits cleanly instead of crashing with a raw stack traceClient
setAttachments([])added to the slash command path — previously queued attachments silently carried over to the next sendSlashCommandContext.generatetype: Added optionalattachments?: { type: string; data: string }[]to unblock multimodal slash command generationsmanifest.jsonicon sizes: Replaced"any"with actual pixel dimensions (64x64,1655x1322) to fix PWA install validation in strict browsers🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.