From 7dbf11caf5db794f5febc6822550a1dade1ce10c Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Thu, 12 Nov 2026 01:34:40 +0900 Subject: [PATCH] =?UTF-8?q?ci(release):=20web=C2=B7WebSocket=C2=B7HTTP=20c?= =?UTF-8?q?lient=20release=20lane=EC=9D=84=20job=20=ED=95=98=EB=82=98?= =?UTF-8?q?=EB=A1=9C=20=ED=95=A9=EC=B9=9C=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: release 수동 실행(run 62)은 gate job 12개를 하나씩 돈다(runner capacity 1). web·websocket·httpclient 세 gate는 각각 2.4~3.2분인데 그중 약 2분이 checkout, JDK, Gradle 시작, 세 lane이 함께 쓰는 모듈의 컴파일이다. 고른 방법: `stable-release-gates` job 하나가 세 job의 태스크를 Gradle 한 번에 `--continue`로 돈다. 한 lane이 실패해도 나머지 lane의 결과가 나온다. app-image-release의 needs와 capability-status 문서의 job 이름을 맞춘다. 버린 대안: JPA·fileserver job까지 합치기. JpaReleaseRenderingTest가 PostgreSQL major마다 job 하나인 행렬을, FileserverDocumentationCoverageTest와 지원 문서가 fileserver job 이름을 근거로 읽는다. `--tests` 필터를 쓰는 jpa-registry-and-docs는 같은 Gradle 실행에 넣으면 필터가 다른 시험 태스크에도 걸린다. 위험·한계: 세 영역의 로그가 한 job에 섞인다. 실패한 lane 이름은 Gradle이 끝에 모아 적는다. 검증: runner release 수동 실행(이 PR 본문에 적는다). --- .gitea/workflows/release.yml | 39 +++++++++++++----------------------- docs/capability-status.md | 2 +- 2 files changed, 15 insertions(+), 26 deletions(-) diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml index f879ade4..2b178cfc 100644 --- a/.gitea/workflows/release.yml +++ b/.gitea/workflows/release.yml @@ -38,38 +38,29 @@ jobs: - uses: ./.gitea/actions/setup-java-gradle - run: ./gradlew :releaseCheck - # Every web lane `check` cannot reach. webAdvancedTest selects tests `:web-advanced:test` already - # runs; what it adds is failing closed when its tag selects nothing. - web-stable-release-gate: + # The web, WebSocket and HTTP client release lanes, one Gradle run with --continue. They were three + # jobs, and each paid checkout, JDK, Gradle start and the compile of the modules it shares with the + # others (about two minutes of a 2.5-minute job, release run 62); --continue still reports every + # lane that fails. The JPA and fileserver jobs below stay jobs of their own: their names and the + # PostgreSQL matrix are what JpaReleaseRenderingTest and the fileserver support matrix read. + # webAdvancedTest selects tests `:web-advanced:test` already runs; what it adds is failing closed + # when its tag selects nothing. + stable-release-gates: 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 - - run: ./gradlew :adapter:inbound:web:systemTest :adapter:inbound:web:webJettyCompatTest :adapter:inbound:web-advanced:webAdvancedTest - - websocket-stable-release-gate: - runs-on: ubuntu-latest - timeout-minutes: 60 + timeout-minutes: 120 steps: - uses: https://github.com/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2 - uses: ./.gitea/actions/setup-java-gradle - run: >- - ./gradlew + ./gradlew --continue + :adapter:inbound:web:systemTest + :adapter:inbound:web:webJettyCompatTest + :adapter:inbound:web-advanced:webAdvancedTest :adapter:inbound:websocket:test :adapter:inbound:websocket:systemTest :adapter:inbound:websocket:websocketJettyTest :adapter:inbound:websocket:websocketNginxTest :adapter:inbound:websocket:websocketTransportQualificationTest - - httpclient-release-gate: - 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 - - run: >- - ./gradlew :adapter:outbound:httpclient:test :adapter:outbound:httpclient:spring62ApiSurfaceScan :adapter:outbound:httpclient:spring70CompatibilityTest @@ -149,9 +140,7 @@ jobs: app-image-release: needs: - release - - web-stable-release-gate - - websocket-stable-release-gate - - httpclient-release-gate + - stable-release-gates - httpclient-documentation - jpa-release-gate - jpa-registry-and-docs diff --git a/docs/capability-status.md b/docs/capability-status.md index 6c2b5cae..9e0706f1 100644 --- a/docs/capability-status.md +++ b/docs/capability-status.md @@ -41,7 +41,7 @@ lanes and CI; it is not a deployment artifact. | gRPC platform | — (separate repository) | no | **no** | no | Moved out on 2026-11-08 to the `grpc-library` repository (Maven group `dev.cakit.grpc`); this repository builds and tests none of it. `adapter:inbound:grpc` uses `io.grpc` directly and is unaffected. See `docs/work/reference/related-repos.md`. | | gRPC transport (`adapter:inbound:grpc`) | `app.grpc.server.enabled` / `APP_GRPC_SERVER_ENABLED`, `true` | yes | yes (one line: `runtimeOnly project(':adapter:inbound:grpc')`) | leaf-level | Own `AutoConfiguration.imports` (`GrpcServerConfig`); on when present, and the loopback plaintext listener still needs `app.grpc.server.allow-insecure-local=true` (`GrpcSafeActivationTest`, `grpcTransportQualificationTest`). | | WebSocket transport | `app.websocket.enabled` / `APP_WEBSOCKET_ENABLED`, `true` | yes | yes (one line: `runtimeOnly project(':adapter:inbound:websocket')`) | — | Own `AutoConfiguration.imports` (`WebSocketConfig`), on in a servlet app when present (`WebSocketAutoConfigurationTest`); `ConditionalTransportBuildContractTest` asserts it has no default production edge. | -| Web Advanced library (`adapter:inbound:web-advanced`) | — (build-level; three `backend.web.advanced.*.enabled` switches inside) | yes | **no** | — | No composition root depends on it; `app-bootstrap` takes it `testRuntimeOnly` for the ArchUnit import. No real-provider lane: `webAdvancedTest` (the `web-advanced` tag, run by `release.yml` → `web-stable-release-gate`) is unit and context-runner level. The Nginx lane went with the proxy library on 2026-09-25. | +| Web Advanced library (`adapter:inbound:web-advanced`) | — (build-level; three `backend.web.advanced.*.enabled` switches inside) | yes | **no** | — | No composition root depends on it; `app-bootstrap` takes it `testRuntimeOnly` for the ArchUnit import. No real-provider lane: `webAdvancedTest` (the `web-advanced` tag, run by `release.yml` → `stable-release-gates`) is unit and context-runner level. The Nginx lane went with the proxy library on 2026-09-25. | ## Reading the "no" rows