Conversation
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 or young dirs are left alone.
The orphan sweep treated age == minAgeMs as stale, so a directory at the exact two-day boundary could be deleted. Keep the cutoff inclusive for preservation and only remove strictly older marked leftovers. Co-authored-by: maco <macodev00@users.noreply.github.com>
cursor
Bot
force-pushed
the
cursor/antigravity-mei-orphan-sweep-9d0e
branch
from
September 22, 2026 06:34
8c82964 to
65efebc
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Changed
On Windows, Antigravity driver start now does a one-shot sweep of host
TEMP/TMPfor leftover PyInstaller_MEI*directories created by pre-pingdotgg#12008 health probes.A directory is deleted only when all of these hold:
_MEIagy_acp_licenses.txt,localharness, orgoogle3/third_party/jetski_prod/localharness)EBUSY/EPERMare ignored)Unmarked
_MEI*dirs, young marked dirs, andgoogle3alone 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