sync: port upstream server VCS, keybindings, images, terminal, persistence (#3998–#4104)#166
Conversation
…ingdotgg#3969) Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ow (pingdotgg#3952) Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
…gdotgg#3108) Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: codex <codex@users.noreply.github.com>
…ions (pingdotgg#3951) Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com> Co-authored-by: Julius Marminge <jmarminge@gmail.com> Co-authored-by: codex <codex@users.noreply.github.com>
|
Warning Review limit reached
Next review available in: 47 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR strengthens Base64 data URL parsing, prevents duplicate keybindings, skips undecodable runtime rows, shares Codex MCP locks, scrubs AppImage terminal environments, and stabilizes Git diagnostics and selected-file staging. ChangesImage data URL parsing
Keybinding replacement persistence
Provider runtime row handling
Codex and terminal runtime environments
Git diagnostics and literal paths
Estimated code review effort: 4 (Complex) | ~45 minutes Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
@coderabbitai review |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@apps/server/src/imageMime.ts`:
- Around line 45-47: Update isBase64Whitespace to also return true for the tab
character code 0x09, while preserving support for carriage return, newline, and
space.
In `@apps/server/src/persistence/ProviderSessionRuntime.ts`:
- Around line 291-308: Update the `Effect.map` callback around `Arr.filterMap`
to return each `row` Option directly, or replace the filter with
`Arr.getSomes(decoded)`. Remove the `Result.succeed`/`Result.failVoid`
conversion while preserving the existing filtering of absent decoded rows.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 727760c8-8e32-4283-a160-923600156ba1
📒 Files selected for processing (12)
apps/server/src/imageMime.test.tsapps/server/src/imageMime.tsapps/server/src/keybindings.test.tsapps/server/src/keybindings.tsapps/server/src/persistence/ProviderSessionRuntime.tsapps/server/src/persistence/RepositoryErrorCorrelation.test.tsapps/server/src/provider/Drivers/CodexHomeLayout.test.tsapps/server/src/provider/Drivers/CodexHomeLayout.tsapps/server/src/terminal/Manager.test.tsapps/server/src/terminal/Manager.tsapps/server/src/vcs/GitVcsDriverCore.test.tsapps/server/src/vcs/GitVcsDriverCore.ts
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 161f02d95d
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Accept tab as Base64 whitespace, and collect decoded session rows with Arr.getSomes instead of a Result-based Arr.filterMap conversion.
Keep explicit TerminalOpenInput APPDIR/PATH overrides when the server itself is not an AppImage, while still stripping AppImage mount markers from the inherited process environment.
Merge activity
|
…ngdotgg#3948, pingdotgg#2124, pingdotgg#3932, pingdotgg#4094) (#167) ## What changed - `pingdotgg#3948` include runtime model and effort in Codex developer instructions - `pingdotgg#2124` thread cwd through Claude capability probe (kept fork `CLAUDE_CONFIG_DIR` semantics) - `pingdotgg#3932` prevent ACP assistant ID collisions after restarts (Grok + shared `AcpSessionRuntime`; skipped deleted Cursor ACP files) - `pingdotgg#4094` default legacy Cursor binary path to `cursor-agent` without restoring ACP — Cursor remains on `@cursor/sdk` Preserves fork: Cursor SDK migration, Grok ACP, multi-provider management. ## Validation - `vp check` / `vp run typecheck` on stack tip - CI: pending Stack: 2 of 5; depends on #166.

What changed
Ports upstream server-core fixes into the fork:
#3998treat selected commit paths literally in Git VCS#4077stabilize non-repository Git diagnostics#3969fix duplicate keybinding rule replacement#3952fix image upload stack overflow in MIME handling#3108strip AppImage runtime env from spawned terminals#3951skip undecodable provider runtime rows when listing sessions#4104share MCP OAuth locks across Codex shadow homesPreserves fork: multi-provider runtime, orchestration persistence, Codex shadow-home layout.
Validation
vp check(0 errors) andvp run typecheckon stack tipStack: 1 of 5; base
main.Summary by CodeRabbit