Files
DongHyeonka 914c320799 ci(main): NFS nightly가 nfs·nfsd 두 모듈을 보고 실패 로그를 남긴다
문제: nightly `fileserver-nfs-ambiguity`의 호스트 확인 step은
`/proc/filesystems`에서 `nfsd`만 보고, 실패 안내도 `nfsd`만 올린다.
서버 이미지 erichough/nfs-server 2.2.1의 entrypoint
(`init_runtime_assertions`)는 `nfs`와 `nfsd`를 둘 다 요구하고, `nfsd`를
올려도 `nfs`는 따라오지 않는다. 그래서 안내대로 한 호스트는 확인 step을
지나 compose에서 `exited (1)`로 빨강이 된다. 그 이유는 서버 컨테이너
로그에만 있는데, job에는 로그 step이 없고 `if: always()` 정리 step이
`down -v`로 컨테이너를 지운다(run 52·63에서 서버 출력 줄 0). 시험 step은
`--rerun` 없이 빌드 캐시를 쓰는데, `FILESERVER_NFS_TESTS`는 Java가 실행
중에 읽는 env라 태스크 입력이 아니다. fileserver 입력이 같은 두 번째
run은 `FROM-CACHE`로 NFS 없이 초록일 수 있다.

고친 것:
- 확인 step이 `for module in nfs nfsd`로 둘 다 보고, 빠진 모듈 이름과
  `modprobe -a nfs nfsd`(둘을 주려면 `-a`가 있어야 한다. 없으면 둘째가
  첫째의 모듈 인자가 된다) 명령을 찍는다. 주석도 같은 명령.
- 시험 step에 `--rerun`.
- `if: failure()` step이 `down`보다 앞에서 compose 로그를 찍는다.
- `docs/fileserver/storage-certification.md` 「네트워크 파일 시스템」에
  호스트 모듈 줄과 `--rerun`(이유 한 줄).
- `DeveloperExperienceContractTest`에 시험 셋(tag `repository-contract`,
  `.gitea/**`는 이미 이 lane의 입력이다): 확인 step의 모듈 목록과 안내
  명령의 모듈 목록이 정확히 `nfs`·`nfsd`, 이 job의 Gradle step마다
  `--rerun`, compose `logs`를 부르는 `failure()` step이 `down`보다 앞.
  step 번호나 Gradle을 어디서 부르는지에 기대지 않게 썼다.

버린 안: 확인 step을 지우고 이미지 메시지에 맡기기(로그 step이 생겨도
첫 step이 몇 초 만에 정확한 명령을 주는 편이 낫다). 확인을 scripts/ci/
스크립트로 빼고 fixture로 시험하기(파일 둘이 늘고, 총괄이 고르지 않음).

위험·한계: job이 실제로 초록이 되는지, 고친 확인 step이 모듈을 올린
호스트에서 통과하는지는 소유자가 호스트에 모듈을 넣은 뒤 nightly에서만
볼 수 있다. compose.yml 머리 주석(11행)의 같은 명령에 `--rerun`이 없지만
그 주석은 QA-BE-0001 몫이라 두었다.

리뷰 반영(종류 B 1회, 렌즈 be-build-ci·be-testing·be-security):
- `--rerun`을 shell 낱말로만 봐서 `bash -c "… --rerun"`에서 거짓
  실패 → run 전체에서 `(?<![\w-])--rerun(?![\w-])`로 찾는다.
