mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #1394] [Issue]: Rust dependency check scripts need repo config cleanup #697
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#697
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 @Xelvanis on GitHub (May 27, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/1394
Originally assigned to: @TheLonelyDevil9 on GitHub.
Summary
While repairing the local dependency/tooling setup, three repo-level workflow issues surfaced. The missing local executables are now installed, so these appear to be repo script/config cleanup rather than local machine setup gaps.
pnpm check:rust:depscallscargo machete --manifest-path src-tauri/Cargo.toml, butcargo-machete 0.9.2does not support--manifest-path, so the script fails before dependency analysis.cargo machete src-tauri, works and reports possible unused Rust dependencies that need triage.pnpm check:rust:denyruns without an explicitcargo-denypolicy config, socargo-denyfalls back to defaults and rejects normal licenses such as MIT/Apache.pnpm install --frozen-lockfilesucceeds but reports an ignored build script forunrs-resolver; the repo should either approve it intentionally or explicitly ignore it.Expected behavior
Rust dependency/check scripts should run with supported CLI arguments and project-owned policy/configuration:
pnpm check:rust:depsshould invokecargo-machetein a way the installed/current tool supports.pnpm check:rust:denyshould use an explicit repo policy so license/advisory failures are meaningful.pnpm install --frozen-lockfileshould have an intentional build-script approval/ignore decision forunrs-resolver.Actual behavior
pnpm check:rust:depsfails withUnrecognized argument: --manifest-path.cargo machete src-tauriworks and reports:marinara-integrationsinsrc-tauri/Cargo.tomlmarinara-storageinsrc-tauri/crates/assets/Cargo.tomlpnpm check:rust:denyfails becausecargo-denycannot find a config and applies default license rules.pnpm install --frozen-lockfilepasses but warns thatunrs-resolverbuild scripts were ignored.Steps to reproduce
pnpm install --frozen-lockfile.pnpm check:rust:deps.cargo machete src-taurito confirm the current supported invocation and candidate unused dependencies.pnpm check:rust:deny.Impact area
Environment
package.jsonscriptsLogs, screenshots, or video
Relevant command observations:
Regression notes
Unknown. This may be WIP around dependency-policy checks or the result of tool version drift.
Additional context
This was found while fixing local missing toolchain pieces. Python,
cargo-nextest,cargo-deny, andcargo-machetewere installed and verified locally before these repo-level failures were observed.Potential next steps:
check:rust:depsto callcargo-machetewith a supported path/workdir shape.cargo-denypolicy config.unrs-resolverbelongs inpnpm.onlyBuiltDependenciesorpnpm.ignoredBuiltDependencies.Template check
Please uncheck the box below before submitting so we know you read the template. It is intentionally pre-checked: