Skip to content

Configure container apps scale#126

Merged
albx merged 3 commits intomainfrom
125-configure-container-apps-scale
Oct 7, 2025
Merged

Configure container apps scale#126
albx merged 3 commits intomainfrom
125-configure-container-apps-scale

Conversation

@albx
Copy link
Owner

@albx albx commented Oct 7, 2025

This pull request makes several infrastructure and project configuration updates, primarily focusing on removing the KITT.Bot.Functions Azure Functions project and related files from the solution, and updating dependencies for the Aspire AppHost. Additionally, it introduces new configuration files for NuGet and Aspire settings, and updates scaling settings for Azure Container Apps in the AppHost project.

Project and Solution Structure Updates:

  • Removed the KITT.Bot.Functions project from the solution, including its .csproj, .gitignore, source code files (such as BotFunction.cs and all models), and all solution configuration references. This eliminates Azure Functions support for bot-related features. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13]

Dependency and Configuration Updates:

  • Updated Aspire SDK and related package dependencies in KITT.AppHost.csproj from version 9.4.2 to 9.5.1, ensuring compatibility with the latest Aspire features and bug fixes. [1] [2]
  • Added a new .aspire/settings.json file to specify the path to the AppHost project, supporting Aspire tooling.
  • Added a new NuGet.config file to configure package sources and mapping, standardizing NuGet package management for the repository.

AppHost Scaling and Containerization:

  • Updated Program.cs in KITT.AppHost to configure Azure Container App scaling for multiple services (CMS API, Proposals API, Web App), setting minimum replicas to 0 and maximum to 5 for better resource management and scalability. [1] [2]

Solution Versioning:

  • Updated the Visual Studio solution file to version 18, reflecting usage of the latest Visual Studio tooling.

@albx albx requested a review from Copilot October 7, 2025 17:17
@albx albx linked an issue Oct 7, 2025 that may be closed by this pull request
Copy link

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

This pull request removes the Azure Functions-based bot functionality and updates the infrastructure configuration for container app scaling. The changes eliminate the KITT.Bot.Functions project entirely while updating Aspire dependencies to version 9.5.1 and configuring Azure Container Apps with scaling parameters.

  • Completely removes the KITT.Bot.Functions project including all source files, models, and configuration
  • Updates all Aspire-related package dependencies from version 9.4.2 to 9.5.1 across multiple projects
  • Configures Azure Container Apps scaling with minimum 0 and maximum 5 replicas for CMS API, Proposals API, and Web App services

Reviewed Changes

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

Show a summary per file
File Description
LemonBot.sln Removes KITT.Bot.Functions project reference and updates Visual Studio version to 18
src/KITT.Bot.Functions/* Complete removal of Azure Functions project including all source files, models, and configuration
src/KITT.AppHost/* Updates Aspire SDK to 9.5.1 and adds container app scaling configuration
src//KITT..csproj Updates Aspire package dependencies from 9.4.2 to 9.5.1
NuGet.config Adds new NuGet configuration file with package source mapping
.aspire/settings.json Adds Aspire tooling configuration specifying AppHost project path

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@albx albx merged commit 877f20d into main Oct 7, 2025
2 checks passed
@albx albx deleted the 125-configure-container-apps-scale branch October 8, 2025 04:22
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.

Configure container apps scale

1 participant