- `docker compose \` 줄 이음 뒤 `-f`를 놓침 → 백슬래시-줄바꿈을 먼저
  잇는 `scriptWords`를 compose 단계 helper에 쓴다.
- 안내의 부팅 목록(`printf … | sudo tee /etc/modules-load.d/`)을 안 봄
  → 단언을 더하고 모듈 목록 셋 다 `containsExactlyInAnyOrder`.
- then이 given 값을 단언 → when에서 logs step 조건을 만든다.
- `--rerun` 시험 DisplayName 문구.

검증(desktop 공유 잠금, detached worktree, `--no-build-cache`):
- RED: base 3bfefe69(트리 dfae7dc4) + 새 시험 파일(트리 fee22e62)에서
  `./gradlew :app-bootstrap:repositoryContractTest --tests
  'dev.caskeleton.bootstrap.contract.DeveloperExperienceContractTest'`
  rc=1. 이 커밋의 시험 셋이 모듈 목록 없음·`--rerun` 없음·logs step
  없음으로 실패(다음 커밋 시험 포함 4개 실패).
- 이 커밋 트리 85daf7dc에서 `:app-bootstrap:repositoryContractTest`
  rc=0(64개, skip 1).
- 변이(두 커밋 트리 d8fc8e09, 이 시험 class): 확인 step
  `for module in nfsd` rc=1, gradle step `--rerun` 지움 rc=1, logs
  step을 `down` 뒤로 rc=1, 안내 `modprobe nfsd` rc=1, 부팅 목록
  `echo nfsd | sudo tee` rc=1, `bash -c "… --rerun"` rc=0,
  `bash -c "…"`(`--rerun` 없음) rc=1.
- 문서 주장: env 없이 fileserver 시험을 돈 뒤 `FILESERVER_NFS_TESTS=true`로
  다시 돌면 `:adapter:outbound:fileserver:test UP-TO-DATE`.
- 트리 d8fc8e09: desktop `scripts/verify.sh leaf :app-bootstrap
  --no-cache` rc=0(334개), `scripts/verify.sh pr --no-cache` rc=0
  (7343개, 실패 0, skip 35), 노트북 `scripts/verify.sh docs` rc=0.

Refs: CI-BE-0007
2026-11-21 20:12:09 +09:00

431 lines
24 KiB
YAML

# Main-branch stage: is the merged state healthy. It does not block a merge — the merge has already
# happened — but it fails loudly, after the change it reports on (owner decision 2026-09-16).
#
# On every push to main: the main stage, the container lanes, the build-logic tests, configuration
# cache, links, the dependency scan, and the pull-request stage once more to fill the build cache
# (`done`, not a gate; it stops early when only documentation changed since the last one that got
# through). Nightly (and on a manual run) also the jobs that need a matrix or an environment the
# stage tasks do not have, and last the performance lanes, which need a machine nothing else is
# using: the runner takes one job at a time, and the performance job is the last one in this file
# (owner decision 2026-11-07; the job says why not `needs`).
#
# On a push, two jobs, `links` and `vulnerabilities`, run on the runner the Actions variable
# LIGHT_RUNNER_LABEL names. Nightly and manual runs, and every run when the variable is not set, keep
# them on `ubuntu-latest` like every other job: a repository with one runner sets nothing and nothing
# changes, and a nightly starts when nobody may be at that second runner while the shared one is free.
# Only jobs without Gradle, Docker or a browser go there (docs/work/reference/gates.md 7).
#
# Which lanes a stage means is decided by its Gradle task (build.gradle). The stage jobs (`main`
# for the main and integration stages, `performance`) run them as one line;
# `verifyStrictLaneStages` fails a pull request that changes that line, its condition, or adds a
# way for it to pass quietly.
name: main
on:
push:
branches: [main]
schedule:
# 04:00 KST. grpc-library runs at 03:00 and messaging-library at 03:30 on the same runner.
- cron: "0 19 * * *"
workflow_dispatch:
inputs:
run_protected_aws:
description: Also run the protected AWS object-storage lane (needs the sandbox secrets)
type: boolean
default: false
permissions:
contents: read
# One group per trigger and branch. A newer push cancels the older push run on the same branch, and a
# newer nightly the older nightly, queued or running: the newer run tests everything the older one
# would have, and the runner is shared. A push leaves a nightly alone (the nightly has jobs a push
# does not), and a manual run cancels only an older manual run on the same branch. Gitea cancels the
# queued and blocked runs of a group even without cancel-in-progress; with it, the running ones too.
concurrency:
group: main-${{ github.event_name }}-${{ github.ref }}
cancel-in-progress: true
env:
# Reuse would hand one lane a container another lane had already faulted.
TESTCONTAINERS_REUSE_ENABLE: "false"
jobs:
# Both main-branch stages in one Gradle run, the integration stage first (build.gradle
# `strictLaneStages` says why).
# mainCheck: environment contract, full-boot qualification, public-path baseline, transport and
# messaging qualification, document-contract lanes, test-code analysis, the feature generator
# round trip. integrationCheck: every integration-category strict lane, against real PostgreSQL,
# MongoDB, Kafka, MinIO, nginx and Toxiproxy; a lane joins by declaring `integration()`, no line
# here names it, and lanes that need an input this job does not have are explicitOnly and named
# in the output. `--continue`: one failed lane must not hide the others.
main:
runs-on: ubuntu-latest
timeout-minutes: 240
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: ./gradlew :integrationCheck :mainCheck --continue
# The included build's own tests (TestKit for the convention plugins). The main task graph does
# not reach them; `ci` already runs every plugin they test (owner decision 2026-11-07: main stage).
build-logic:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: ./gradlew -p build-logic test
configuration-cache:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: bash scripts/ci/verify-configuration-cache.sh
# Every committed Markdown link, external URLs included. A documentation check, so the main stage
# (owner decision 2026-09-16); scripts/check-docs.py checks the relative links on every pull request.
links:
runs-on: ${{ github.event_name == 'push' && vars.LIGHT_RUNNER_LABEL || 'ubuntu-latest' }}
timeout-minutes: 15
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
# A job container on either runner here has no IPv6 route (the runner makes each job's Docker
# network without IPv6), and DNS still answers AAAA. When the A answer is lost and the AAAA one
# arrives, glibc returns the IPv6 addresses alone, lychee's connection fails at once with
# "Network unreachable", and lychee does not retry a connection error: run 452 lost the A
# answer for www.postgresql.org on laptop-runner and failed on ten live links. no-aaaa asks
# for A alone, as getaddrinfo's AI_ADDRCONFIG would on such a host, so a lost answer is asked
# again like any other. DNS that stays down, or no internet at all, still fails. `ip route get`
# only looks up a route and sends nothing; a runner with an IPv6 route keeps AAAA, and so does
# an image without `ip`, which cannot tell (a failed `ip` would otherwise read as "no route").
- name: Resolve IPv4 only when the job has no IPv6 route
run: |
if ! command -v ip >/dev/null 2>&1; then
echo "No ip command in this job image: lychee keeps asking for AAAA records."
elif ! ip -6 route get 2001:db8::1 >/dev/null 2>&1; then
echo "No IPv6 route in this job: lychee resolves A records only (RES_OPTIONS=no-aaaa)."
echo "RES_OPTIONS=no-aaaa" >> "$GITHUB_ENV"
fi
# v2.9.0 runs lychee v0.24.2. v2.0.2 ran v0.16.1, which has no --root-dir at all; a relative
# --root-dir works from lychee v0.22.0. The job token is this Gitea's and means nothing to the
# GitHub hosts lychee would send it to, so none is passed, and Gitea has no job summary page.
# --max-retries 5 --retry-wait-time 5: a request that timed out or got a 429 is tried again
# after 5, 10, 20, 40 and 80 seconds (lychee doubles the wait). With 20-second timeouts the
# last try starts about four minutes after the first, after two and a half for a quick 429. The
# default, 3 retries from 1 second, gave up on three live links after 67 seconds in run 362.
# A timeout still fails: --accept-timeouts would also pass a dead host that drops packets, and
# a runner that cannot reach the internet at all.
- name: Check committed documentation links
uses: https://github.com/lycheeverse/lychee-action@e7477775783ea5526144ba13e8db5eec57747ce8 # lycheeverse/lychee-action@v2.9.0
with:
token: ""
jobSummary: false
args: >-
--no-progress
--max-retries 5
--retry-wait-time 5
--root-dir .
README.md
docs/build.md
'src/**/README.md'
'src/**/AGENTS.md'
'docs/**/*.md'
'.github/**/*.md'
fail: true
# The dependency tree against today's vulnerability database: new advisories appear without a
# commit, so main and nightly scan again what the pull request scanned.
vulnerabilities:
runs-on: ${{ github.event_name == 'push' && vars.LIGHT_RUNNER_LABEL || 'ubuntu-latest' }}
timeout-minutes: 20
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/trivy-db-cache
- run: bash scripts/ci/trivy-scan.sh filesystem
# Experimental by design: the result is reported, never used to block anything.
http3-experimental:
runs-on: ubuntu-latest
timeout-minutes: 30
continue-on-error: true
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: ./gradlew :adapter:outbound:httpclient:test -Phttp3.tests.enabled=true
# Not a gate: the pull-request stage once more, on main, so that a pull request finds main's
# results in the build cache and runs only what its change touches. setup-gradle keys its cache by
# job name and a job first restores the newest entry of its own name, so this job is named after
# pr.yml's one job. Main saves, a pull request only reads (.gitea/actions/setup-java-gradle).
#
# On every push, not only nightly. With one save a night, a pull request reran what the day's
# merges had changed until the next night, and nearly everything after a build-logic change
# (2026-11-19: 69 tasks from cache and 9 to 12 minutes of :prCheck, against 266 and under 2 right
# after the nightly). This job restores the newest entry, so it reruns only what changed since.
#
# A push stops after checkout with one `건너뜀:` line when its build inputs (every file but the
# documentation; scripts/ci/done-build-inputs.py says which) have the key the newest marker holds,
# and runs otherwise. A marker is a small entry holding the inputs' key of a `done` job on main
# that succeeded; actions/cache saves it at the end of that job, after setup-gradle's save when
# Gradle ran, so the newest marker and the newest Gradle entry come from the same job. After a run
# that changed the build inputs and did not get through, or after a revert of a change whose run
# did, the newest marker holds other inputs and the push runs, documentation only or not; so does
# an answer that is missing. The marker cannot tell whether that Gradle entry is still there
# (setup-gradle only warns when it cannot save, and the cache limit can push the large entry out
# first): then pull requests miss until the next code push or the nightly. Nightly and manual runs
# always run; on main they leave a marker too.
done:
runs-on: ubuntu-latest
timeout-minutes: 75
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
# A key of its own each run: a saved key is never written again, so the restore falls back by
# prefix to the newest marker, and a rerun of a run that got through finds its own. The
# repository is in the key, ended by a `/` no repository name has, in case the runner's cache
# is shared with other repositories.
- if: ${{ github.ref == 'refs/heads/main' }}
uses: https://github.com/actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # actions/cache@v4.3.0
with:
path: build/done-cache-marker
key: done-marker-${{ github.repository }}/${{ github.run_id }}
restore-keys: done-marker-${{ github.repository }}/
- id: inputs
env:
EVENT: ${{ github.event_name }}
run: python3 scripts/ci/done-build-inputs.py
- if: ${{ steps.inputs.outputs.run != 'false' }}
uses: ./.gitea/actions/setup-java-gradle
- if: ${{ steps.inputs.outputs.run != 'false' }}
run: ./gradlew :prCheck
# ---------------------------------------------------------------------------------------------
# Nightly and manual runs only.
# The platform contract on every Stable PostgreSQL major, one major per job: the integration stage
# runs the lane once, on the default major. JpaReleaseRenderingTest holds this list to the release
# registry's Stable majors (src/adapter/outbound/persistence-jpa/release/release-registry.json).
jpa-postgresql:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 60
strategy:
fail-fast: false
matrix:
postgresql: ["16", "17", "18"]
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: ./gradlew :adapter:outbound:persistence-jpa:jpaPlatformContractTest -Pjpa.matrix.versions=${{ matrix.postgresql }}
# One HTTP transport per step, so a transport that stops satisfying the shared contract fails on its
# own step; `always()` runs the second after the first fails. One job rather than a matrix: each
# row is under a minute, most of it job start. `ci` runs the lane once over both.
httpclient-transport:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- name: apache
if: ${{ always() }}
run: ./gradlew :adapter:outbound:httpclient:httpClientStableContractTest -Phttpclient.contract.transports=apache
- name: jdk
if: ${{ always() }}
run: ./gradlew :adapter:outbound:httpclient:httpClientStableContractTest -Phttpclient.contract.transports=jdk
# Sentinel promotion, Cluster redirects and TLS against real servers, every supported version.
# docs/redis/support-matrix.md says which lane produced which evidence; each step's log carries the
# commit, the server version and the image digest.
#
# One job, a step per topology and version. As eleven matrix jobs each row paid the job start
# again (container, checkout, JDK, Gradle start and configuration: 26 of the 135 runner minutes
# of manual run 100 went to these rows, about a third of it start). `always()` runs every row
# after one fails, and the job's red names the failed step. The script stops its topology on
# exit, so the rows do not share a server.
redis-topology:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 90
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- name: standalone on Redis 7.2
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh standalone 7.2
- name: standalone on Redis 7.4
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh standalone 7.4
- name: standalone on Redis 8.2
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh standalone 8.2
- name: sentinel on Redis 7.2
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh sentinel 7.2
- name: sentinel on Redis 7.4
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh sentinel 7.4
- name: sentinel on Redis 8.2
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh sentinel 8.2
- name: cluster on Redis 7.2
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh cluster 7.2
- name: cluster on Redis 7.4
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh cluster 7.4
- name: cluster on Redis 8.2
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh cluster 8.2
- name: tls on Redis 7.4
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh tls 7.4
- name: tls on Redis 8.2
if: ${{ always() }}
run: bash scripts/ci/redis-topology.sh tls 8.2
# The one fileserver environment a pull request cannot provide: a real NFSv4 server.
fileserver-nfs-ambiguity:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 45
env:
FILESERVER_NFS_TESTS: "true"
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
# The NFS server is the host kernel's nfsd, which a container cannot load: the runner's daemon
# has no /lib/modules. The server image (erichough/nfs-server 2.2.1, entrypoint.sh
# init_runtime_assertions) exits at once unless both nfs and nfsd are loaded, and nfsd does not
# pull in nfs. The runner host loads both once, and at every boot:
# printf 'nfs\nnfsd\n' | sudo tee /etc/modules-load.d/nfsd.conf && sudo modprobe -a nfs nfsd
- name: The runner host has the nfs and nfsd kernel modules
run: |
missing=""
for module in nfs nfsd; do grep -qw "${module}" /proc/filesystems || missing="${missing} ${module}"; done
[ -z "${missing}" ] || {
echo "fileserver-nfs: the runner host kernel lacks:${missing}; load them on the host:" >&2
echo " printf 'nfs\\nnfsd\\n' | sudo tee /etc/modules-load.d/nfsd.conf && sudo modprobe -a nfs nfsd" >&2
exit 1
}
- uses: ./.gitea/actions/setup-java-gradle
- run: docker compose -f src/adapter/outbound/fileserver/compose/nfs/compose.yml up -d --wait
# --rerun: FILESERVER_NFS_TESTS is read at run time, not a task input, so without it an
# unchanged fileserver comes back FROM-CACHE and the job is green without touching NFS.
- run: ./gradlew :adapter:outbound:fileserver:test --tests '*NfsAmbiguityIntegrationTest' --rerun
# The compose step says only "exited (1)"; why the server or client stopped is in their logs,
# and the step below removes the containers.
- if: ${{ failure() }}
run: docker compose -f src/adapter/outbound/fileserver/compose/nfs/compose.yml logs --no-color --timestamps
- if: ${{ always() }}
run: docker compose -f src/adapter/outbound/fileserver/compose/nfs/compose.yml down -v
# The notification fault, race and restart suites run again on their own: one green run says least
# about exactly these.
notification-chaos:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
# One invocation for the four suites. A second `test --rerun` deletes the first one's result
# files, and the check below then finds no results for the suites that ran first.
- name: Ambiguity and fault harness, concurrency and rotation races
run: >-
./gradlew :adapter:outbound:notification:test --rerun
--tests '*ChaosSecurity*' --tests '*CrossProviderContractSuite*'
--tests '*ConcurrencyTest' --tests '*ProviderRuntimeStateTest'
# A filter that matches nothing passes. Each filter above names classes that exist today; if
# one is renamed the job fails rather than quietly stops covering it.
- name: Every named suite actually ran
run: |
for suite in ChaosSecurity CrossProviderContractSuite ConcurrencyTest ProviderRuntimeStateTest; do
find . -path '*/build/test-results/*' -name "*${suite}*.xml" | grep -q . || {
echo "no test results for ${suite}: the filter matched nothing" >&2
exit 1
}
done
- name: Restart recovery and lease fencing (real PostgreSQL)
run: ./gradlew :adapter:outbound:persistence-jpa:jpaPlatformContractTest :adapter:outbound:persistence-jpa:jpaPlatformFailureTest
# Advisory probes for the next JPA, Hibernate and PostgreSQL majors. The targets are not resolvable
# yet, so each records NOT_EXECUTABLE with its reason instead of implying compatibility evidence.
# JpaReleaseRenderingTest requires every Experimental PostgreSQL major to be the `target` here.
jpa-next:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 60
continue-on-error: true
strategy:
fail-fast: false
matrix:
include:
- id: jakarta-persistence-4
target: Jakarta Persistence 4
test: "*Jpa4CompatibilityTest"
reason: the JPA 4 API is not on any configuration this build resolves, so nothing has been compiled against it
- id: hibernate-8
target: Hibernate 8
test: "*Hibernate8CompatibilityTest"
reason: Hibernate 8 is not resolvable from this build, so nothing has been compiled or run against it
- id: postgresql-19
target: PostgreSQL 19
test: "*PostgreSql19CompatibilityTest"
reason: no PostgreSQL 19 image is published yet, so no container of that major has ever been started by this lane
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: ./gradlew :adapter:outbound:persistence-jpa:test --tests '${{ matrix.test }}' --rerun
- if: ${{ always() }}
run: |
echo "${{ matrix.target }} compatibility is NOT_EXECUTABLE (${{ github.sha }}): ${{ matrix.reason }}"
# The protected AWS lane, only on a manual run that asks for it: it needs the sandbox secrets.
object-storage-aws:
if: ${{ github.event_name == 'workflow_dispatch' && inputs.run_protected_aws }}
runs-on: ubuntu-latest
timeout-minutes: 30
env:
OBJECT_STORAGE_AWS_QUALIFICATION_ENABLED: "true"
OBJECT_STORAGE_AWS_BUCKET: ${{ secrets.OBJECT_STORAGE_AWS_BUCKET }}
OBJECT_STORAGE_AWS_REGION: ${{ secrets.OBJECT_STORAGE_AWS_REGION }}
OBJECT_STORAGE_AWS_EXPECTED_OWNER: ${{ secrets.OBJECT_STORAGE_AWS_EXPECTED_OWNER }}
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: ./gradlew :adapter:outbound:objectstorage:objectStorageAwsQualificationTest
# Every blocking Compose runtime lane, on the qualification image (Dockerfile
# COMPOSITION=qualification: every capability module present).
compose-smoke:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 180
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- run: bash scripts/run-compose-runtime-smoke.sh --matrix src/bootstrap/app/compose-lanes/compose-profile-contracts.json
# Load, slow-client, shutdown, pool and resource bounds. Last, after every other heavy job of the
# run, so the bounds are measured on a runner that is not building something else.
#
# Last by position, not by `needs`. This Gitea (1.27) decides a job's `if` on the server once the
# jobs it needs finish, and it left this job Blocked in every run it reached: 2.5 days on a manual
# run (63), and on every push, where the nightly jobs it waited for are skipped (79). A throwaway
# workflow started by hand reproduced it with nothing else in it (2026-11-11, three variants):
# every job with both `needs` and `if` stayed Blocked, whatever the `if` said and whether or not
# the jobs it needed had passed. A job without `needs` is runnable when the run starts, and the one
# runner (capacity 1) takes the job that became runnable first, so a run's jobs go in the order they
# were created, which is their order in this file. A second runner would let this job overlap the
# others; it would still run.
performance:
if: ${{ github.event_name != 'push' }}
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
- uses: ./.gitea/actions/setup-java-gradle
- run: ./gradlew :performanceCheck --continue