Skip to content

fix(sessions): allow optional patch field in diff for migrated sessions#26574

Merged
kitlangton merged 2 commits intoanomalyco:devfrom
OpeOginni:fix/desktop-session-message-fetch
May 9, 2026
Merged

fix(sessions): allow optional patch field in diff for migrated sessions#26574
kitlangton merged 2 commits intoanomalyco:devfrom
OpeOginni:fix/desktop-session-message-fetch

Conversation

@OpeOginni
Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #16906

Just added random issue to get the PR out.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Allows sessions without a proper diff patch to still be loaded by making it an optional value. This prevents the block on the desktop app.

How did you verify your code works?

Tested the endpoint that fails, and gives 400, now returns as it should.

Screenshots / recordings

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@kitlangton kitlangton enabled auto-merge (squash) May 9, 2026 20:18
@kitlangton kitlangton disabled auto-merge May 9, 2026 20:23
@kitlangton kitlangton merged commit d62442b into anomalyco:dev May 9, 2026
8 checks passed
kitlangton added a commit that referenced this pull request May 9, 2026
…ileDiff (#26578)

Co-authored-by: Developer <temp@example.com>
@OpeOginni OpeOginni deleted the fix/desktop-session-message-fetch branch May 9, 2026 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wrong Cursor Placement after pasting Json in Desktop Prompt Input

2 participants