mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1491] [MERGED] Fix Rust CI prompt test fallout #5109
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#5109
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/1491
Author: @Xelvanis
Created: 5/29/2026
Status: ✅ Merged
Merged: 5/29/2026
Merged by: @Xelvanis
Base:
refactor← Head:fix/refactor-mari-prompt-ci📝 Commits (1)
9ed89aeFix Rust CI prompt test fallout📊 Changes
6 files changed (+245 additions, -60 deletions)
View changed files
📝
graphify-out/GRAPH_REPORT.md(+19 -19)📝
graphify-out/cache/stat-index.json(+1 -1)📝
graphify-out/graph.json(+192 -13)📝
graphify-out/manifest.json(+15 -15)📝
src-tauri/crates/assets/src/lib.rs(+7 -4)📝
src-tauri/src/commands/storage/mari.rs(+11 -8)📄 Description
Linked issue
No linked issue. CI follow-up for the
refactorpush commit390990ec(Fix refactor issue batch).Why this change
The
Rust Capability LayerCI job failed becausecargo clippy --workspace --all-targets -D warningscompiled Rust test targets and found a stale Professor Mari test helper call. The helper still calledbuild_task_promptwith one argument after the prompt builder gained arepo_guidanceargument.A local full Rust test run also exposed a Windows-only validation blocker: the assets symlink escape test treated unsupported symlink setup as skippable, but Windows can report missing symlink privilege as raw OS error 1314 instead of
PermissionDenied.What changed
Nonefor repo guidance explicitly.Refactor impact
Primary owner:
Rust command/capability test coverage: Professor Mari command tests and the assets capability crate tests.
Impact areas reviewed:
src-tauri/src/commands/storage/mari.rsprompt helper callers and Professor Mari attachment tests.src-tauri/crates/assets/src/lib.rssymlink negative-control test setup and asset read/write assertions.Boundary notes:
No runtime boundary or app behavior change. The Mari change is test-only call-site alignment with the existing prompt builder contract. The assets change is test setup behavior only; production path validation is unchanged.
Pressure points touched:
None of the listed UI/app pressure points. Touched Rust test helpers in the Professor Mari command module and assets crate.
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
cargo check --manifest-path src-tauri/Cargo.toml --workspacepassed.cargo clippy --manifest-path src-tauri/Cargo.toml --workspace --all-targets -- -D warningspassed.cargo test --manifest-path src-tauri/Cargo.toml -p marinara-engine professor_mari_prompt --libpassed.cargo test --manifest-path src-tauri/Cargo.toml -p marinara-assets rejects_paths_that_escape_root_through_symlinked_directorypassed.cargo nextest run --manifest-path src-tauri/Cargo.toml --workspacepassed, 205/205.git diff --check origin/refactor...HEADpassed.graphify update .was run after code changes.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo changelog file exists in this checkout. No release note is needed because this fixes CI/test behavior only and does not change user-facing app behavior.
UI evidence
N/A. This PR has no visible UI change.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.