You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 83cf66c
Browse filesBrowse the repository at this point in the historyBrowse files
fix(limrun): compare only the leased platform's credentials
A Limrun lease fingerprint now covers the account variables plus the instance
variables of the platform its lease backend names, on both the CLI and the
daemon, so a changed Android instance no longer refuses an iOS allocation.
The daemon keeps a snapshot of its startup environment and fingerprints per
lease. The lease backend to platform rule has one home in the Limrun
credentials module, which the connect profile now uses too.
Copy file name to clipboardExpand all lines: website/docs/docs/limrun.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -43,7 +43,7 @@ agent-device disconnect
43
43
44
44
On an attached Android instance, agent-device does not replace an existing port reverse mapping. If the owner already maps a device port, such as `tcp:8081` for their Metro server, a reverse to that port fails and the owner's mapping stays in place. The error has `details.reason: 'android_port_reverse_rebind_refused'` when `adb reverse --list` shows the mapping. Otherwise it is a plain ADB failure.
45
45
46
-
A running daemon keeps the Limrun variables it started with. If your shell holds different ones, the first command that allocates a lease, such as `install` or `open`, refuses before it creates or attaches to an instance; run `agent-device daemon stop` (with the same `--state-dir`) and rerun the command. A shell that sets none of these variables uses the daemon's.
46
+
A running daemon keeps the Limrun variables it started with. If your shell holds different ones, the first command that allocates a lease, such as `install` or `open`, refuses before it creates or attaches to an instance; run `agent-device daemon stop` (with the same `--state-dir`) and rerun the command. Only the account variables and the leased platform's instance variables are compared. A shell that sets none of these variables uses the daemon's.
47
47
48
48
`install`, and `apps` before the first `open`, still need `LIMRUN_API_KEY`, because they use Limrun asset storage. After `open`, `apps` lists the apps installed on the instance without the key. Install the app before you hand over the instance. From the Node.js runtime, `getDeviceSession(device).installRemoteApp(url)` installs from a signed asset URL without the API key.
0 commit comments