Overhauled the CI setup - #4486
Draft
majora2007 wants to merge 15 commits into
Draft
Conversation
…, added nuget caching, removed duplicate builds and extra jobs that added no value.
…on didn't seem to work reliably
There was a problem hiding this comment.
Pull request overview
This PR refactors the GitHub Actions CI workflows to streamline builds on Ubuntu 24.04 and add dependency caching, while removing some duplicate/unused jobs.
Changes:
- Moved several workflows from Windows runners to
ubuntu-24.04and reduced checkout depth where full history isn’t needed. - Added npm cache configuration (
actions/setup-nodebuilt-in caching) and explicit NuGet caching (actions/cache) across multiple workflows. - Simplified workflow job graphs (removed intermediate “upload csproj” build jobs and adjusted
needsaccordingly) and updated the PR-body validation action version.
Reviewed changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/release-workflow.yml | Removes intermediate build job; adds npm + NuGet caching in stable build pipeline. |
| .github/workflows/pr-check.yml | Triggers PR-body validation on opened + synchronize; bumps action version. |
| .github/workflows/openapi-gen.yml | Removes PR trigger; adds NuGet caching for OpenAPI generation job. |
| .github/workflows/develop-workflow.yml | Removes intermediate build job; adds npm + NuGet caching; updates job dependencies. |
| .github/workflows/comment-on-issues.yml | Reduces checkout depth for issue-commenting automation. |
| .github/workflows/codeql.yml | Removes CodeQL autobuild and replaces with explicit dotnet build. |
| .github/workflows/canary-workflow.yml | Collapses build/version steps; switches to npm ci; adds caching; adjusts dependencies. |
| .github/workflows/build-ui.yml | Moves UI build to Ubuntu 24.04; reduces checkout depth; enables npm caching. |
| .github/workflows/build-and-test.yml | Moves build/test to Ubuntu 24.04; reduces checkout depth; adds NuGet caching. |
Comments suppressed due to low confidence (1)
.github/workflows/codeql.yml:72
- The manual
dotnet buildstep runs for every entry in the CodeQL language matrix, includingjavascript-typescript. This adds unnecessary work and can make JS/TS analysis fail due to unrelated .NET build issues. Consider gating this step (and the .NET setup step) behindif: matrix.language == 'csharp', or split into separate jobs per language.
- run: |
echo "Run, Build Application using script"
dotnet build Kavita.sln
Member
Author
|
I think we are good to merge this in. Copilot is now referencing old code. |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Contributor
|
@majora2007 I've opened a new pull request, #4487, to work on those changes. Once the pull request is ready, I'll request review from you. |
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: majora2007 <735851+majora2007@users.noreply.github.com>
Member
Author
|
I'm still nervous about the stable release. Going to hold on this for a bit till we are closer to a stable release. |
majora2007
marked this pull request as draft
April 24, 2026 14:13
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.
Developer