feat(ioscompanion): make the hybrid simulator companion the default

This commit is contained in:
pj committed 2026-06-07 17:12:23 +05:30
1 parent 398a05278b
commit 11a6a5b4c8
1 file changed
+3 -3
+3 -3
View File
@@ -286,10 +286,10 @@ func (d *Driver) respawnAndRedial(ctx context.Context) error {
} }
// hybridCompanionEnabled reports whether the simulator driver should pair the // hybridCompanionEnabled reports whether the simulator driver should pair the
// legacy companion with the in-simulator runner. The hybrid is opt-in while it // legacy companion with the in-simulator runner. The hybrid is the default;
// is proven out; SANDERLING_SIMULATOR_COMPANION=hybrid enables it. // SANDERLING_SIMULATOR_COMPANION=legacy forces the legacy companion alone.
func hybridCompanionEnabled() bool { func hybridCompanionEnabled() bool {
return os.Getenv("SANDERLING_SIMULATOR_COMPANION") == "hybrid" return os.Getenv("SANDERLING_SIMULATOR_COMPANION") != "legacy"
} }
// bringUpRunner spawns the in-simulator runner, waits for its listener, dials, // bringUpRunner spawns the in-simulator runner, waits for its listener, dials,