GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Antigravity 1.5 edit_file calls show no diff while running, and never for files over 8 KB · Issue #39051 · pingdotgg/t3code

[Bug]: Antigravity 1.5 edit_file calls show no diff while running, and never for files over 8 KB #39051

New issue
Copy link
New issue
Copy link
Open
#39073
Open
[Bug]: Antigravity 1.5 edit_file calls show no diff while running, and never for files over 8 KB#39051
#39073
Copy link

Description

@fcakyon
fcakyon
opened on Nov 19, 2026
Issue body actions

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/server

Steps to reproduce

  1. Use the Antigravity provider with the agy CLI 1.5.11 (agy acp).
  2. Ask the agent to change one line with edit_file in a small file (small.ts, 210 B) and in a file over 8 KB (big.ts, 18.9 KB, the target on line 201).
  3. Watch the tool row while the edit runs and after it completes.

agy 1.5.11 sends these frames (captured from agy acp, paths shortened). The announcement has no content, and the arguments are named Target and Replacement:

{"sessionUpdate":"tool_call","toolCallId":"call_15914574291821524103","status":"in_progress","kind":"edit","title":"File big.ts","locations":[{"path":"/workspace/big.ts"}],"rawInput":{"Path":"/workspace/big.ts","Replacement":"const target = 100;","Target":"const target = 10;"}}

The completion resends the diff as the whole file before and after the edit:

{"sessionUpdate":"tool_call_update","toolCallId":"call_15914574291821524103","status":"completed","kind":"edit","locations":[{"path":"/workspace/big.ts"}],"rawInput":{"Path":"/workspace/big.ts","Replacement":"const target = 100;","Target":"const target = 10;"},"rawOutput":{},"content":[{"type":"diff","path":"/workspace/big.ts","oldText":"<18955 chars>","newText":"<18956 chars>"}]}

No session/request_permission arrived in default mode, so the edit never passes through pending.

Expected behavior

The edit row shows the located hunk (@@ -201,1 +201,1 @@) while the edit runs and after it completes, for files of any size.

Actual behavior

  • While running, every 1.5 edit shows no hunk. AntigravityEditLocation maps only TargetContent/ReplacementContent, and the content-less announcement becomes [{ "type": "diff", "patch": { "format": "omitted" } }].
  • After completion, a file over 8 KB never shows a hunk. Tool text bounding cuts oldText/newText to their tail, so the diff is marked omitted. An earlier located patch would not survive either, because mergeToolActivityData replaces the content with the resent entry.
  • Files under 8 KB render after completion from the whole-file texts.

Impact

Major degradation or frequent failure

Version or commit

main @ e8c4824

Environment

Linux, agy CLI 1.5.11 (Antigravity ACP Server 1.5.11), Gemini 4 Neon

Logs or stack traces

# Real frames replayed through normalizeAntigravitySessionUpdate, mergeToolCallState and
# normalizeAntigravityToolCall on main, then rendered with acpToolCallDiffPatch:
small.ts inProgress [{"patch":{"format":"omitted"}}]               diff: none
small.ts completed  [{"path":"small.ts"}]                          diff: @@ -7,6 +7,6 @@ ...
big.ts   inProgress [{"patch":{"format":"omitted"}}]               diff: none
big.ts   completed  [{"path":"big.ts","patch":{"format":"omitted"}}] diff: none

# Regression tests on main:
FAIL src/provider/acp/AntigravityEditLocation.test.ts > antigravityEditPatch > finds the target inside the announced search range, in either argument casing
AssertionError: expected undefined to be '--- /workspace/app.ts\n+++ /workspace…'
FAIL src/provider/acp/AntigravityProtocol.test.ts > Antigravity tool results > locates a 1.5 edit_file edit announced without a diff, through its whole-file completion
AssertionError: expected undefined to be '--- /workspace/app.ts\n+++ /workspace…'
FAIL packages/shared/src/toolActivity.test.ts > toolActivity > keeps a located diff patch when a later update resends that diff without one
AssertionError: expected [ { type: 'diff', …(3) }, …(1) ] to deeply equal [ { type: 'diff', …(4) }, …(1) ]
     Tests  3 failed | 51 passed (54)

Workaround

Open the turn's checkpoint diff.

Reacted by maximhar and Shiroko7

Activity

  1. juliusmarminge
    added a commit that references this issue on Nov 19, 2026

    fix(server): Antigravity 1.5 edits show their diff while running and …

    This issue will close once commit 8b00238 is merged into the 'main' branch.
    8b00238
  2. maximhar commented on Nov 22, 2026

    @maximhar
    maximhar
    on Nov 22, 2026
    More actions

    +1 — hitting this on T3 Code 0.1.11 (Windows x64) with Antigravity as well: small files (< 8 KB) show their diff, while larger files show "No patch available for this selection." Looking forward to #39073!

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402792 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.