Skip to content

Improvement/edge case addressing - #231

Merged
maxistar merged 3 commits into
devfrom
improvement/edge_case_addressing
Aug 16, 2026
Merged

Improvement/edge case addressing#231
maxistar merged 3 commits into
devfrom
improvement/edge_case_addressing

Conversation

@maxistar

Copy link
Copy Markdown
Owner

No description provided.

@maxistar
maxistar merged commit fe47e49 into dev Aug 16, 2026
3 checks passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: f7f9558982

ℹ️ 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".

Comment on lines +1498 to +1499
readNamedDocumentBytes();
writeAndComplete(request);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Refresh the pending snapshot before overwriting

If the user cancels the initial conflict dialog, continues editing, and later backgrounds and resumes the activity, pendingExternalConflict still contains the bytes captured before those later edits. The resumed dialog passes that stale request here, so Overwrite reports success but writes the older snapshot; if the save was initiated by Open/New/Exit, finishSuccessfulSave also performs that queued action and removes the newer text from view. Rebuild the request from the current editor generation before overwriting, or refuse stale requests.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant