Introduce reusable composite actions, modular validation groups, and diagnostic utilities#83
Merged
ExtraToast merged 34 commits intomainfrom Apr 13, 2026
Merged
Introduce reusable composite actions, modular validation groups, and diagnostic utilities#83ExtraToast merged 34 commits intomainfrom
ExtraToast merged 34 commits intomainfrom
Conversation
Allow services to burst above their memory reservation without being immediately killed by cgroups. Each service gets 15-30% headroom.
Replace the heavyweight Nomad/Consul/Vault CI bootstrap with Docker Compose for running system tests. This eliminates ~8 min of bootstrap overhead and reduces memory pressure on the 7GB GitHub Actions runner. - Create docker-compose.ci.yml override (CI images, disabled services) - Rewrite system-tests.yml to use Docker Compose - Add compose diagnostics and stalwart seeding scripts - Remove maxHeapSize constraint from test JVM
Create a separate workflow that validates Nomad job deployments become healthy, running in parallel with the Docker Compose system tests. Deploys services in parallel dependency groups for faster validation.
Run `nomad fmt` to properly align resource block keys (cpu, memory, memory_max) after adding memory_max.
Replace `build: !reset null` with `pull_policy: never` to prevent compose from trying to build images when both build and image are set.
Prevent compose from trying to build images when a build context is inherited from the base compose file.
446f906 to
5131c35
Compare
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.
This pull request introduces several improvements to the CI/CD pipeline, focusing on maintainability, modularity, and flexibility for validation and setup tasks. The changes include the introduction of reusable GitHub Action composites for Java/Gradle and Node/PNPM environments, refactoring of the Nomad CI bootstrap script to support targeted validation groups, and the addition of new utility scripts for diagnostics and health checks. These updates streamline the workflow configuration and make the CI process more robust and easier to extend.
CI/CD Workflow Improvements
actions/setup-java,gradle/actions/setup-gradle,pnpm/action-setup, andactions/setup-nodein workflow files with new composite actions (setup-java-gradleandsetup-node-pnpm) for improved maintainability and consistency across jobs. (.github/workflows/fast.yml,.github/workflows/full.yml,.github/actions/setup-java-gradle/action.yml,.github/actions/setup-node-pnpm/action.yml) [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14]Nomad CI Bootstrap Refactor
.github/scripts/bootstrap-nomad-ci.shto introduce theNOMAD_VALIDATION_GROUPvariable and modular deployment phases (auth, assistant, app, platform, full), allowing for more targeted and efficient validation slices in CI. (.github/scripts/bootstrap-nomad-ci.sh) [1] [2] [3] [4]New Utility and Diagnostic Scripts
dump-compose-ci-diagnostics.shfor Docker Compose troubleshooting,validate-nomad-health.shfor Nomad job health validation, andseed-stalwart-ci.shfor seeding mail accounts in CI. (.github/scripts/dump-compose-ci-diagnostics.sh,.github/scripts/validate-nomad-health.sh,.github/scripts/seed-stalwart-ci.sh) [1] [2] [3]Reusable CI Host Preparation
prepare-ci-hostto automate downloading/loading Docker images and configuring development DNS in CI environments. (.github/actions/prepare-ci-host/action.yml)Workflow Configuration Enhancements
system-tests.ymlfor better dependency tracking. (.github/workflows/full.yml)These changes collectively enhance the flexibility, maintainability, and reliability of the project's CI/CD pipeline.