test(server): run the Antigravity install harness for the host platform#9574

merged1
windows-tests/short-tempdir
windows-tests/antigravity-host
openedSep 4, 2026byJJulius Marminge
View on GitHubTwo-way sync enabledPR last imported 4d ago

The harness defaulted every case to a linux platform mock while extracting onto the real filesystem, so on Windows the install always ended 'incomplete': the runtime checks POSIX exec bits unless the platform is win32, and NTFS never sets them. Default the harness platform to the host and let the release fixture (archive, executable and harness names) follow. The install mechanics under test are platform-neutral; the two tests that pin a platform explicitly still do.

Part of the Windows test-suite stack rooted at #9564; the manual Windows lane comes from #9538.

Model: Claude Fable 5 in Claude Code.

๐Ÿค– Generated with Claude Code


Note

Low Risk Test-only fixture and default-platform changes; no production installation logic is modified.

Overview Fixes Antigravity installation tests on Windows by defaulting the test harness to the host OS (win32 vs linux) instead of always mocking Linux while writing to the real filesystem.

The suite now picks the Windows or Linux ZIP fixture, and derives executableName / harnessName (.exe vs .par) for archives, releaseAsset defaults, makeHarness, and filesystem mocks (ENOSPC/cancel hooks). Callers that omit platform get host-aligned fixtures rather than Linux-only names.

Tests that require POSIX exec bits and : PATH splitting stay skipIf on win32; tests that explicitly set platform: "win32" (e.g. Windows rename behavior) are unchanged.

Reviewed by Cursor Bugbot for commit 7b046a0dfa846a1c5519b00c38f1d9b7935db695. Bugbot is set up for automated code reviews on this repo. Configure here.

Note

Run Antigravity install test harness for the host platform

  • Changes the Antigravity installation test fixtures from a hard-coded Linux setup to a host-derived platform (win32 on Windows, linux otherwise).
  • Updates archive selection, executable names, harness names, and release-asset defaults to follow the host platform unless options override them.
  • Path-resolution tests remain skipped on Windows because they rely on POSIX executable bits and Linux-style PATH handling.
  • Behavioral Change: tests now intercept and create Windows-named server files when running on win32; callers of makeAntigravityInstallation without an explicit platform get host-platform fixtures instead of Linux.

Macroscope summarized 7b046a0.

Synced from GitHub

Thread transfer impact

โœ… Thread transfer remains within every enforced ceiling.

โ„น๏ธ No successful main baseline artifact is available yet. This run establishes the initial measurement.

ProviderMetricMain baselineThis PRImpactPR ceiling
CodexTotal thread wireโ€”13.7 KiBโ€”15.1 KiBโœ…
CodexThread snapshot wireโ€”7.0 KiBโ€”7.3 KiBโœ…
CodexLive turn WebSocket wireโ€”6.7 KiBโ€”7.8 KiBโœ…
CodexLive turn WebSocket decodedโ€”58.5 KiBโ€”66.4 KiBโœ…
CodexLive turn messagesโ€”10โ€”21โœ…
ClaudeTotal thread wireโ€”13.8 KiBโ€”15.1 KiBโœ…
ClaudeThread snapshot wireโ€”7.0 KiBโ€”7.3 KiBโœ…
ClaudeLive turn WebSocket wireโ€”6.7 KiBโ€”7.8 KiBโœ…
ClaudeLive turn WebSocket decodedโ€”59.3 KiBโ€”66.4 KiBโœ…
ClaudeLive turn messagesโ€”10โ€”21โœ…

Baseline: unavailable ยท PR result: 7b046a0 ยท Source CI: success

Scenario and decoded snapshot size

10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.

  • Codex decoded thread snapshot: 113.8 KiB
  • Claude decoded thread snapshot: 114.5 KiB

Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.

Synced from GitHub

Approvability

Verdict: Approved at a23b323

Macroscope's review found this PR approvable โ€” This is a self-contained test-only portability fix that selects host-compatible Antigravity fixtures and executable names without changing production installation logic. Its effects are confined to test execution and temporary fixture handling.

Notes:

  • No code objects were reviewed. Approvability was decided on eligibility alone.

No code changes detected at 7b046a0. Prior analysis still applies.

You can add or adjust custom eligibility rules. Learn more.

Added 1 commit

  • test(server): run the Antigravity install harness for the host platform7b046a0