Skip to content

SP1.1: Complete :dispatcher-agent Gradle module integration with CI/CD and SonarQube configuration#748

Merged
bedaHovorka merged 3 commits into
goal-10from
copilot/create-new-dispatcher-agent-submodule
Jul 11, 2026
Merged

SP1.1: Complete :dispatcher-agent Gradle module integration with CI/CD and SonarQube configuration#748
bedaHovorka merged 3 commits into
goal-10from
copilot/create-new-dispatcher-agent-submodule

Conversation

Copilot AI commented Jul 11, 2026

Copy link
Copy Markdown
Contributor

The :dispatcher-agent Gradle submodule was scaffolded but lacked per-submodule settings required for test execution, code quality checks, and coverage analysis in CI/CD pipelines. This PR adds missing configuration to fully integrate the module into the build system while maintaining architectural constraints.

Changes

Root Build Configuration (build.gradle.kts)

  • Add :dispatcher-agent:test and :dispatcher-agent:integrationTest to root-level task delegations
  • Update SonarQube sonar.sources, sonar.tests, and sonar.java.binaries properties to include dispatcher-agent
  • Add dispatcher-agent paths to sonar.junit.reportPaths and sonar.coverage.jacoco.xmlReportPaths
  • Include dispatcher-agent in aggregated jacocoAggregatedReport (execution data, sources, classes)

Dispatcher-Agent Module (dispatcher-agent/build.gradle.kts)

  • Configure jacocoTestReport task to generate XML reports at dispatcher-agent/build/reports/jacoco/test/jacocoTestReport.xml

CI/CD Workflows

  • gradle-java21.yml: Add :dispatcher-agent:ktlintCheck to code formatting step; include dispatcher-agent artifacts in sonar inputs upload
  • sonarqube.yml: Add dispatcher-agent test exclusions to prevent re-running tests during SonarCloud analysis

Verification

✓ Architectural constraints preserved:

  • :dispatcher-agent depends on :core only (not :desktop-ui)
  • :core and :fast-sim remain free of Koog/Ollama LLM framework dependencies

✓ All tests pass: 2,194+ core tests + 35+ dispatcher-agent tests

✓ Coverage reporting active: JaCoCo XML reports generated and aggregated; SonarQube configuration complete

Copilot AI changed the title [WIP] Add new :dispatcher-agent Gradle submodule SP1.1: Complete :dispatcher-agent Gradle module integration with CI/CD and SonarQube configuration Jul 11, 2026
Copilot AI requested a review from bedaHovorka July 11, 2026 16:32
@bedaHovorka bedaHovorka marked this pull request as ready for review July 11, 2026 16:37
@bedaHovorka bedaHovorka merged commit 51784ac into goal-10 Jul 11, 2026
3 checks passed
@bedaHovorka bedaHovorka deleted the copilot/create-new-dispatcher-agent-submodule branch July 11, 2026 16:50
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.

SP1.1: Create new :dispatcher-agent Gradle submodule

2 participants