Skip to content

Check for and apply local Ollama updates - #236

Open
NV-sschneider wants to merge 7 commits into
NVIDIA:developfrom
NV-sschneider:codex/engine-updates-local-ollama
Open

NV-sschneider wants to merge 7 commits into
NVIDIA:developfrom
NV-sschneider:codex/engine-updates-local-ollama

Conversation

@NV-sschneider

@NV-sschneider NV-sschneider commented Nov 24, 2026 •

Copy link
Copy Markdown
Collaborator

Description

The desktop can now tell when this machine has an applicable Ollama update. Open Engine settings to apply a PAIR-managed update or follow the vendor’s instructions for an external installation.

PR 1 of 4. This is the first PR in the series. Review this PR’s changes.

Merge order is #236 → #237 → #238 → #239.

Release intent

Changelog title

Check for Ollama updates on the local node

Changelog body

  • The desktop shows installed and available Ollama versions and notifies you once per release in each app session.
  • Update a PAIR-managed Ollama installation from Engine settings or open the vendor’s update instructions for an external installation.

Bumps

  • services: minor
  • nvpair-cluster-manager: none
  • nvpair-engine-manager: minor
  • nvpair-errors: none
  • nvpair-job-scheduler: none
  • nvpair-manual-nodes: none
  • nvpair-node-info: none
  • nvpair-node-scanner: none
  • nvpair-node-settings: none
  • nvpair-proxy: none
  • nvpair-tui: none
  • nvpair-ui-broker: patch
  • nvpair-workload-manager: none

Scope

  • Stage and verify a platform-matched Ollama archive before replacing a managed installation. The updater checks ownership and model storage and can restore the previous installation.
  • Reuse verified GitHub release metadata when applying a recently checked update. This avoids a duplicate metadata request if the node hits a GitHub API rate limit.
  • Check after engine discovery, starts and stops, and on a six-hour interval. A failed background check retains the last confirmed offer and allows normal engine use.

Validation

  • On Windows x64, npm run typecheck, npm run dead-code:check, and npm run service-contracts:check passed in desktop/. All 38 focused desktop tests for engine checks, controls, and dispatch passed.
  • Broker port-gate tests passed. The Ollama fixtures cover archive verification, model preservation, rollback, and reuse of release metadata.
  • Verified all seven author sign-offs, ran git diff --check, and validated the release-intent block.
  • npm run lint, the focused Ollama engine-manager tests, and the cross-process TestBroker_RelaysLocalEngineUpdateRequests passed. The broader engine-manager run exceeded its 10-minute shell timeout.

Risk

Applying an update briefly interrupts a running engine. PAIR verifies the replacement, preserves saved settings and restores the engine’s prior running state. Version comparison adds golang.org/x/mod/semver. Its BSD-3-Clause license is included in THIRD_PARTY_NOTICES.md.

Checklist

  • I read the Contributing Guidelines.
  • Every commit has a Developer Certificate of Origin sign-off matching its author.
  • Tests cover the change.
  • The relevant documentation is updated.
  • I reviewed the diff, filenames, and commit messages for credentials, private data, internal references, and generated artifacts.
  • I recorded the validation commands and results above.
  • I declared version bumps in the release-intent block above.

Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
Signed-off-by: Seth Schneider <sschneider@nvidia.com>
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