Skip to content

Remove retired GitHub Models integration - #19848

Merged
Eric Erhardt (eerhardt) merged 3 commits into
mainfrom
eerhardt-remove-github-model-resources
Sep 15, 2026
Merged

Eric Erhardt (eerhardt) merged 3 commits into
mainfrom
eerhardt-remove-github-model-resources

Conversation

@eerhardt

Copy link
Copy Markdown
Member

Description

GitHub Models was fully retired on July 30, 2026, so the Aspire.Hosting.GitHub.Models integration no longer works. Aspire 13.5 shipped the final obsolete package; this change now removes the integration from the repository.

The source project, API baselines, tests, polyglot fixtures, and end-to-end playground are removed along with their solution entries. The current connection-properties specification no longer lists GitHubModel.

The package remains in the CLI deprecated-package blocklist so previously published versions stay hidden from aspire add. Historical release notes are also preserved.

Breaking changes

Aspire.Hosting.GitHub.Models and its public APIs are no longer built or shipped from this repository. Existing users must migrate to another model provider, such as Microsoft Foundry.

Validation:

  • .\build.cmd /p:SkipNativeBuild=true
  • dotnet test --project tests\Infrastructure.Tests\Infrastructure.Tests.csproj --no-launch-profile -- --filter-class "*.SelectTestsAcceptanceTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true"

Fixes #18953

Checklist

  • Is this feature complete?
    • Yes. Ready to ship.
    • No. Follow-up changes expected.
  • Are you including unit tests for the changes and scenario tests if relevant?
    • Yes
    • No
  • Did you add public API?
    • Yes
      • If yes, did you have an API Review for it?
        • Yes
        • No
      • Did you add <remarks /> and <code /> elements on your triple slash comments?
        • Yes
        • No
    • No
  • Does the change make any security assumptions or guarantees?
    • Yes
      • If yes, have you done a threat model and had a security review?
        • Yes
        • No
    • No

Copilot AI balanced review requested due to automatic review settings September 1, 2026 19:57
@eerhardt Eric Erhardt (eerhardt) added the breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. label Sep 1, 2026
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 19848

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 19848"

@github-actions github-actions Bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Sep 1, 2026
@github-actions

This comment has been minimized.

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.

🟡 Changes recommended

Active component documentation still presents the retired GitHub Models service as supported.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Removes the retired GitHub Models hosting integration while preserving its CLI blocklist entry and historical release notes.

Changes:

  • Deletes the integration, API baselines, tests, polyglot fixtures, and playground.
  • Removes associated solution entries and connection-property documentation.
  • Leaves several active component docs/comments still advertising GitHub Models support.
