Restore remaining files deleted by force-full sync - #913
Merged
Brandon Miller (brandom-msft) merged 3 commits intoAug 13, 2026
Merged
Restore remaining files deleted by force-full sync#913Brandon Miller (brandom-msft) merged 3 commits into
Brandon Miller (brandom-msft) merged 3 commits into
Conversation
Brandon Miller (brandom-msft)
had a problem deploying
to
L4-validation
August 13, 2026 22:04 — with
GitHub Actions
Failure
Declare the ONNX Runtime GPU package versions used by the Foundry Local v1.2.1 samples so central package management can restore them on Linux. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 98e70753-8980-45b9-b243-bfb13646ba2a
Brandon Miller (brandom-msft)
deployed
to
L4-validation
August 13, 2026 22:12 — with
GitHub Actions
Active
Target each sample's single csproj so Linux validation does not auto-select restored solution files whose default ARM64 configuration conflicts with linux-x64. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 98e70753-8980-45b9-b243-bfb13646ba2a
Brandon Miller (brandom-msft)
deployed
to
L4-validation
August 13, 2026 22:19 — with
GitHub Actions
Active
Brandon Miller (brandom-msft)
deleted the
brandom-msft-restore-force-sync-deletions
branch
August 13, 2026 22:23
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Context
Force-full sync commit
1a7f828fd60e6b0f14549612cf25e7bf2c906931replaced the public tree with the private export and deleted public content that should have survived the recovery. PR 912 restored the requiredtrustedvalidation lane; this PR restores the remaining accidental deletions.What changed
.csprojexplicitly instead of auto-selecting.slnfiles with ARM64 defaults on Linux.All 66 restored index blobs initially matched rollback point
328833f9d39e8e0a80975950cc98dc00d9c63aff. The 55 Foundry Local files also matched currentmicrosoft-foundry/foundry-samples-prmain; only the 11sample.yamlbuild commands were subsequently narrowed to explicit project targets to satisfy public validation.Why restore all remaining deletions
main, remain CODEOWNERS-routed to the Foundry Local team, and are referenced by public Microsoft Learn content.trustedcheck; it did not deprecate the stack.CI follow-up
The first PR run exposed a latent central package management defect shared by all restored C# projects:
Microsoft.ML.OnnxRuntime.GpuandMicrosoft.ML.OnnxRuntimeGenAI.Cudahad versionlessPackageReferenceentries but no matchingPackageVersionentries. The follow-up pins them to1.26.0and0.14.1, respectively—the dependency versions recorded by the Foundry Local v1.2.1 release used by these samples.The next run cleared package restore and exposed a second latent issue:
dotnet buildwithout an explicit target auto-selected each restored solution, whose default ARM64 configuration conflicts with the Linux runner'slinux-x64runtime. Each manifest now restores and builds its one.csprojexplicitly; the solution files remain available for users and Microsoft Learn references.Validation
sample.yamlmanifests parse and contain required metadata..csproj.Tracking