Repository navigation
feat: full Windows compatibility, mantis-ui compat crate, shots & bundle scripts - #3
Conversation
… split, menus/popovers)
… selection/IME/caret, harness cmd/stderr, popover/menu/button)
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
@loopyreviews-bot review |
Loopy reviewConfidence: 5/5 — No open findings. Reviewed 2 of 38 changed files, skipping 1 ignored file(s). This PR adds Windows support to the Mantis Rust/GPUI workspace. It adds a cross-platform
Review passes: 3 ran (general, failure-paths, state) · 52 unit and lens pair(s) carried over from earlier reviews. Ran on: Claude on a Mac. Muse on a Mac: its quota is spent until 1 December 22:50 UTC. Reviews: 13 · last reviewed |
…shot env cleanup, modal occlude)
|
Fixed all 4 P2 findings in \4f57f04:\n- Aligned \AGENTS.md, \CLAUDE.md, and .github/workflows/ci.yml\ \mt\ check across fork-owned files (\�endor/mantis-ui\ + \paths.rs/\snapshot.rs/\harness.rs).\n- Extracted \scripts/env.ps1\ to discover Cargo and CMake (VS 17/18 BuildTools, standalone CMake, \�swhere) instead of hardcoding VS 18.\n- Restored \PATH\ and \MANTIS_*\ env vars in \inally\ blocks in \scripts/shots.ps1\ and \scripts/bundle.ps1.\n- Added .occlude()\ to both \Dialog\ and \AlertDialog\ modal backdrop overlays.\n\n@loopyreviews-bot review |
|
Fixed all 5 P2 findings from review #3 in \9cbbdf6:\n- Pinned all GitHub Actions in .github/workflows/ci.yml\ to full 40-char commit SHAs and added \cargo test -p mantis-ui.\n- Resolved \ arget_directory\ dynamically via \cargo metadata\ in both \scripts/bundle.ps1\ and \scripts/shots.ps1.\n- Expanded \scripts/env.ps1\ CMake fallback search across both \ProgramFiles\ and \ProgramFiles(x86)\ for VS 18/2022 editions.\n- Rendered both checkmark and icon in \MenuItem::render\ when both are present.\n\n@loopyreviews-bot review |
|
Updated @loopyreviews-bot review |
|
Fixed all 5 P2 findings in \scripts/bundle.ps1\ and \scripts/shots.ps1\ in \94ed33c\ (atomic temp staging/zip swap so failures preserve prior packages, resolve relative paths before changing directory, restore caller cwd + env vars in \inally, and bounded process wait + kill on timeout in \shots.ps1), verified from an external working directory. @loopyreviews-bot review |
|
Fixed all 6 script failure-path/concurrency P2s in \669c296:\n- \scripts/bundle.ps1: acquires exclusive .mantis-bundle.lock, stages/zips on the same volume, rolls back both stage folder and archive on swap failure, and preserves $tmpRoot\ with a warning if rollback itself fails.\n- \scripts/shots.ps1: captures to a unique temporary PNG path (preserving prior screenshots and preventing stale reuse), and ensures timed-out processes are terminated and waited on cleanly.\n\n@loopyreviews-bot review |
…in bundle.ps1 and shots.ps1
|
Fixed all 6 findings in
@loopyreviews-bot review |
…e.ps1 and shots.ps1
|
@loopyreviews-bot review |
|
Fixed all 4 P2 findings from review #9 in
@loopyreviews-bot review |
|
Fixed all 3 P2 findings from review #12 in
Verified locally with extensionless rejection ( @loopyreviews-bot review |







What and why
#[cfg(target_os = macos)]/#[cfg(unix)]).mantis_core::pathsfor cross-platform home, app-data, cache, config, and projects directories..cmd/.batnpm shim resolution (command_for/npm_node_command), Win32PrintWindow/PostMessageWsnapshot capture, DST-safelocal_day,GetProcessTimesCPU timing, Windows keybindings, and pure-RusthayroPDF rendering.vendor/mantis-uiGPUI 0.2.2 compatibility crate,AGENTS.md,CLAUDE.md,.github/workflows/ci.yml,scripts/env.ps1,scripts/shots.ps1, andscripts/bundle.ps1.Screenshots
Captured with
.\scripts\shots.ps1 -State theme=dark,tab=parts,chat=sampleon Windows:Tests
cargo fmt --manifest-path vendor/mantis-ui/Cargo.toml --check(pass)rustfmt --edition 2024 --check crates/mantis-core/src/paths.rs crates/mantis-app/src/snapshot.rs crates/mantis-agent/src/harness.rs(pass)cargo clippy --workspace --all-targets(pass, exit 0)cargo test -p mantis-ui(4 passed; 0 failed)cargo test --workspace(209additional crate unit/integration tests pass;3live-agent CLI tests ignored;0failed).\scripts\shots.ps1 -State theme=dark,tab=parts,chat=sample -Name shot-v23.png(pass).\scripts\bundle.ps1(target\Mantis-windows-x64andtarget\Mantis-windows-x64.zip, pass)