Skip to content

[build-tools] Pin the default agent-device version for remote sessions - #4142

Merged
brentvatne merged 2 commits into
mainfrom
gwdp/pin-agent-device-version
Aug 3, 2026
Merged

[build-tools] Pin the default agent-device version for remote sessions#4142
brentvatne merged 2 commits into
mainfrom
gwdp/pin-agent-device-version

Conversation

@gwdp

@gwdp gwdp commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Why

agent-device@0.20.4 is broken on npm — it imports @agent-device/ad-script, which isn't published. Hosted sessions installed latest, so the daemon crashed on startup and sessions errored.

How

Default to a pinned 0.20.3 instead of latest. --package-version still overrides. Bump the constant once upstream is fixed.

Test Plan

yarn typecheck, yarn lint, yarn fmt:check, and the startAgentDeviceRemoteSession / startArgentRemoteSession unit tests.

@github-actions

github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown

✅ Thank you for adding the changelog entry!

@gwdp
gwdp requested a review from szdziedzic August 3, 2026 19:49
@gwdp
gwdp marked this pull request as ready for review August 3, 2026 19:49
@codecov

codecov Bot commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 16.66667% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 62.43%. Comparing base (b27fe84) to head (3b03769).

Files with missing lines Patch % Lines
...c/steps/functions/startAgentDeviceRemoteSession.ts 16.67% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4142      +/-   ##
==========================================
+ Coverage   62.43%   62.43%   +0.01%     
==========================================
  Files        1009     1009              
  Lines       45735    45732       -3     
  Branches     9621     9616       -5     
==========================================
+ Hits        28548    28549       +1     
+ Misses      15726    15722       -4     
  Partials     1461     1461              

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@brentvatne
brentvatne merged commit f56c054 into main Aug 3, 2026
12 checks passed
@brentvatne
brentvatne deleted the gwdp/pin-agent-device-version branch August 3, 2026 19:59
gwdp added a commit that referenced this pull request Aug 3, 2026
gwdp added a commit that referenced this pull request Aug 3, 2026
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.

3 participants