mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1252] [MERGED] [codex] Fix Rust structure line counting #5002
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#5002
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/1252
Author: @Xelvanis
Created: 5/26/2026
Status: ✅ Merged
Merged: 5/26/2026
Merged by: @Xelvanis
Base:
refactor← Head:codex/fix-rust-structure-line-count📝 Commits (1)
1c67f9eFix Rust structure line counting📊 Changes
1 file changed (+10 additions, -1 deletions)
View changed files
📝
scripts/check-rust-structure.mjs(+10 -1)📄 Description
Linked issue
None - local chore/tooling fix, no public issue.
Why this change
scripts/check-rust-structure.mjscounted a normal terminal newline as an extra logical line, so a Rust module with exactly the configured line limit could fail as one line over.What changed
Refactor impact
Primary owner:
scripts/check-rust-structure.mjsImpact areas reviewed:
Boundary notes:
Pressure points touched:
scripts/check-rust-structure.mjsonly. No Rust import modules were edited.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
Automated/local proof run before opening this draft:
pnpm check:architecture; dependency-cruiser passed and Rust structure check passed.git diff --check; no whitespace errors were reported. Git emitted only the local LF/CRLF conversion warning for the touched script.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdDocs/release notes: not needed; this is an internal architecture-check tooling fix with no user-facing app behavior change.
UI evidence
Not applicable; no UI behavior changed.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.