--- name: 'E2E Distributed Tests' on: pull_request: paths: - 'core/services/nodes/**' - 'core/services/worker/**' - 'core/services/messaging/**' - 'core/services/syncstate/**' - 'core/services/jobs/**' - 'core/services/agents/**' - 'core/services/agentpool/**' - 'core/services/galleryop/**' - 'core/http/routes/nodes.go' - 'core/http/endpoints/localai/nodes.go' - 'core/http/endpoints/openresponses/**' - 'core/application/distributed.go' - 'core/config/distributed_config.go' - 'pkg/natsauth/**' - 'tests/e2e/distributed/**' - '.github/workflows/tests-e2e-distributed.yml' - 'Makefile' push: branches: - master concurrency: group: ci-tests-e2e-distributed-${{ github.event.pull_request.number || github.sha }}-${{ github.repository }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: tests-e2e-distributed: runs-on: ubuntu-latest # Advisory while the suite builds a track record. Flip to a required check # only after it has run clean for two weeks; a heavy suite made required on # day one gets disabled instead of fixed. continue-on-error: true timeout-minutes: 45 steps: - name: Clone uses: actions/checkout@v7 with: submodules: true - name: Configure apt mirror on runner uses: ./.github/actions/configure-apt-mirror - name: Setup Go uses: actions/setup-go@v5 with: go-version: '1.25.x' cache: false - name: Dependencies run: | sudo apt-get update sudo apt-get install -y build-essential libopus-dev - name: Proto Dependencies run: | curl -L -s https://github.com/protocolbuffers/protobuf/releases/download/v26.1/protoc-26.1-linux-x86_64.zip -o protoc.zip && \ unzip -j -d /usr/local/bin protoc.zip bin/protoc && \ rm protoc.zip go install google.golang.org/protobuf/cmd/protoc-gen-go@v1.34.2 go install google.golang.org/grpc/cmd/protoc-gen-go-grpc@1958fcbe2ca8bd93af633f11e97d44e567e945af PATH="$PATH:$HOME/go/bin" make protogen-go - name: Pre-pull test images # Pulling here rather than inside the suite keeps container-start timing # out of the spec timeouts and makes a registry outage read as a # setup failure instead of a test failure. run: | docker pull postgres:16-alpine docker pull nats:2-alpine - name: Distributed E2E run: | PATH="$PATH:$HOME/go/bin" make test-e2e-distributed