Skip to content

Add ORT-Nightly as fallback for nuget package source at installation time#664

Merged
baijumeswani merged 4 commits intomainfrom
baijumeswani/rust-js-try-download-from-multiple-sources
Apr 25, 2026
Merged

Add ORT-Nightly as fallback for nuget package source at installation time#664
baijumeswani merged 4 commits intomainfrom
baijumeswani/rust-js-try-download-from-multiple-sources

Conversation

@baijumeswani
Copy link
Copy Markdown
Collaborator

@baijumeswani baijumeswani commented Apr 22, 2026

The JS and Rust SDK installers download three native NuGet packages (Microsoft.AI.Foundry.Local.Core,
Microsoft.ML.OnnxRuntime.Foundry, Microsoft.ML.OnnxRuntimeGenAI.Foundry) from a single hard-coded feed (
api.nuget.org). Dev / pre-release versions are published to the public ORT-Nightly Azure DevOps feed before they
reach nuget.org, so any build pinned to a dev version fails outright today.

Change

Both installers now try each feed in order and fall back to the next on any failure:

  1. https://api.nuget.org/v3/index.json (primary)
  2. https://pkgs.dev.azure.com/aiinfra/PublicPackages/_packaging/ORT-Nightly/nuget/v3/index.json (fallback)

Copilot AI review requested due to automatic review settings April 22, 2026 20:16
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 22, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Apr 24, 2026 11:28pm

Request Review

This comment was marked as outdated.

Comment thread sdk/js/script/install-utils.cjs Outdated
Comment thread sdk/rust/build.rs Outdated

This comment was marked as outdated.

@baijumeswani baijumeswani force-pushed the baijumeswani/rust-js-try-download-from-multiple-sources branch from bcf10ef to 17500b7 Compare April 24, 2026 05:28
@baijumeswani baijumeswani requested a review from Copilot April 24, 2026 05:31
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread sdk/rust/build.rs
…o baijumeswani/rust-js-try-download-from-multiple-sources
…o baijumeswani/rust-js-try-download-from-multiple-sources
@baijumeswani baijumeswani enabled auto-merge (squash) April 24, 2026 23:28
@baijumeswani baijumeswani disabled auto-merge April 25, 2026 05:38
@baijumeswani baijumeswani merged commit ec94cba into main Apr 25, 2026
47 checks passed
@baijumeswani baijumeswani deleted the baijumeswani/rust-js-try-download-from-multiple-sources branch April 25, 2026 05:38
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