Skip to content

Move to .NET Aspire#120

Merged
albx merged 63 commits intomainfrom
109-road-to-aspire
Sep 10, 2025
Merged

Move to .NET Aspire#120
albx merged 63 commits intomainfrom
109-road-to-aspire

Conversation

@albx
Copy link
Owner

@albx albx commented Sep 10, 2025

This pull request makes significant updates to the CI/CD workflows and the solution structure to modernize the build/deploy process and reorganize the codebase. The main changes include removing legacy GitHub Actions workflows, introducing a new unified workflow for build, deploy, and database updates, upgrading to .NET 9.0 for CI tasks, and restructuring the solution to add new projects while removing or relocating others.

CI/CD Workflow Modernization:

  • Removed multiple legacy GitHub Actions workflows for building, testing, and deploying various components (albx-kitt, build-and-test, kitt-bot, kitt-bot-api, kitt-telegram) to streamline the CI/CD process. [1] [2] [3] [4] [5]
  • Added a new unified workflow in .github/workflows/azure-dev.yml that handles build, deployment, and database updates using Azure Developer CLI (azd) and supports federated Azure credentials. This workflow targets .NET 9.0 and includes infrastructure provisioning and deployment steps.
  • Updated the code analysis workflow to use .NET 9.0 instead of 8.0.

Solution Structure and Project Organization:

  • Refactored the solution file (LemonBot.sln) to remove references to several old projects and test projects, such as LemonBot.Web, KITT.Web.App, and related test projects. [1] [2] [3] [4]
  • Added new projects to the solution, including KITT.Cms.Web.Api, KITT.Cms.Web.Models, KITT.Web.Shared, KITT.AppHost, KITT.ServiceDefaults, KITT.Web.App (new path), KITT.Web.App.Client, KITT.Cms.Web.App, KITT.Proposals.Web.Api, KITT.Proposals.Web.Models, KITT.Proposals.Web.App, KITT.Cms.Web.Api.Test, KITT.Web.Testing, KITT.Support.Seeder, and KITT.Services.

These changes collectively modernize the build and deployment process, align the workflows with current Azure and .NET best practices, and update the solution structure to support new development directions.

albx added 30 commits October 10, 2024 16:53
@albx albx linked an issue Sep 10, 2025 that may be closed by this pull request
@albx albx requested a review from Copilot September 10, 2025 14:32
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 modernizes the CI/CD workflows and solution structure as part of migrating to .NET Aspire. The changes remove legacy infrastructure components and introduce a new unified deployment approach with updated service architecture.

  • Removes 5 legacy GitHub Actions workflows and creates a new unified Azure Developer CLI workflow targeting .NET 9.0
  • Removes LemonBot.Web project and associated test infrastructure entirely
  • Introduces new .NET Aspire-based projects including KITT.AppHost, KITT.ServiceDefaults, and modular web applications

Reviewed Changes

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

Show a summary per file
File Description
.github/workflows/* Removed legacy workflows and added unified Azure dev workflow
LemonBot.sln Updated project references for new Aspire-based structure
tests/LemonBot.Web.Test.Integration/* Removed entire integration test project
src/LemonBot.Web/* Removed legacy web application
src/KITT.Web.App/* Restructured into separate client/server projects
src/KITT.Cms.Web.* New CMS API and components for content management
src/KITT.Proposals.Web.* New proposals API and components
src/KITT.ServiceDefaults/* New Aspire service defaults
tests/KITT.Web.Testing/* New testing infrastructure
Files not reviewed (14)
  • src/KITT.Cms.Web.App/Resources/Components/ScheduleForm.Designer.cs: Language not supported
  • src/KITT.Cms.Web.App/Resources/Components/StreamingStats.Designer.cs: Language not supported
  • src/KITT.Cms.Web.App/Resources/Pages/Streamings/Import.Designer.cs: Language not supported
  • src/KITT.Cms.Web.App/Resources/Pages/Streamings/Index.Designer.cs: Language not supported
  • src/KITT.Cms.Web.App/Resources/Pages/Streamings/Schedule.Designer.cs: Language not supported
  • src/KITT.Cms.Web.App/Resources/Pages/Streamings/StreamingDetail.Designer.cs: Language not supported
  • src/KITT.Proposals.Web.App/Resources/Components/ProposalDetailDialog.Designer.cs: Language not supported
  • src/KITT.Proposals.Web.App/Resources/Components/ProposalsStats.Designer.cs: Language not supported
  • src/KITT.Proposals.Web.App/Resources/Pages/Index.Designer.cs: Language not supported
  • src/KITT.Web.App/KITT.Web.App.Client/Resources/Components/MessageComposer.Designer.cs: Language not supported
  • src/KITT.Web.App/KITT.Web.App.Client/Resources/Components/MessageEditorDialog.Designer.cs: Language not supported
  • src/KITT.Web.App/KITT.Web.App.Client/Resources/Pages/CreateNewSettings.Designer.cs: Language not supported
  • src/KITT.Web.App/KITT.Web.App.Client/Resources/Pages/Settings.Designer.cs: Language not supported
  • src/KITT.Web.App/KITT.Web.App.Client/Resources/Shared/NavMenu.Designer.cs: Language not supported

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

@albx albx merged commit 3ec73e1 into main Sep 10, 2025
2 checks passed
@albx albx deleted the 109-road-to-aspire branch September 10, 2025 14:59
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.

Moving to .NET Aspire

1 participant

Comments