Skip to content

fix(server): reclaim leftover Antigravity _MEI temp dirs - #8

Draft
macodev00 wants to merge 51 commits into
mainfrom
cursor/antigravity-mei-orphan-sweep-9d0e
Draft

macodev00 wants to merge 51 commits into
mainfrom
cursor/antigravity-mei-orphan-sweep-9d0e

Conversation

@macodev00

Copy link
Copy Markdown
Owner

What Changed

On Windows, Antigravity driver start now does a one-shot sweep of host TEMP/TMP for leftover PyInstaller _MEI* directories created by pre-pingdotgg#12008 health probes.

A directory is deleted only when all of these hold:

  • name starts with _MEI
  • it contains an Antigravity marker (agy_acp_licenses.txt, localharness, or google3/third_party/jetski_prod/localharness)
  • it is older than two days
  • remove does not fail with a lock (EBUSY/EPERM are ignored)

Unmarked _MEI* dirs, young marked dirs, and google3 alone are left alone. The real system temp is never listed in tests; the directory is injected.

Profile-owned runtime temp cleanup from pingdotgg#12008 is unchanged. The health probe still does not spawn.

Why

pingdotgg#12008 stopped the probe from spawning and isolated new session extracts under the profile. Anyone who already had tens of GB of %TEMP%\_MEI* leftovers kept them forever. This reclaim is the remaining work from pingdotgg#12239.

This is a small reliability fix only. No feature work, no docs, no .github/pr-assets/.

UI Changes

Not applicable.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes
Open in Web Open in Cursor 

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Sep 22, 2026
@cursor
cursor Bot force-pushed the cursor/antigravity-mei-orphan-sweep-9d0e branch from 8c82964 to 65efebc Compare September 22, 2026 06:34
tris203 and others added 27 commits September 24, 2026 15:12
…2613)

Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…otgg#13397)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…otgg#13363)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…gdotgg#13454)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: GPT-6 Sol <noreply@openai.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
…ops startup (pingdotgg#13469)

Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
…gdotgg#13388)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…otgg#13386)

Co-authored-by: adeebahmad01 <52380344+adeebahmad01@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…otgg#13060)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…dotgg#13389)

Co-authored-by: javiergusart <42075376+javiergusart@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…otgg#13480)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…gg#13481)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ingdotgg#13506)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…ngdotgg#13504)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: t3-code[bot] <269035359+t3-code[bot]@users.noreply.github.com>
Co-authored-by: Utkarsh Patil <73941998+UtkarshUsername@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…dotgg#12006)

Desktop updates deleted the managed tunnel at shutdown, so remote clients spent about two minutes reconnecting after an 11 second restart. The desktop app now writes a restart marker before it stops its backends for any install, local or remote. The server keeps the tunnel when it finds a fresh marker at shutdown and consumes it. Failed or interrupted installs delete the marker.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Julius Marminge <51714798+juliusmarminge@users.noreply.github.com>
… showcase (pingdotgg#13522)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…13523)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
tris203 and others added 24 commits September 24, 2026 17:45
…dotgg#13474)

Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pin each terminal status pulse to the document timeline when it starts, so running-terminal icons in both sidebars and the command palette share one cycle. Terminal pulses now respect prefers-reduced-motion.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…mits (pingdotgg#12799)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
…ss environments (pingdotgg#12588)

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: macroscopeapp[bot] <170038800+macroscopeapp[bot]@users.noreply.github.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Julius Marminge <julius0216@outlook.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…tgg#13548)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…scroll (pingdotgg#13555)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…eads (pingdotgg#13551)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…gdotgg#13547)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…3534)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…gdotgg#13558)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…in (pingdotgg#13553)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…gg#13554)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…#13572)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…gg#13574)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
… offline (pingdotgg#13577)

Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
)

Co-authored-by: shivam <91240327+shivamhwp@users.noreply.github.com>
The Linux release build now also makes a .deb in the same electron-builder
run as the AppImage, and the release publishes it. electron-builder lists it
in latest-linux.yml and writes resources/package-type into it, so the app
updates a .deb install through electron-updater, which installs the new .deb
with dpkg. The desktop updater now allows that path.

The .deb uses xz in threaded mode (XZ_DEFAULTS=-T0): 113 MB in place of
141 MB with gzip. The Linux arm64 release job moves to a 16-vCPU Blacksmith
arm64 runner. The download page, README, install guide, and release docs
list the .deb.

Based on community work in pingdotgg#4071, pingdotgg#5139, pingdotgg#4900, and pingdotgg#4887.

Co-authored-by: chukfinley <chuk@chuk.dev>
Co-authored-by: Primož Ajdišek <bigpod@bigpod.si>
Co-authored-by: benthecarman <benthecarman@live.com>
Co-authored-by: NaveDanan <nave0712@gmail.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Pre-pingdotgg#12008 health probes unpacked agy_acp_server.exe into %TEMP%\_MEI*
and were killed before PyInstaller cleaned up. Profile isolation stopped
new leaks but never deleted those leftovers.

On Windows driver start, sweep host TEMP/TMP once: delete only _MEI*
directories that have Antigravity markers, are older than two days, and
are not locked. Unmarked dirs, dirs at or under the two-day cutoff, and
locked dirs are left alone.
@cursor
cursor Bot force-pushed the cursor/antigravity-mei-orphan-sweep-9d0e branch from 65efebc to 52b89d3 Compare September 25, 2026 06:22
@github-actions github-actions Bot added size:XXL and removed size:M labels Sep 25, 2026

This branch has not been deployed

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

Labels

size:XXL vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants