Skip to content

Overhauled the CI setup - #4486

Draft
majora2007 wants to merge 15 commits into
developfrom
feature/ci-work
Draft

Overhauled the CI setup#4486
majora2007 wants to merge 15 commits into
developfrom
feature/ci-work

Conversation

@majora2007

@majora2007 majora2007 commented Mar 3, 2026

Copy link
Copy Markdown
Member

Developer

  • Massive changes to the overall build system. Switched to ubuntu-24.04, added nuget caching, removed duplicate builds and extra jobs that added no value.
  • Fixed issues with develop pipeline running on release flows
  • Added ability to retrigger release pipeline manually in case of failure
  • Fixed the PR body check to actually work and run on every edit.

…, added nuget caching, removed duplicate builds and extra jobs that added no value.
Copilot AI review requested due to automatic review settings March 3, 2026 17:13
@majora2007 majora2007 changed the title [skip ci] Overhauled the CI setup Overhauled the CI setup Mar 3, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.04 and reduced checkout depth where full history isn’t needed.
  • Added npm cache configuration (actions/setup-node built-in caching) and explicit NuGet caching (actions/cache) across multiple workflows.
  • Simplified workflow job graphs (removed intermediate “upload csproj” build jobs and adjusted needs accordingly) 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 build step runs for every entry in the CodeQL language matrix, including javascript-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) behind if: matrix.language == 'csharp', or split into separate jobs per language.
    - run: |
        echo "Run, Build Application using script"
        dotnet build Kavita.sln

Comment thread .github/workflows/develop-workflow.yml
Comment thread .github/workflows/openapi-gen.yml
Comment thread .github/workflows/openapi-gen.yml
Comment thread .github/workflows/canary-workflow.yml Outdated
Comment thread .github/workflows/build-and-test.yml
Comment thread .github/workflows/release-workflow.yml
Comment thread .github/workflows/canary-workflow.yml

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.

Comment thread .github/workflows/pr-check.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/release-workflow.yml Outdated
Comment thread .github/workflows/pr-check.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 4 comments.

Comment thread .github/workflows/release-workflow.yml Outdated
Comment thread .github/workflows/pr-check.yml Outdated
Comment thread .github/workflows/canary-workflow.yml Outdated
Comment thread .github/workflows/release-workflow.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/release-workflow.yml Outdated
Comment thread .github/workflows/release-workflow.yml
Comment thread .github/workflows/release-workflow.yml Outdated

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Comment thread .github/workflows/release-workflow.yml
Comment thread .github/workflows/release-workflow.yml Outdated
@majora2007

Copy link
Copy Markdown
Member Author

I think we are good to merge this in. Copilot is now referencing old code.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 9 out of 9 changed files in this pull request and generated 3 comments.

Comment thread .github/workflows/release-workflow.yml
Comment thread .github/workflows/develop-workflow.yml
Comment thread .github/workflows/build-and-test.yml
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

Copilot AI commented Mar 3, 2026

Copy link
Copy Markdown
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>
@majora2007

Copy link
Copy Markdown
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
majora2007 marked this pull request as draft April 24, 2026 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

3 participants