Skip to content

Auto-update outdated Cortex binary on sidecar start#26

Merged
ApiliumDevTeam merged 1 commit intomainfrom
dev
Mar 9, 2026
Merged

Auto-update outdated Cortex binary on sidecar start#26
ApiliumDevTeam merged 1 commit intomainfrom
dev

Conversation

@ApiliumDevTeam
Copy link
Collaborator

Summary

  • When the installed Cortex binary is older than REQUIRED_CORTEX_VERSION, the sidecar now automatically downloads the latest release from GitHub instead of just printing a warning
  • Only applies to auto-detected binaries (not explicitly configured via binaryPath)
  • Falls back gracefully to the existing version if the update fails

Test plan

  • Scenario 1: No binary → auto-install v0.4.1
  • Scenario 2: Binary v0.4.0 → auto-update to v0.4.1
  • Scenario 3: Full uninstall + reinstall → auto-install v0.4.1
  • 15/15 sidecar unit tests pass

When the installed binary version is older than REQUIRED_CORTEX_VERSION,
the sidecar now automatically downloads the latest release instead of
just printing a warning. Only applies to auto-detected binaries (not
explicitly configured via binaryPath). Falls back gracefully to the
existing version if the update fails.
@ApiliumDevTeam ApiliumDevTeam merged commit 9e8a8c8 into main Mar 9, 2026
4 of 5 checks passed
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.

1 participant