From 7054d179bd6e85ba2f927c0f2ecc359d8e120671 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Thu, 12 Nov 2026 01:17:35 +0900 Subject: [PATCH] =?UTF-8?q?ci(main):=20notification-chaos=EA=B0=80=20?= =?UTF-8?q?=EB=84=A4=20suite=EB=A5=BC=20=ED=95=9C=20=EB=B2=88=EC=97=90=20?= =?UTF-8?q?=EB=8F=8C=EB=A6=AC=EA=B3=A0=20=EA=B2=B0=EA=B3=BC=EB=A5=BC=20?= =?UTF-8?q?=ED=99=95=EC=9D=B8=ED=95=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: notification-chaos는 같은 `:adapter:outbound:notification:test`를 필터를 바꿔 `--rerun`으로 두 번 돌린 뒤 「이름 붙인 suite가 정말 돌았나」를 본다. 두 번째 실행이 첫 실행의 결과 XML을 지워서 ChaosSecurity 결과가 없다고 매번 실패한다(run 52·63). 시험 자체는 두 번 다 통과했다. 고른 방법: 네 필터를 한 번의 실행에 넣고, 확인 step을 PostgreSQL 재실행 step보다 앞에 둔다. Gradle 시작과 시험 JVM 기동도 한 번 준다. 버린 대안: 실행마다 결과 폴더를 옮겨 두기. step이 셸 스크립트가 되고, 같은 태스크를 두 번 돌릴 이유가 없다. 위험·한계: 두 묶음이 같은 JVM에서 돈다. 묶음끼리 상태를 나누면 드러날 수 있는데, 그것은 이 job이 찾으려는 종류의 결함이다. 검증: runner main 수동 실행의 notification-chaos(이 PR 본문에 적는다). --- .gitea/workflows/main.yml | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.gitea/workflows/main.yml b/.gitea/workflows/main.yml index 6b668b46..13543c02 100644 --- a/.gitea/workflows/main.yml +++ b/.gitea/workflows/main.yml @@ -207,12 +207,13 @@ jobs: steps: - uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2 - uses: ./.gitea/actions/setup-java-gradle - - name: Ambiguity and fault harness - run: ./gradlew :adapter:outbound:notification:test --tests '*ChaosSecurity*' --tests '*CrossProviderContractSuite*' --rerun - - name: Concurrency and rotation races - run: ./gradlew :adapter:outbound:notification:test --tests '*ConcurrencyTest' --tests '*ProviderRuntimeStateTest' --rerun - - name: Restart recovery and lease fencing (real PostgreSQL) - run: ./gradlew :adapter:outbound:persistence-jpa:jpaPlatformContractTest :adapter:outbound:persistence-jpa:jpaPlatformFailureTest + # 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 @@ -223,6 +224,8 @@ jobs: 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.