mirror of
https://github.com/Pasta-Devs/Marinara-Agents.git
synced 2026-12-03 18:55:07 +07:00
[PR #1387] [MERGED] perf(slurp2): 0.3.41 — small Engine avatars, report sheet on first open #1433
Labels
No labels
agent: chess
agent: conversation-calls
agent: eightball
agent: haptic
agent: hierarchical-maps
agent: hierarchical-maps
agent: illustrator
agent: poker
agent: rock-paper-scissors
agent: tic-tac-toe
agent: uno
artifacts
bug
bugfix
build
catalog
ci
client
dependencies
docs
documentation
enhancement
feature
fixed-in-staging
in-pr
normal-scope
packages
pull-request
qol
regression
roadmap
scope-risk
server
soup
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Agents#1433
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-Agents/pull/1387
Author: @Gunterlie
Created: 10/14/2026
Status: ✅ Merged
Merged: 10/14/2026
Merged by: @Gunterlie
Base:
staging← Head:slurp-diet📝 Commits (2)
3edde37perf(slurp2): 0.3.41 — small copies of Engine avatars, report sheet built on first open, ambient look after paint6454663fix(slurp2): 0.3.41 — cancel the queued ambient look on cleanup📊 Changes
26 files changed (+704 additions, -450 deletions)
View changed files
➕
artifacts/slurp2-0.3.41.zip(+0 -0)📝
catalog/catalog.json(+8 -8)📝
catalog/notes.json(+6 -6)📝
catalog/v2/catalog.json(+8 -8)📝
catalog/v2/notes.json(+6 -6)📝
catalog/v3/catalog.json(+8 -8)📝
catalog/v3/notes.json(+6 -6)📝
package.json(+1 -1)📝
packages/slurp2/CHANGELOG.md(+6 -0)📝
packages/slurp2/client.js(+67 -67)📝
packages/slurp2/manifest.json(+5 -5)📝
packages/slurp2/server.mjs(+299 -299)📝
packages/slurp2/src/engine/packages/client/src/slp/base/chrome/SlpChrome.tsx(+7 -2)📝
packages/slurp2/src/engine/packages/client/src/slp/base/media/slp-media-src.ts(+11 -3)📝
packages/slurp2/src/engine/packages/client/src/slp/features/creators/SlpProfileSurface.tsx(+1 -0)📝
packages/slurp2/src/engine/packages/client/src/slp/features/messages/SlpSharePostModal.tsx(+7 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/features/onboarding/slp-release.ts(+6 -10)📝
packages/slurp2/src/engine/packages/client/src/slp/features/projects/SlpArcTimelineCard.tsx(+6 -1)📝
packages/slurp2/src/engine/packages/client/src/slp/modules/chrome/SlpCanvasAmbient.tsx(+15 -2)📝
packages/slurp2/src/engine/packages/client/src/slp/modules/post/SlpReportModal.tsx(+15 -9)...and 6 more files
📄 Description
Pull request
Linked issue
Closes #1386
Why this change
What changed
GET /api/slurp2/engine-avatars/:fileName?width=N(slp-media-routes.ts,resolveEngineAvatarVariantinslp-media.ts). It makes a WebP width variant of an Engine avatar with the existing variant code. The variant is cached in Slurp's ownslurp2-media/engine-avatars/namespace, keyed by the source mtime, and never written into the Engine's avatar folder. The.w<N>.webpsuffix keeps the variants out of backups. The source gets the checks the Engine's/api/avatars/fileroute makes: a plain name, an image extension, a real path inside the avatar folder (a symlink out is refused), a regular file, and image magic bytes.variantUrlsends an Engine avatar that is asked for at a width to that route. Such a URL is now fetched like other Slurp media (admin header, blob URL).SlurpMediaImghas amediaWidthprop. The profile hero, share sheet and arc timeline avatars now ask for a width.SlpReportModalrenders nothing until it is first opened. Then it stays mounted so the sheet can play its close.SlpCanvasAmbientmeasures images just after a painted frame, not from a bare timer.tests/slurp2-engine-avatar-variant.regression.ts. It covers the variant size, the cache place, the backup exclusion and the refused names (traversal, dotfiles, non-image extension, a fake.png, a symlink out of the folder). The test is registered as a plain-tsx file inpackage.jsonandscripts/run-slurp-regressions.mjs. The route inventory gets +1 GET. The release list drops 0.2.4 to keepslp-release.tsunder the 800-line limit.packages/slurp2/{client.js,server.mjs,manifest.json},artifacts/slurp2-0.3.41.zip, catalogs and notes.Not in this PR:
Package and security impact
slurp2Validation
node scripts/validate-catalog.mjspasses locallygit diff --checkpasses locallyCONTRIBUTING.mdManual verification notes
MARINARA_ENGINE_ROOTset to an isolated staging Engine checkout. All exited 0:npm run checkslurp2-architecturenode scripts/typecheck-packages.mjs slurp2node scripts/build-feature-packages.mjs slurp2test-catalog-lanes,validate-package-locales,validate-catalog,catalog-release-notesgit diff --checknode scripts/run-slurp-regressions.mjs: 292 passed, 0 failed..env is refused.engine-avatars/...?width=96WebP files of a few kB.Documentation impact
UI evidence (if applicable)
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.