mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #8791] enforce declared route rate limits and reclaim the stranded pnpm 10 store #8501
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#8501
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?
Originally created by @SpicyMarinara on GitHub (Nov 3, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/8791
Originally assigned to: @SpicyMarinara on GitHub.
Found by the 2026-11-03 release-prep bug sweep of Marinara Engine. Each finding was confirmed by two independent verifiers.
This fixes two release-prep audit findings.
(1) Routes added this release declare rate limits that were never enforced. The rate-limit hook only matched the raw URL against its own table, so /api/access/*, /api/notices, the utility sidecar, game rulesets, Beholder state and sprite rename all fell into the 600/min default. An absolute-form request line (
POST http://host/api/generate) also skipped every specific wall: generate, updates/apply, admin/restart and connection tests got 600/min, and /login was not throttled at all.(2) The switch to pnpm 12 leaves every existing checkout with a dead 2-3 GB .pnpm-store/v10 that
pnpm store prunecannot see. On Termux, the first pnpm 12 install can hit ENOSPC while both stores are on disk, and each later start then retries into the same full disk.There is no linked issue for either finding; one should be opened before the PR is submitted.
🤖 Generated with Claude Code