Skip to content

Delete unworkable replace test and enabled the rest#11125

Merged
scidomino merged 1 commit into
mainfrom
tomm_replace
Oct 14, 2025
Merged

Delete unworkable replace test and enabled the rest#11125
scidomino merged 1 commit into
mainfrom
tomm_replace

Conversation

@scidomino

@scidomino scidomino commented Oct 14, 2025

Copy link
Copy Markdown
Collaborator

TLDR

Deleted an unfixable test and re-enabled the rest which I ran 15 times each yielding only one failure (without retries).

Also: skip flakey json test.

Dive Deeper

The "'should fail safely when old_string is not found" was fundamentally unworkable since the internal error correction in the edit tool will occasionally try to "correct" the tool call by replacing the entire contents of the file yielding a "success" tool call.

Linked issues / bugs

Fixes #10916

@github-actions

github-actions Bot commented Oct 14, 2025

Copy link
Copy Markdown

Size Change: -2 B (0%)

Total Size: 17.9 MB

ℹ️ View Unchanged
Filename Size Change
./bundle/gemini.js 17.9 MB -2 B (0%)
./bundle/sandbox-macos-permissive-closed.sb 1.03 kB 0 B
./bundle/sandbox-macos-permissive-open.sb 830 B 0 B
./bundle/sandbox-macos-permissive-proxied.sb 1.31 kB 0 B
./bundle/sandbox-macos-restrictive-closed.sb 3.29 kB 0 B
./bundle/sandbox-macos-restrictive-open.sb 3.36 kB 0 B
./bundle/sandbox-macos-restrictive-proxied.sb 3.56 kB 0 B

compressed-size-action

@scidomino scidomino marked this pull request as ready for review October 14, 2025 18:29
@scidomino scidomino requested a review from a team as a code owner October 14, 2025 18:29
@scidomino scidomino added this pull request to the merge queue Oct 14, 2025
Merged via the queue into main with commit 769fe8b Oct 14, 2025
20 checks passed
@scidomino scidomino deleted the tomm_replace branch October 14, 2025 20:42
thacio added a commit to thacio/auditaria that referenced this pull request Oct 15, 2025
Millsondylan pushed a commit to Millsondylan/gemini-cli-1 that referenced this pull request Oct 19, 2025
@sripasg sripasg added the size/s A small PR label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/s A small PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration tests: Fix "replace.test.ts" flakes

3 participants