Repository navigation
Conversation
✅ Deploy Preview for images-devsy-sh canceled.
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 39 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
✅ Deploy Preview for devsydev canceled.
|
|
Needs human: current head 748f41f has a failing Windows ssh-tunnel-mode test (job 120819045768), so CI Success failed. The sequential-SSH spec failed during startDetachedTunnelUp with deadline_exceeded before workspace creation; three preceding specs passed. Logs do not prove a transient infrastructure failure, so no rerun or unrelated source change was made. All other CI checks are terminal. Non-test diff remains +54/-64 (118 lines); both commits are signed and verified. Auto-merge is blocked pending investigation and passing CI. Local CodeRabbit CLI was quota-limited; GitHub completed review is still required. |
|
@greptileai review |
[Low impact] The PR appears safe to merge; the shared helper preserves the existing install behavior. SummaryMoves the shared Python install steps into
Reviews (1) · Last reviewed commit: "test(ide): satisfy lint in python instal..." · Reviewed by Greptile |
|
Final cycle disposition: needs human. Greptile completed on 748f41f with 5/5 confidence, four files reviewed and no findings. CodeRabbit CLI and GitHub are quota-limited; the GitHub success status says Review rate limited and is not completed review coverage (reset advertised in 39 minutes at 08:17 UTC). CI is terminal: 99 successes including Greptile, 3 conditional skips, 7 neutral checks, and 2 failures (Windows ssh-tunnel-mode plus CI Success). No unresolved review threads. No rerun was made because logs do not establish a transient infrastructure failure. PR is ready for human investigation; workspace and branch retained for the next cycle. |
Summary
serverutil.InstallPythonTool(pkg/ide/internal/serverutil/python.go) to own the existence check, install command selection, log lines, and error wrapping.jupyterandmarimoInstall()now call the helper with their ownName,Package, andExecutable. The duplicatedinstallNotebook/installMarimobodies are removed.SuOrSh(user, cmd, "")produces the samesu/sh -cargv as before.Why
Both IDEs carried a ~30-line copy of the same Python install path. The shared helper keeps install behavior and error wrapping consistent across tools, using the existing
serverutilinternal utility.Validation
Head
748f41ff08cd1b6199acd9bc05b70f1ff2a31a36.84a3290failed on the newpython_test.go(funcorder, gosec G306, gosec G304). Localcli:lint:ciat84a3290used--new-from-patch, which skips untracked files, so it did not cover that file. The earlier "0 issues" result did not include it.748f41f:useFakeUvmoved after the exported tests; the stub is written withos.OpenFile(filepath.Clean(path), …, 0o600)andf.Chmod(0o700)on the open handle; the read usesfilepath.Clean. Nonolintor#nosecadded.mise run cli:format: clean.go test ./pkg/ide/internal/serverutil/... -count=1: pass.golangci-lint run ./pkg/ide/...(full, no new-from-patch): no findings inserverutil/python*.go,jupyter/jupyter.go, ormarimo/marimo.go. The package still reports pre-existing findings in untouched files (rstudio, jetbrains, openvscode, zed, vscode, fleet, opener); out of scope.prek run --all-files: all hooks passed, including golangci-lint.jupyterandmarimohave no test files; no E2E run.CodeRabbit CLI
Blocked: free OSS quota exhausted (rate_limit). Attempts at
84a3290(--agent --fresh --committed) both returned rate_limit, about 5 min wait. A third attempt on748f41f(--agent --fresh --committed) also returned rate_limit (waitTime 2 min). No review on748f41f; no findings verified. GitHub review gates still apply.Auto-merge
Eligible under devsy-auto-refactor: behavior-preserving internal API change, +54 / -64 (118 non-test lines, cap 300), no excluded paths. Subject to all coordinator gates.