Skip to content

ai: keep line endings in the sandbox edit tool - #3565

Merged
BaseMax merged 1 commit into
mainfrom
fix/cloud-newline
Nov 17, 2026
Merged

BaseMax merged 1 commit into
mainfrom
fix/cloud-newline

Conversation

@BaseMax

@BaseMax BaseMax commented Nov 17, 2026

Copy link
Copy Markdown
Member

The Python snippet behind the edit tool opened files in text mode, so CRLF files were rewritten with LF and old_text containing CRLF could never match. Both the read and the write now use newline='' so endings are kept as they are. Follow-up to the review comment on #3564.

@BaseMax
BaseMax requested a review from a team as a code owner November 17, 2026 11:21
@coderabbitai

coderabbitai Bot commented Nov 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 1 minute.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f78b58ea-6ec8-4405-8fe1-dfffd60cff60
Commits

Reviewing files that changed from the base of the PR and between b6caba4 and 7ba8c61.

Files selected for processing: 1

  • ai/backend/cloud.salam
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

Share

@BaseMax
BaseMax merged commit 2cb227c into main Nov 17, 2026
10 of 11 checks passed
@BaseMax
BaseMax deleted the fix/cloud-newline branch November 17, 2026 11:26
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