Repository navigation
Conversation
Collaborator
Author
|
Windows reproduction confirmed: native Codex and Claude message sends stopped immediately with |
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.
On Windows, sending a message with either a native Codex or Claude model fails immediately with
EPERM: operation not permitted, fsync, before provider work starts. The controlled-input persistence path opens the canonical session file read-only and then callsfsyncSync; Windows rejects that flush.Open the existing file with
r+in both the fresh-append and same-input retry paths. This provides a write-capable handle without truncating the transcript and retains the durability flush and retry deduplication.Windows verification
Reproduced on Windows x64 with Node 26.5.0 and Electron 43.2.0 (embedded Node 24.18.0). A disposable-session regression using the real
ConversationProjector.appendControlledConversationMessagemethod reproducedEPERMbefore the fix and passed after it for both provider types, covering fresh append, same-input retry without duplication, and persisted-history replay. The reporter also confirmed message sending works after applying the fix and restarting Forge Desktop.Validation passed:
pnpm --dir apps/backend exec vitest run src/test/conversation-projector.test.ts— 7 tests.git diff --check.pnpm quality:quickhit an existing Windowsspawn EINVALin its command wrapper. Its scheduled lint and typecheck commands were run directly and passed. macOS/Linux were not exercised for this patch.