Files
grpc-library/build.gradle
T
donghyeon-kaandClaude Opus 5.5 dc760fc2d1 review-followup Wave 3 라운드 3(P27): 빌드 잔여 — INTERNAL_ERROR 비재시도, messaging 카드 검증 leaf 테스트, cosign 서명
- 결정 28: `INTERNAL_ERROR` retryable=false(레지스트리·코드·문서·기대값)
- 결정 29: messaging 카드 검증을 `adapter:outbound:messaging` 테스트로, snakeyaml은 test configuration에서만
- 결정 31: release.yml에 cosign keyless 이미지 서명·검증 job(공식 체크섬 고정 설치, id-token은 그 job만)
- persistence-fileserver `ca.api-surface`(P16-new-6), `ca.release-provenance` 제거(BUILD-O3-5 일부)
- 에이전트가 세션 재시작으로 중단 — 결과 파일은 오케스트레이터가 작성, 미커밋 `jvm-test-suite` 전환은 패치로 보관
- 통합: messaging CLAUDE.md 충돌(encoder 위치 + test 전용 snakeyaml 문장 병합)

검증: ./gradlew mainCheck, -p build-logic test, -p optional-platforms ci, releaseCheck -PgitRevision 통과.
ci verifyDependencyLocks --warning-mode=fail은 web-advanced `WebStreamingSoakIT` 1건(1001 > 1000) 외 통과 —
단독 3회 통과, 경합 가능성으로 ORCH-new-3 행에 기록

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-09-29 12:57:24 +09:00

50 lines
2.4 KiB
Groovy

plugins {
id 'ca.architecture'
}
// No `ca.release-provenance` any more: each gRPC leaf's `ca.java-conventions` derives its version
// and `sourceRevision` from the same -PreleaseVersion/-PgitRevision (GIT_SHA, GITHUB_SHA) inputs the
// main build reads, so one commit produces one version scheme in both builds (review BUILD-O3-5).
tasks.register('resolveAndLockAll') {
group = 'build setup'
description = 'Regenerates dependency locks for every optional gRPC leaf (requires --write-locks).'
dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:resolveAndLockAll" }
}
tasks.register('checkAll') {
group = 'verification'
description = 'Runs every gRPC optional-platform leaf check.'
dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:check" }
}
tasks.register('qualityCheck') {
group = 'verification'
description = 'Runs production-bytecode static analysis for every optional-platform leaf.'
dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:qualityCheck" }
}
tasks.register('ci') {
group = 'verification'
description = 'Runs the optional gRPC platform verification surface.'
dependsOn tasks.named('checkAll')
dependsOn tasks.named('qualityCheck')
// architectureCheck, not only the direction gate: it also runs verifyNoIgnoredSourcePackages, so
// a gRPC source Git would drop fails this build's ci the way it fails the main build's.
dependsOn tasks.named('architectureCheck')
}
// A strict integration lane that no workflow invokes is not coverage; it is a file that looks like
// coverage. `grpc-operation-ledger-jpa` declares a Testcontainers PostgreSQL lane that certifies the
// atomic `INSERT ... ON CONFLICT DO NOTHING` claim the whole durable-idempotency contract rests on,
// and until this aggregate existed `ci` reached `checkAll`, `qualityCheck` and the dependency
// verifier only — none of which runs a lane whose category is INTEGRATION.
//
// Kept out of `ci`: every lane here starts a container, and `ci` is the per-PR gate for this build.
// The caller is integration-main.yml, the stage that owns container-backed lanes.
tasks.register('integrationCheck') {
group = 'verification'
description = 'Runs every optional-platform leaf integration test lane. Needs a container runtime.'
dependsOn subprojects.findAll { it.childProjects.isEmpty() }.collect { "${it.path}:integrationTestLaneCheck" }
}