Skip to content

test: catch a stale embedded Antigravity launcher; launcher check independent of PATH - #2380

Merged
Th0rgal merged 1 commit into
masterfrom
claude/local-agy-followup
Dec 1, 2026
Merged

Th0rgal merged 1 commit into
masterfrom
claude/local-agy-followup

Conversation

@Th0rgal

@Th0rgal Th0rgal commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Follow-up to #2376: makes its launcher fix and test hold up on incremental builds. Test and comment changes only; no product behaviour changes.

Problem

OrbBin.HarnessProxy.antigravityRelayLauncher embeds antigravity_native_launch.py with include_str. Lake does not track include_str files, so when only the .py changes, an incremental build keeps the old launcher in HarnessProxy's compiled output.

That is what happened on spark. orb-locald-test built from b1ab99613 still embedded the pre-#2376 launcher, which has no keyring isolation and answers refusals with the HTML page. #2376's launcher check therefore failed there (161/162). The diagnostics added here showed the test got the old XDG_RUNTIME_DIR and the HTML body.

A desktop or Core built from a warm cache could ship the stale launcher the same way. A clean CI or Nix build is fine.

Changes

Tests

  • orb-locald-test on spark, at master b1ab99613 plus this branch, with HarnessProxy rebuilt: 163/163. This includes the launcher check (keyring isolation, relay refusal marker) and the new source match.
  • orb-bin-test on spark at b1ab99613: all pass.
  • fix(harness): deliver turn prompts on stdin, never as an exec argument #2375 (prompt on stdin) through the launcher: checked by hand on the laptop. A 300,000-byte prompt on stdin reached a stub agy intact through python3 -I -c <launcher> agy …. The launcher never reads fd 0; its relay child closes only its own descriptors.

…ependent of PATH

antigravityRelayLauncher embeds antigravity_native_launch.py with include_str, which Lake
does not track: an incremental build kept the pre-#2376 launcher (no keyring isolation) on
spark, and the new launcher check failed there. orb-locald-test now compares the embedded
launcher with the repository file, and HarnessProxy.lean is touched so caches rebuild it.

The launcher check resolves python3 the way the product does (also for the stand-in agy's
shebang) and prints why it failed.
@Th0rgal
Th0rgal merged commit fe347b9 into master Dec 1, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant