mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1705] [MERGED] [codex] Enforce full Knip unused checks #5221
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#5221
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/1705
Author: @Xelvanis
Created: 5/31/2026
Status: ✅ Merged
Merged: 5/31/2026
Merged by: @Xelvanis
Base:
refactor← Head:codex/remove-unused-font-file-url-helper📝 Commits (1)
971f090Enforce full Knip unused checks📊 Changes
3 files changed (+3 additions, -10 deletions)
View changed files
📝
.github/workflows/ci.yml(+1 -2)📝
package.json(+2 -2)📝
src/shared/api/local-file-api.ts(+0 -6)📄 Description
Linked issue
No linked issue; developer tooling cleanup after the full Knip sweep.
Why this change
fontFileUrlFromPath, was superseded by the async font resolver and kept full Knip failing.What changed
fontFileUrlFromPathexport fromsrc/shared/api/local-file-api.ts.pnpm check:unusedfrom file-only Knip to fullknip --no-config-hints.pnpm check:unusedto the aggregatepnpm checkcommand.continue-on-error.Refactor impact
Primary owner:
Impact areas reviewed:
src/shared/api/local-file-api.tscustom font URL helper surface.src/app/App.tsxcustom font loader still usesresolveFontFileUrl.package.jsoncheck scripts..github/workflows/ci.ymlfrontend organization job.Boundary notes:
pnpm check:unusedscript as local validation.Pressure points touched:
Validation
pnpm checkpasses locallypnpm typecheckpasses locallypnpm buildpasses locallypnpm check:architecturepasses locallypnpm check:docspasses locallycargo check --manifest-path src-tauri/Cargo.toml --workspacepasses locallyManual verification notes
pnpm check:unused; full Knip passed.pnpm typecheck; TypeScript project build passed.pnpm check; line endings, architecture, frontend typecheck, Rust check, docs check, and full Knip all passed.git diff origin/refactor...HEAD --check; no whitespace errors.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNotes:
UI evidence
Not applicable; no visible UI changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.