mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #6172] [MERGED] fix: preserve empty quotes and redact image debug logs #7078
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#7078
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/6172
Author: @SpicyMarinara
Created: 9/13/2026
Status: ✅ Merged
Merged: 9/13/2026
Merged by: @SpicyMarinara
Base:
staging← Head:fix/image-debug-review-followup📝 Commits (3)
cf15e67fix: redact image debug payloads and clean up failed browser fixtures73be95dMerge remote-tracking branch 'origin/staging' into fix/image-debug-review-followup8bb1c27fix: keep prose after empty Markdown quotes outside the quote📊 Changes
7 files changed (+159 additions, -70 deletions)
View changed files
📝
CHANGELOG.md(+2 -0)📝
e2e/chat-sweep.e2e.ts(+14 -10)📝
e2e/core-flows.e2e.ts(+33 -33)📝
packages/client/src/lib/markdown.tsx(+1 -1)📝
packages/server/src/services/image/image-generation.ts(+42 -22)📝
scripts/regressions/assigned-issue-sweep.regression.ts(+10 -0)📝
scripts/regressions/image-custom-parameters.regression.ts(+57 -4)📄 Description
Linked issue
Refs #6167 and #6170. Addresses the remaining valid review findings from #6168 and #6171.
Why this change
Image debug mode could write embedded image data and custom credential fields into logs. In mixed HTML messages, a bare Markdown quote line could absorb the following ordinary text. Browser fixtures could also remain in the test database when setup or an earlier cleanup request failed.
What changed
No new dependency, migration, UI copy, or version change. Changelog updated.
Validation
pnpm checkpasses locallyCONTRIBUTING.mdAutomated validation
pnpm checkpasses on final commit8bb1c27442603f0fff2af54f47d72d8d6fef7010, including TypeScript, ESLint, localization validation, and the production build. Hosted CI passed: 268/268 Node regression files and 874 browser tests across all ten desktop Chromium, mobile Chromium, and mobile WebKit shards. Container, Windows, validation, and CodeQL checks passed. CodeRabbit completed; the one non-actionable cleanup suggestion was checked and explained in its resolved review thread.Manual verification needed
Provider proof uses local HTTP fixtures, without paid generation.
Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue openedSummary by CodeRabbit
Bug Fixes
Tests
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.