@expo/simulator-launcher 27.2.0 → 27.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -15,11 +15,11 @@ exec bunx @expo/simulator-launcher@latest start
15
15
  - `start`: run one orphan serve-sim for the configured devices. Its default device becomes ready
16
16
  first; additional devices warm in the background. Argent and agent-device prestart on the default.
17
17
  - `claim ENGINE [DEVICE]`: reserve one job and return its selected device plus the existing server's
18
- identity, port and credentials. Engines: `serve-sim`, `agent-device`, `argent`.
18
+ identity, port and credentials. Engines: `serve-sim`, `agent-device`, `argent`, `appium`.
19
19
  No DEVICE means the first configured device. Claim does not boot the selected device or wait for
20
20
  its tool. Build-tools privately adopts that device on the existing serve-sim port.
21
21
  - `prepare-tools`: continue the consumed claim after adoption. Keep global Argent, reuse the default
22
- agent-device runner or prepare a runner for the selected device.
22
+ agent-device runner or prepare a runner for the selected device. Appium waits for old XCTest cleanup.
23
23
  - `stop`: permanently end warmup for this boot and wait for all owned resources to be cleaned up.
24
24
 
25
25
  ```sh
@@ -66,6 +66,7 @@ serializes updates; an abandoned lock fails closed. This private format requires
66
66
  and app actions. Job-time version and authentication checks remain authoritative.
67
67
  - Agent-device prestarts on the default device only. A secondary claim prepares its runner after
68
68
  adoption and old-runner cleanup finish. One device-independent Argent server is reused for the claimed device.
69
+ Appium waits for unused tools to stop before starting its own WDA.
69
70
  - Warmup downloads/extracts the latest stable Expo Go once and reuses it for the second device.
70
71
  Each initial device gets a preinstall attempt; ordinary failures warn. Claim prevents new
71
72
  preinstalls. `prepare-tools` waits for an install still running on the claimed device and
package/dist/index.js CHANGED
@@ -439,7 +439,8 @@ function createWarmSimulatorSession({ signal: parentSignal, throwIfStoppingAsync
439
439
  // runs in the background but is joined before teardown.
440
440
  startSimulatorsSetupAsync([info.device.udid], Promise.resolve()).catch(() => { });
441
441
  const tool = warmTools.find(tool => tool.name === engine);
442
- if (tool?.name === 'agent-device' && !startedTools.has(tool)) {
442
+ // In particular, Appium cannot start WDA until old XCTest retirement succeeded.
443
+ if (engine === 'appium' || (tool?.name === 'agent-device' && !startedTools.has(tool))) {
443
444
  const results = await toolRetirement;
444
445
  const failed = results.find(result => result.status === 'rejected');
445
446
  if (failed?.status === 'rejected') {
@@ -1538,7 +1539,7 @@ exports.WarmServerSchema = zod_1.z.object({
1538
1539
  });
1539
1540
  const ToolServerSchema = exports.WarmServerSchema.pick({ pid: true, port: true, token: true });
1540
1541
  exports.ClaimInputSchema = zod_1.z.object({
1541
- engine: zod_1.z.enum(['serve-sim', 'agent-device', 'argent']),
1542
+ engine: zod_1.z.enum(['serve-sim', 'agent-device', 'argent', 'appium']),
1542
1543
  requestedDevice: NonBlankStringSchema.optional(),
1543
1544
  });
1544
1545
  /** The Expo Go this launcher installed on `udid` and never launched. */
@@ -18076,7 +18077,7 @@ module.exports = exports.default;
18076
18077
  /***/ 8330:
18077
18078
  /***/ ((module) => {
18078
18079
 
18079
- module.exports = {"rE":"27.2.0"};
18080
+ module.exports = {"rE":"27.4.0"};
18080
18081
 
18081
18082
  /***/ })
18082
18083
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expo/simulator-launcher",
3
- "version": "27.2.0",
3
+ "version": "27.4.0",
4
4
  "description": "Launch and claim Simulator sessions on EAS workers",
5
5
  "bugs": "https://github.com/expo/eas-cli/issues",
6
6
  "license": "BUSL-1.1",
@@ -34,5 +34,5 @@
34
34
  "typescript": "^6.0.3",
35
35
  "zod": "^4.3.5"
36
36
  },
37
- "gitHead": "92e1b01bd703c124ceda5e4ebfb149257d19f6e3"
37
+ "gitHead": "5cca4faff591290c73a953287be9e4cd84112a69"
38
38
  }