-
Notifications
You must be signed in to change notification settings - Fork 110
Allow publishing of Ollama and SQLite hosting integrations #710
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…egrations Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
@@ -51,8 +51,7 @@ public static IResourceBuilder<T> WithOpenWebUI<T>(this IResourceBuilder<T> buil | |||
.WithHttpEndpoint(targetPort: 8080, name: "http") | |||
.WithEnvironment(context => ConfigureOpenWebUIContainer(context, openWebUI)) | |||
.WaitFor(builder) | |||
.WithHttpHealthCheck("/health") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's leave this one in
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done! I've restored the .ExcludeFromManifest()
call for the OpenWebUI resource and updated the corresponding test. The change is in commit f29d95f.
Co-authored-by: aaronpowell <434140+aaronpowell@users.noreply.github.com>
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addressesI tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
Minimum allowed line rate is |
@Alirexaa - I've enabled Copilot as a pair programmer (mostly for an experiment). This is the kind of outcome from it. |
This is cool, but I'm unable to assign the issues to Copilot. I have |
I'll check permissions, you should be able to as it's org level that I set it up as. |
I thought that because it was at the org level it should still allow you but looks like not (although I'm somewhat confused on how the pricing/licensing works, maybe I should ask copilot...) |
This PR removes the automatic
ExcludeFromManifest()
calls from the Ollama and SQLite hosting integrations, allowing developers to choose whether to include these resources in their publishing manifest.Problem
Previously, these integrations automatically excluded themselves from the manifest:
While this was done with good intentions (these resources might not be recommended for production deployment), it caused friction by:
Solution
Removed the automatic
.ExcludeFromManifest()
calls from all four resources, allowing them to participate in manifest generation by default. Developers who don't want these resources in their manifest can now explicitly call.ExcludeFromManifest()
when configuring the resources.Changes Made
Source Code:
.ExcludeFromManifest()
fromOllamaResourceBuilderExtensions.cs
(Ollama container).ExcludeFromManifest()
fromOllamaResourceBuilderExtensions.OpenWebUI.cs
(OpenWebUI).ExcludeFromManifest()
fromSqliteResourceBuilderExtensions.cs
(SQLite and SQLite Web)Tests:
ResourceExcludedFromManifestByDefault
→ResourceIncludedInManifestByDefault
Breaking Change
This is a minimal breaking change - resources that were previously excluded from manifests will now be included by default. Developers who relied on the automatic exclusion can restore the previous behavior by explicitly calling
.ExcludeFromManifest()
:Fixes #709.
Warning
Firewall rules blocked me from connecting to one or more addresses
I tried to connect to the following addresses, but was blocked by firewall rules:
dnceng.pkgs.visualstudio.com
dotnet build src/CommunityToolkit.Aspire.Hosting.Ollama/CommunityToolkit.Aspire.Hosting.Ollama.csproj
(dns block)If you need me to access, download, or install something from one of these locations, you can either:
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.