Skip to content

deletes sdk_legacy folder - #813

Merged
Prathik Rao (prathikr) merged 1 commit into
mainfrom
prathikrao/delete-sdk-legacy
Jun 17, 2026
Merged

deletes sdk_legacy folder#813
Prathik Rao (prathikr) merged 1 commit into
mainfrom
prathikrao/delete-sdk-legacy

Conversation

@prathikr

Copy link
Copy Markdown
Collaborator

reduces noise coming from security vulnerabilities related to stale code

Copilot AI review requested due to automatic review settings June 17, 2026 20:53
@vercel

vercel Bot commented Jun 17, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
foundry-local Ready Ready Preview, Comment Jun 17, 2026 8:53pm

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the entire sdk_legacy directory to eliminate security vulnerability noise from stale, unmaintained code. The repository retains the active sdk/ (v1, still in CI pipelines) and sdk_v2/ (primary development) directories.

Changes:

  • Complete deletion of the sdk_legacy folder containing legacy Python, Rust, JavaScript/TypeScript, and C# SDK implementations that are no longer maintained.

Reviewed changes

Copilot reviewed 67 out of 68 changed files in this pull request and generated no comments.

File Description
sdk_legacy/rust/* Deleted legacy Rust SDK (source, tests, config)
sdk_legacy/python/* Deleted legacy Python SDK (source, tests, config)
sdk_legacy/js/* Deleted legacy JavaScript/TypeScript SDK (source, tests, config)
sdk_legacy/cs/* Deleted legacy C# SDK (source, tests, samples, config)

@prathikr
Prathik Rao (prathikr) enabled auto-merge (squash) June 17, 2026 21:08
@prathikr
Prathik Rao (prathikr) merged commit 5bc7111 into main Jun 17, 2026
48 checks passed
@prathikr
Prathik Rao (prathikr) deleted the prathikrao/delete-sdk-legacy branch June 17, 2026 22:42
bmehta001 added a commit that referenced this pull request Jun 30, 2026
#824)

## Summary

Collapses the separate **WinML** and **non-WinML** SDK flavors into a
**single package per SDK** (C#, Python, JS). Consumers no longer pick
between a `.WinML` SKU and a base SKU: on Windows the reg-free **WinML
2.x EP catalog** is always available, and other platforms are
unaffected.

## What changed

- **native** — always enable the WinML EP catalog on Windows; drop the
build-flavor split.
- **C#** — single `Microsoft.AI.Foundry.Local` package; drop the
`.WinML` SKU and the `UseWinML` switch.
- **Python** — single wheel; drop the WinML variant.
- **JS** — bundle the WinML 2.x runtime in the npm package on Windows.
- **macOS** — simplify ORT dylib staging to mirror Linux.
- **CI (`.pipelines/v2`)** — collapse the WinML/non-WinML matrix into
one build per SDK.
- **samples (C#)** — use the unified package; central package management
via `Directory.Packages.props`.
- **docs / www** — describe the unified package; one install command per
SDK in the download dropdown.
- **JS exit fix** — clean process exit after loading a native Manager
(`beforeExit`/`exit` handlers), avoiding the ORT-teardown crash on
graceful Node exit.

## Notes / follow-ups

- Rebased onto `main` (picks up #813 `sdk_legacy` removal, #821 vision
samples, #810 npm bump, #806).
- The #821 vision samples (C#/JS/Rust) landed after this branch and are
**not yet** migrated to the unified package / central package management
— follow-up needed.
- **Draft**: pending CI (multi-SDK pack + build) verification.

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.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.

3 participants