mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #7841] [CLOSED] fix(avatars): keep generated blink and talk pictures free of white edges #7962
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#7962
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/7841
Author: @SpicyMarinara
Created: 10/19/2026
Status: ❌ Closed
Base:
staging← Head:fix/avatar-variant-white-edges📝 Commits (3)
eb567a0chore: start 2D avatar variant edge investigation (#7840)70d5eb1Merge branch 'staging' into fix/avatar-variant-white-edgesd2fb780fix(avatars): preserve source colour at generated variant edges (#7840)📊 Changes
2 files changed (+77 additions, -6 deletions)
View changed files
📝
packages/server/src/services/avatars/generation/generation-context.ts(+6 -6)📝
scripts/regressions/avatar-backgrounds.regression.ts(+71 -0)📄 Description
Linked issue
Closes #7840.
Why this change
Generated blink and talk pictures can show a white hair fringe and bottom stripe absent from their source sprite. The source-outline protection covered only four pixels at the reported image size, and did not recognize an opaque bust touching the canvas bottom as an edge.
What changed
This is an Engine host image-pipeline fix. Existing saved images and pending old drafts are not rewritten: regenerate an affected blink/talk picture after updating.
Validation
Completed local evidence:
pnpm install --frozen-lockfile --prefer-offlineusing the existing store: passed.node scripts/run-regressions.mjs --filter scripts/regressions/avatar-backgrounds.regression.ts: 1/1 passed. The new bottom and fringe assertions each failed against the previous implementation before the corresponding fix.node scripts/run-regressions.mjs --filter scripts/regressions/avatar-generation.regression.ts: 1/1 passed.pnpm checkpassed before the staging security merge was added to this branch. A final exact-head recheck, browser and container validation, and local CodeRabbit review are still in progress; this PR remains draft until those local gates complete.pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
Docs and release impact
This repairs existing behavior without changing settings or installation. No guide or release metadata changes are needed.
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)UI evidence (if applicable)
Private local before/after comparison was visually reviewed against the actual source; the original source is not committed or published. The committed regression fixture is synthetic. This replay demonstrates removal within the protected contour collar, not every possible provider repaint outside it.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.