File summaries
File Description
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/tsconfig.json Removes TypeScript fixture configuration.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/package.json Removes TypeScript fixture package definition.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/package-lock.json Removes TypeScript dependency lock.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/aspire.config.json Removes TypeScript AppHost configuration.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/apphost.mts Removes TypeScript API fixture.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Python/pylock.apphost.toml Removes Python lock file.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Python/aspire.config.json Removes Python AppHost configuration.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Python/apphost.py Removes Python API fixture.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Python/apphost_requirements.txt Removes Python requirements.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Java/aspire.config.json Removes Java AppHost configuration.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Java/AppHost.java Removes Java API fixture.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Go/go.mod Removes Go module definition.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Go/aspire.config.json Removes Go AppHost configuration.
tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/Go/apphost.go Removes Go API fixture.
tests/Aspire.Hosting.GitHub.Models.Tests/GitHubModelsFunctionalTests.cs Removes functional coverage.
tests/Aspire.Hosting.GitHub.Models.Tests/GitHubModelsExtensionTests.cs Removes extension-method coverage.
tests/Aspire.Hosting.GitHub.Models.Tests/ConnectionPropertiesTests.cs Removes connection-property coverage.
tests/Aspire.Hosting.GitHub.Models.Tests/Aspire.Hosting.GitHub.Models.Tests.csproj Removes the test project.
src/Aspire.Hosting.GitHub.Models/README.md Removes integration documentation.
src/Aspire.Hosting.GitHub.Models/GitHubModelsHealthCheck.cs Removes the health check.
src/Aspire.Hosting.GitHub.Models/GitHubModelsExtensions.cs Removes hosting APIs.
src/Aspire.Hosting.GitHub.Models/GitHubModelsDeprecation.cs Removes deprecation metadata.
src/Aspire.Hosting.GitHub.Models/GitHubModelResource.cs Removes the resource model.
src/Aspire.Hosting.GitHub.Models/GitHubModel.Obsolete.cs Removes obsolete catalog entries.
src/Aspire.Hosting.GitHub.Models/GitHubModel.Generated.cs Removes generated model catalog.
src/Aspire.Hosting.GitHub.Models/GithubModel.cs Removes the model descriptor.
src/Aspire.Hosting.GitHub.Models/build/Aspire.Hosting.GitHub.Models.props Removes package build imports.
src/Aspire.Hosting.GitHub.Models/Aspire.Hosting.GitHub.Models.csproj Removes the product project.
src/Aspire.Hosting.GitHub.Models/api/Aspire.Hosting.GitHub.Models.cs Removes the .NET API baseline.
src/Aspire.Hosting.GitHub.Models/api/Aspire.Hosting.GitHub.Models.ats.txt Removes the ATS baseline.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/wwwroot/app.css Removes playground styling.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Properties/launchSettings.json Removes web launch settings.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Program.cs Removes web application startup.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/GitHubModelsEndToEnd.WebStory.csproj Removes the web project.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Components/Routes.razor Removes playground routing.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Components/Pages/Home.razor Removes the model demo page.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Components/Pages/Error.razor Removes the error page.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Components/Layout/MainLayout.razor.css Removes layout styling.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Components/Layout/MainLayout.razor Removes the main layout.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Components/App.razor Removes the Blazor application shell.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/Components/_Imports.razor Removes Razor imports.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/appsettings.json Removes web settings.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.WebStory/appsettings.Development.json Removes development settings.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/webstory.module.bicep Removes generated deployment infrastructure.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/webstory-containerapp.module.bicep Removes Container Apps infrastructure.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/Properties/launchSettings.json Removes AppHost launch settings.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/GitHubModelsEndToEnd.AppHost.csproj Removes the AppHost project.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/env.module.bicep Removes environment infrastructure.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/env-acr.module.bicep Removes registry infrastructure.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/aspire-manifest.json Removes the deployment manifest.
playground/GitHubModelsEndToEnd/GitHubModelsEndToEnd.AppHost/AppHost.cs Removes the playground resource model.
playground/GitHubModelsEndToEnd/aspire.config.json Removes playground configuration.
playground/GitHubModelsEndToEnd/.vscode/launch.json Removes playground debugger configuration.
playground/AspireWithMaui/AspireWithMaui.slnx Removes integration, test, and playground entries.
docs/specs/connection-properties.md Removes GitHub Model property references.
Aspire.slnx Removes integration, test, and playground projects.
Review details

Files not reviewed (1)

  • tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/package-lock.json: Generated file
  • Files reviewed: 55/56 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread docs/specs/connection-properties.md Resolved
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

This comment has been minimized.

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.

🟢 Approval recommended

The retired integration and its dependent artifacts are consistently removed while the deprecated package blocklist remains intact.

Review details

Files not reviewed (1)

  • tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/package-lock.json: Generated file
  • Files reviewed: 58/59 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@eerhardt
Eric Erhardt (eerhardt) force-pushed the eerhardt-remove-github-model-resources branch from e818020 to 29fe1f3 Compare September 15, 2026 22:17
@aspire-repo-bot
aspire-repo-bot Bot requested a balanced review from Copilot September 15, 2026 22:17
Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 871a7326-8679-43f9-ae22-325bb9e2c0ca

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.

🟡 Changes recommended

The deleted project remains in the CI trigger map, causing its structural Infrastructure test to fail.

Get a fresh assessment by requesting another Copilot review.

Review details

Files not reviewed (1)

  • tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/package-lock.json: Generated file
  • Files reviewed: 57/58 changed files
  • Comments generated: 1
  • Review effort level: Balanced

Comment thread Aspire.slnx Resolved
@github-actions

This comment has been minimized.

Co-authored-by: Copilot App <[email protected]>

Copilot-Session: 871a7326-8679-43f9-ae22-325bb9e2c0ca

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.

🟢 Approval recommended

The retirement cleanup is complete; only a non-blocking XML documentation formatting issue remains.

Review details

Files not reviewed (1)

  • tests/PolyglotAppHosts/Aspire.Hosting.GitHub.Models/TypeScript/package-lock.json: Generated file

Suppressed comments (1)

Previously missed (1) — in code that hasn't changed since the last review.

src/Components/Aspire.Azure.AI.Inference/ChatCompletionsClientSettings.cs:98

  • This connection-string option remains in a Markdown-style list inside XML documentation, so the options do not render as a list in IntelliSense or generated API docs. Convert the whole option block to an XML <list> while updating this entry.
  • Files reviewed: 58/59 changed files
  • Comments generated: 0 new
  • Review effort level: Balanced

@github-actions

Copy link
Copy Markdown
Contributor

Tests selector

