Repository navigation
chore(server): port upstream server quick wins (2026-10-09) - #268
Merged
Merged
Conversation
…otgg#15532) Port of upstream 4ee6bfd. Commit message generation now builds its diff in a temporary index (GIT_INDEX_FILE) instead of resetting and re-adding in the real one, so the user's staged selection, split-index files and merge metadata are untouched. Staging moves to commit time. Adapted to the fork's runGit signature via a small runGitWithOptions helper. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…#12543) Port of upstream b69f8b5. Favicon resolution starts every well-known candidate probe (and then every icon source file read) at once and takes the first hit in list order, so a miss costs one round of filesystem latency instead of ~30 sequential ones. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ingdotgg#13758) Port of upstream 570b72d. A failed trace write drops the rest of its batch instead of re-queueing it, so a full or broken disk no longer grows an ever-larger backlog that every later push retries. The sink logs once when writes start failing and once when they recover. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Port of upstream fec71c5. When the first scan of a large workspace outlasts the 15 second budget, file listing and search serve the entries found so far (marked truncated) instead of failing, until the scan finishes. The fork has a single paths-only index, so the upstream variant check is dropped and the test drives the fork's polling timeout with TestClock. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Port of upstream f973b1d. A failed git command now carries a closed reason tag (authentication_failed, remote_unreachable, branch_already_exists, and so on) classified from git's own diagnostic lines, and the error message names it. Stderr itself still never leaves the driver. The ssh-refusal tests pass the fake ssh path with forward slashes so they also run on Windows. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…y spawn (pingdotgg#12600) Port of upstream 71964e6. On Windows every child process spawn scanned PATH synchronously to resolve the executable. Successful lookups are now kept for 30 seconds, keyed by resolver, platform, PATH, PATHEXT and command. Explicit paths and misses stay uncached so a newly installed CLI shows up at once. The fork lacks upstream's shared command-resolution cache, so spawn resolution gets its own SpawnResolutionCache reference. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…r requests (pingdotgg#15515) Port of upstream 8ddf200. The WebSocket RPC server runs with disableFatalDefects, so a handler defect fails only its own request instead of sending a socket-level Defect frame that ended every pending request and subscription on that client. A small DefectReporter logs those defects. effect-acp gets the same treatment: dying request handlers answer their own request, notification handlers are isolated, and a defect in a reader callback terminates the connection so pending requests fail instead of hanging. Tests are adapted to the fork's older ACP schemas and wire format. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The fork has not merged upstream since 2026-07-30, so a batch of small upstream server fixes was missing. This hand-ports the ones that apply to the fork's V1 server, one commit each, with upstream tests adapted.
Ported
GIT_INDEX_FILE, so the user's staged selection, split-index files and merge metadata are untouched; staging moves to commit time. Adapted to the fork'srunGitsignature via a smallrunGitWithOptionshelper.GitCommandErrorgains an optional closedreasontag classified from git's diagnostic lines (stderr still never leaves the driver).SpawnResolutionCache.disableFatalDefectsplus a smallDefectReporter; effect-acp isolates notification handlers, answers dying request handlers, and terminates on a reader-callback defect.git clone -- <url> <dir>).Skipped
ProjectEnrichmentService, which the fork does not have; fork favicons are resolved per asset request.worktreeSubmodulessetting.EditorDiscoveryservice that pushesavailableEditorsUpdated.media-fileasset resource.Verification
vp test runon every touched test file: 243 passed, 5 failed. All 5 also fail on the unmodified code and are Windows-only path issues (backslash vs/assertions in ProjectFaviconResolver and SourceControlRepositoryService, newline worktree path in GitVcsDriverCore).tsgo --noEmitclean for apps/server, packages/shared, packages/effect-acp, packages/contracts.vp lintandvp fmt --checkclean on changed files;vp run check:avicodeandvp run test:avicodepass.🤖 Generated with Claude Code