Skip to content

RSDK-13906: Fix agent redownloading itself on fresh install on Windows - #270

Merged
Evan Dorsky (EvanDorsky) merged 21 commits into
viamrobotics:mainfrom
EvanDorsky:agent-install-fix
Aug 4, 2026
Merged

RSDK-13906: Fix agent redownloading itself on fresh install on Windows#270
Evan Dorsky (EvanDorsky) merged 21 commits into
viamrobotics:mainfrom
EvanDorsky:agent-install-fix

Conversation

@EvanDorsky

Copy link
Copy Markdown
Member

This branch adds some logic within agent to check whether the currently-running agent binary is the one that we want to be running, in cases where the version cache doesn't reflect the current-running binary (like after an install that doesn't update the version cache).

It looks like the reason we were redownloading the binary was because the Windows installer didn't update the version cache - but Claude persuaded me that it made more sense to have agent "heal" this case itself, since there are also certain paths in the unix install that can put agent in the same state.

Also added a test for this logic. Now that this branch is up, I think I can do an end-to-end test by building the dev release binary and pinning a machine to that, then installing on Windows with a custom MSI.

@EvanDorsky Evan Dorsky (EvanDorsky) added the dev-release Build and publish agent binaries with a dev version label Jul 14, 2026

@cheukt Cheuk (cheukt) left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm if manually testing looks good

@EvanDorsky
Evan Dorsky (EvanDorsky) marked this pull request as ready for review July 15, 2026 14:18
@viam-overwatch

Copy link
Copy Markdown

Hey Evan Dorsky (@EvanDorsky) — this PR has been approved and CI has been green for 3+ business days. Ready to merge?

Auto-comment from overwatch. Will not re-nudge for 7 days.

@EvanDorsky Evan Dorsky (EvanDorsky) changed the title RSDK-13903: Fix agent redownloading itself on fresh install on Windows RSDK-13906: Fix agent redownloading itself on fresh install on Windows Jul 20, 2026
@viam-overwatch

Copy link
Copy Markdown

Hey Evan Dorsky (@EvanDorsky) — this PR has been approved and CI has been green for 8+ business days. Ready to merge?

Auto-comment from overwatch. Will not re-nudge for 7 days.

@viam-overwatch

Copy link
Copy Markdown

Hey Evan Dorsky (@EvanDorsky) — this PR has been approved and CI has been green for 13+ business days. Ready to merge?

Auto-comment from overwatch. Will not re-nudge for 7 days.

@EvanDorsky
Evan Dorsky (EvanDorsky) merged commit 2935ea9 into viamrobotics:main Aug 4, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dev-release Build and publish agent binaries with a dev version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants