@e2e-dev/testmu 0.0.1 → 0.0.2-nightly-20261018072924

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/dist/.build.json CHANGED
@@ -1 +1 @@
1
- {"version":"0.0.1"}
1
+ {"version":"0.0.2-nightly-20261018072924"}
package/dist/provider.js CHANGED
@@ -143,7 +143,8 @@ export function testmu(options) {
143
143
  leaseBackend,
144
144
  leaseProvider: PROVIDER,
145
145
  ttlMs: LEASE_TTL_MS,
146
- // The engine closes a worker's session when it retires the worker; without this, closing it ends the TestMu AI session mid-run.
146
+ // Retain the provider lease when closeApp or cleanup closes the engine session.
147
+ // The provider releases the lease at run end.
147
148
  retainOnClose: true,
148
149
  ...selectors,
149
150
  },
@@ -153,7 +154,7 @@ export function testmu(options) {
153
154
  if (request.signal.aborted)
154
155
  throw new Error('cancelled');
155
156
  if (!grant.retainOnClose)
156
- throw new Error('agent-device did not keep the lease through session close, so the session would end when a worker retires');
157
+ throw new Error('agent-device did not acknowledge retainOnClose. Closing the engine session could end the TestMu AI lease before run-end release');
157
158
  const scope = { tenant: grant.tenantId, runId: grant.runId, leaseId: grant.leaseId, leaseBackend, leaseProvider: PROVIDER };
158
159
  resource.stopHeartbeat = await startHeartbeat(resource.stateDir, scope, request.log);
159
160
  request.log(`lease ${id}: ${device}, ${request.platform} ${osVersion} (${deviceType}); session ${selectors.providerSessionName} started`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e2e-dev/testmu",
3
- "version": "0.0.1",
3
+ "version": "0.0.2-nightly-20261018072924",
4
4
  "description": "TestMu AI (formerly LambdaTest) hosted Android emulators, iOS simulators, and real devices for e2e mobile tests",
5
5
  "keywords": [
6
6
  "e2e",
@@ -46,13 +46,13 @@
46
46
  "NOTICE"
47
47
  ],
48
48
  "peerDependencies": {
49
- "@e2e-dev/mobile": ">=0.11.1 <1",
50
- "e2e": ">=0.15.0 <1"
49
+ "@e2e-dev/mobile": "0.12.4-nightly-20261018072924",
50
+ "e2e": "0.21.3-nightly-20261018072924"
51
51
  },
52
52
  "devDependencies": {
53
- "@e2e-dev/mobile": "0.12.3",
53
+ "@e2e-dev/mobile": "0.12.4-nightly-20261018072924",
54
54
  "@types/node": "26.6.2",
55
- "e2e": "0.21.2",
55
+ "e2e": "0.21.3-nightly-20261018072924",
56
56
  "typescript": "7.0.2",
57
57
  "vitest": "5.0.1"
58
58
  },