Repository navigation
overhaul the source control panel and add hunk staging - #146
ThinhNguyen2005 wants to merge 8 commits into
Conversation
…ng, and conflict resolution
|
@ThinhNguyen2005 is attempting to deploy a commit to the curzyori's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
Thanks for the pull request, @ThinhNguyen2005! Every pull request goes through the checks in CONTRIBUTING.md: this safety scan first, then the build, tests, code quality and a performance comparison against Safety scanPassed, with things a maintainer has to read before merging. 11 file(s) scanned · 🛑 critical: 0 · ⛔ high: 0 · 👀 review: 1 · ℹ️ info: 0
|
|
I reviewed the diff against main (3e17ecd): 11 files, +4541/-1311. I read src/scm_git.rs end to end, plus the diff viewer, incoming commits, and panel changes, and I checked CI and the translation table for this head (5583312). What is wrong
What is missing or unclear
What is good
|
|
@MyKineID Pushed
Answers to the open questions:
Ready for a maintainer to approve the |
|
Follow-up review, only for the new commit 527c24a ("fix conflict staging retries and source control labels") since my review of 5583312. What is wrong
What is missing or unclear
What is good
|
Reworks the Source Control panel around a dedicated Git step runner (
src/scm_git.rs) and adds hunk staging and conflict resolution while keeping the diff viewer updates from #138 and #144.Conflict previews over 2 MiB stop before opening the resolver,
Step::Resolveallows retryinggit addif staging fails after writing, and WSL helper transport failures only fall back towsl.exefor allowlisted read-only Git commands.On Windows, focused
scm_git::tests::passed 12/12 anddiff_view::tests::passed 6/6. The fullcargo test --bin fluxcoderun reported 398 passed, 2 failed, and 7 ignored. Both failures (ext::host::tests::ext_host_smoke_test_with_nodein unchangedsrc/ext/host.rsandproc::tests::isolated_job_terminates_spawned_process_and_childrenin unchangedsrc/proc.rs) reproduce with the same errors onmain(3e17ecd) in this environment.cargo clippy --bin fluxcode -- -W clippy::allexited 0 with no new warnings in touched files.