Selects the full PR test matrix + all PR-gated jobs (ALL) — a rule matching 'Aspire.slnx' selects ALL


Selection computed for commit e20a05a.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

@eerhardt
Eric Erhardt (eerhardt) merged commit 4c599f1 into main Sep 15, 2026
1183 of 1191 checks passed
@eerhardt
Eric Erhardt (eerhardt) deleted the eerhardt-remove-github-model-resources branch September 15, 2026 23:57
@microsoft-github-policy-service microsoft-github-policy-service Bot added this to the 13.6 milestone Sep 15, 2026
aspire-repo-bot Bot added a commit to microsoft/aspire.dev that referenced this pull request Sep 16, 2026
The Aspire.Hosting.GitHub.Models integration source, tests, and playground
were removed from the repository in microsoft/aspire#19848. Update the
historical-reference GitHub Models docs to reflect that the code is
removed (not just deprecated), and add a note to the Aspire 13.6 what's
new page.

Co-authored-by: Copilot <[email protected]>
@aspire-repo-bot

Copy link
Copy Markdown
Contributor

Pull request created: #1672

Generated by PR Documentation Check · auto · 105.8 AIC · ⌖ 7.16 AIC · ⊞ 18.5K

@aspire-repo-bot

Copy link
Copy Markdown
Contributor

📝 Documentation has been drafted in microsoft/aspire.dev#1672 targeting release/13.6.

Updated the historical-reference GitHub Models docs on aspire.dev to reflect that the integration was actually removed from the repository in Aspire 13.6, and added a note to the 13.6 what's-new page.

  • src/frontend/src/content/docs/integrations/ai/github-models/github-models-host.mdx — retirement notice now says the integration "was removed from the Aspire repository in Aspire 13.6" and clarifies the 13.5.1 package's source is gone from the repo.
  • src/frontend/src/content/docs/integrations/ai/github-models/github-models-connect.mdx — same retirement-notice wording update.
  • src/frontend/src/content/docs/integrations/ai/github-models/github-models-get-started.mdx — same wording update plus a new paragraph under "Aspire 13.5 historical reference" noting the source/tests/playground removal and that the 13.5.1 package remains published (hidden from aspire add).
  • src/frontend/src/content/docs/whats-new/aspire-13-6.mdx — added an "Integration updates" bullet documenting the removal, linking to the migration guide.

Note

This draft PR needs human review before merging.

@github-actions

Copy link
Copy Markdown
Contributor

⚠️ CI Failure Analysis: Mixed Failures

The CI build contains both transient and non-transient failures.

Failed jobs:

  • Tests / Package tests - Windows (class, Aspire.Templates.Tests, Templates-BuildAndRunTemplateTests, Templ... / Templates-BuildAndRunTemplateTests (windows-latest) — GitHub Actions annotation reports 'The hosted runner lost communication with the server', a known transient infrastructure condition. Failed steps are post-test/upload steps (Copy CLI E2E recordings for upload, Upload CLI E2E recordings, Generate test results summary, Post Checkout code), not build or test-assertion steps. The PR only removes the retired GitHub Models integration and does not touch template/package test infrastructure, so this is unrelated to PR changes. (transient-infra)
  • Tests / Run VS Code extension E2E tests / VS Code extension E2E (Windows, browser-debugger) — The single failing test times out waiting for a pwa-msedge child debug session to attach to a Blazor WASM debug target. This matches a known recurring flaky pattern (prior cause 'vscode-extension-e2e-unrelated-logs-unavailable', 15 prior occurrences, last seen just before this run). The PR only removes the GitHub Models integration and does not touch the VS Code extension or Blazor WASM debugging code, so the failure is unrelated to PR changes. (flaky-test)

The CI will not be automatically rerun. Please review the failures above.

Eric Erhardt (eerhardt) added a commit to microsoft/aspire.dev that referenced this pull request Sep 16, 2026
* Update GitHub Models docs to reflect integration removal in 13.6

The Aspire.Hosting.GitHub.Models integration source, tests, and playground
were removed from the repository in microsoft/aspire#19848. Update the
historical-reference GitHub Models docs to reflect that the code is
removed (not just deprecated), and add a note to the Aspire 13.6 what's
new page.

Co-authored-by: Copilot <[email protected]>

* Apply batched suggestions from code review

Co-authored-by: Eric Erhardt <[email protected]>

---------

Co-authored-by: aspire-repo-bot[bot] <268009190+aspire-repo-bot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Eric Erhardt <[email protected]>
@github-actions github-actions Bot locked and limited conversation to collaborators Oct 16, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication breaking-change Issue or PR that represents a breaking API or functional change over a prerelease.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove Github Model resources

5 participants