mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #4939] [MERGED] perf(client): cache repeated checks #6548
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#6548
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/4939
Author: @Xelvanis
Created: 8/12/2026
Status: ✅ Merged
Merged: 8/12/2026
Merged by: @SpicyMarinara
Base:
staging← Head:perf/pnpm-check-caches📝 Commits (2)
f9dfd40perf(client): cache repeated checks85ff196docs(changelog): link check cache issue📊 Changes
3 files changed (+4 additions, -2 deletions)
View changed files
📝
CHANGELOG.md(+1 -0)📝
packages/client/package.json(+2 -2)📝
packages/client/tsconfig.json(+1 -0)📄 Description
Linked issue
Closes #4938
Why this change
Repeated local checks reprocess the complete client TypeScript and ESLint inputs even when those files are unchanged. Reusing the tools' native caches shortens iterative validation while keeping every existing diagnostic and production-build lane.
What changed
packages/client/node_modules/.cache/eslint/.eslintcachewithout changingeslint .file selection or rules.distand TypeScript build state; ordinarypnpm checkcontinues to retain caches.[Unreleased]changelog entry without promising a universal timing result.Validation
pnpm checkpasses locallyCONTRIBUTING.mdManual verification notes
pnpm checkpassed in 2m22s on one Windows machine.pnpm checkpassed in 28s; a final warm implementation run also passed in 28s.pnpm checkpassed in 82s after the explicit-clean proof had removed TypeScript's warm state. These timings are machine-specific.TS2322before Vite, and a disposable ESLint syntax error failed with a parsing diagnostic; both files were restored exactly and their normal commands passed afterward.dist, TypeScript build state, and the ESLint cache present, explicit client clean removed all three; the next client lint passed and recreated its cache.Docs and release impact
docs-i18nbranch updated to match, or a[docs-i18n]follow-up issue opened (see CONTRIBUTING.md § Translated documentation)The required changelog entry is included. No user documentation, translation, or version change is needed.
UI evidence (if applicable)
Not applicable; this changes local validation tooling and clean behavior only.
Risks and limitations
Summary by CodeRabbit
Performance
Maintenance
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.