mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1320] [CLOSED] Fix refactor import rollback tests #5037
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#5037
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/1320
Author: @cha1latte
Created: 5/26/2026
Status: ❌ Closed
Base:
refactor← Head:fix/refactor-rust-import-rollback📝 Commits (2)
fb113ceFix refactor import rollback testsa7fd394Extract import rollback test helper📊 Changes
4 files changed (+31 additions, -37 deletions)
View changed files
📝
src-tauri/src/commands/storage/imports/bulk_imports.rs(+9 -20)📝
src-tauri/src/commands/storage/imports/service.rs(+3 -0)📝
src-tauri/src/commands/storage/imports/service_tests.rs(+5 -17)➕
src-tauri/src/commands/storage/imports/test_helpers.rs(+14 -0)📄 Description
Linked issue
No linked issue; this unblocks the current
refactorRust Capability Layer CI failure.Why this change
refactorbranch Rust Capability Layer is failing in import rollback tests because those tests still use corrupt JSON files to simulate write failures. Storage corruption recovery now correctly preserves and recreates corrupt collections, so those fixtures no longer fail writes and the imports can succeed.What changed
Refactor impact
Primary owner:
Rust storage / imports tests.
Impact areas reviewed:
Boundary notes:
Pressure points touched:
src-tauri/src/commands/storage/imports/bulk_imports.rstest module.src-tauri/src/commands/storage/imports/service_tests.rstest module.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
refactorpush fails Rust Capability Layer in the import rollback tests.cargo test --manifest-path src-tauri\Cargo.toml storage_commands::imports::service::bulk_imports::tests; it passed 5/5.cargo test --manifest-path src-tauri\Cargo.toml storage_commands::imports::service::tests; it passed 4/4.cargo test --manifest-path src-tauri\Cargo.toml --workspace; it passed.pnpm check; it passed.node C:\Users\celia\.codex\tools\marinara-proof-gate.mjs scratch\ci-unblock-import-rollback-verification.json; it passed.cargo nextestwas unavailable in this worktree; GitHub CI installs nextest in the Rust Capability Layer job.Docs and release impact
README.mdCONTRIBUTING.mddocs/developer/AGENTS.mdNo docs or release metadata changes are needed; this is a test-only CI unblock.
UI evidence
N/A - Rust test harness change only.
Summary by CodeRabbit
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.