Skip to content

Restore install paths on leased mobile daemons (tester-army/e2e#2399) - #2456

Merged
kblok merged 2 commits into
mainfrom
fix/2379-install-paths-leased-daemon
Nov 29, 2026
Merged

kblok merged 2 commits into
mainfrom
fix/2379-install-paths-leased-daemon

Conversation

@kblok

@kblok kblok commented Nov 29, 2026

Copy link
Copy Markdown
Member

What

Port of e2e-inc/e2e#2399 (ENG-1557). Device.InstallAppAsync no longer rejects an absolute build path that exists only on a device provider's remote agent-device daemon. The daemon resolves it and reports its own install error if the build is missing.

Value: suites on leased/hosted devices can install a build that lives on the daemon, as before the regression.

Upstream parity

Verdict: full port of the behavior; one upstream test part not portable.

  • surface.ts installApp: daemonCanResolve -> DeviceSession.InstallAppAsync (_binding.Daemon + Path.IsPathRooted); empty/blank path still INVALID_ARGUMENT
  • device.ts doc comment -> Device.InstallAppAsync XML doc
  • Docs: skills/e2e-dotnet/references/mobile.md, docs-site/.../get-started/mobile.mdx (mirrors reference/mobile.mdx and writing-tests.md)
  • No new symbols.

Upstream tests

  • install-paths.test.ts lets the leased daemon resolve an absolute build path for $command -> InstallPaths/InstallPathsTests.cs (theory: install, reinstall). Checks INVALID_ARGUMENT for blank / relative-missing path with no device command, runner build install, and an absolute daemon-only path reaching the install command.

Not ported

  • The /upload body and uploadedArtifactId assertions: the port passes the build path to agent-device and has no runner-side upload, so there is nothing to assert.

Test run: E2E.Mobile.Tests on net10.0: 715 pass; 2 LeaseDaemonTests fail in this sandbox (they run agent-device daemon stop through npx, no network), unrelated.

Closes #2379


Generated by Claude Code

@coderabbitai

coderabbitai Bot commented Nov 29, 2026 •

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 50 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

Commits

Reviewing files that changed from the base of the PR and between fc0f7b4 and def66bc.

Files selected for processing: 5

  • docs-site/src/content/docs/get-started/mobile.mdx
  • skills/e2e-dotnet/references/mobile.md
  • src/E2E.Mobile/Device.cs
  • src/E2E.Mobile/DeviceSession.Apps.cs
  • tests/E2E.Mobile.Tests/InstallPaths/InstallPathsTests.cs
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Ls2e1zWh7ZQMvHpq1kiC5t
@kblok
kblok merged commit a277ca4 into main Nov 29, 2026
7 of 8 checks passed
@kblok
kblok deleted the fix/2379-install-paths-leased-daemon branch November 29, 2026 15:03
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.

Upstream: restore install paths on leased mobile daemons (tester-army/e2e#2399)

2 participants