설계: docs/superpowers/specs/2026-09-25-capability-module-packaging-design.md
계획/진행 기록: docs/superpowers/plans/2026-09-25-capability-module-packaging.md
- Wave 0: 규칙 고정(AGENTS.md capability 완료 기준·테스트 규칙) + 차단 결함 7건
(compose overlay 검사, redis-sdk CI job, 적용된 V9/V13 원복 + V16, @EnableScheduling,
messaging bridge 순서, prod 에러 상세 validator, sample loggers read-only)
- Wave 1: 데이터·보안 Critical 10건 (durable operation 25P02, operation 유스케이스 이동,
outbox 재인코딩, Kafka TLS/SASL, 알림 트랜잭션, SNS 서명, tus checksum, GraphQL fragment,
Redis lane, gRPC FAILED_TERMINAL)
- Wave 2: 리팩터링 잔재·실험용 자리 삭제, outbox v1 fencing(V17), 멱등성 V2 정본화
- Wave 3: 라이브러리형 코드 정리(동작하지 않는 설정·인터페이스·gate 제거, web-advanced 분리)
- Wave 4: capability 11개를 "있으면 켜짐" 모듈로 포장, 끄는 장치 제거, 기본 조립 web-only,
qualificationBootJar 분리
- Wave 5: 빌드 로직 축소(17.2k -> 10.8k줄), sample 테스트 컨벤션 적용
삭제한 코드는 docs/capability-status.md "제거된 코드" 표에 복구 커밋(208077fd)과 함께 기록.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
76 lines
2.9 KiB
YAML
76 lines
2.9 KiB
YAML
name: jpa-next
|
|
|
|
# Advisory compatibility probes for future JPA/Hibernate/PostgreSQL majors. These targets are not
|
|
# resolved by the current build, so the artifact records NOT_EXECUTABLE rather than implying that a
|
|
# green policy test is compatibility evidence.
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 5 * * 1'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
compatibility:
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- id: jakarta-persistence-4
|
|
target: Jakarta Persistence 4
|
|
coordinate: jakarta.persistence:jakarta.persistence-api:4.x
|
|
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
|
|
coordinate: org.hibernate.orm:hibernate-core:8.x
|
|
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
|
|
coordinate: postgres:19-alpine
|
|
test: "*PostgreSql19CompatibilityTest"
|
|
reason: no PostgreSQL 19 image is published yet, so no container of that major has ever been started by this lane
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 60
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # actions/checkout@v4.2.2
|
|
- uses: ./.github/actions/setup-gradle-java
|
|
- name: Run the current-runtime policy probe
|
|
id: compatibility-probe
|
|
working-directory: src
|
|
run: >-
|
|
./gradlew
|
|
:adapter:outbound:persistence-jpa:test
|
|
--tests '${{ matrix.test }}'
|
|
--stacktrace
|
|
- name: Record what this lane did and did not execute
|
|
if: always()
|
|
env:
|
|
PROBE_OUTCOME: ${{ steps.compatibility-probe.outcome }}
|
|
TARGET: ${{ matrix.target }}
|
|
TARGET_COORDINATE: ${{ matrix.coordinate }}
|
|
REASON: ${{ matrix.reason }}
|
|
run: |
|
|
mkdir -p compatibility-evidence
|
|
{
|
|
echo "target=${TARGET}"
|
|
echo "target-coordinate=${TARGET_COORDINATE}"
|
|
echo "status=NOT_EXECUTABLE"
|
|
echo "probe-result=${PROBE_OUTCOME}"
|
|
echo "reason=${REASON}"
|
|
echo "what-ran=the current runtime's own version canary for this target"
|
|
echo "sha=${{ github.sha }}"
|
|
} > compatibility-evidence/status.properties
|
|
echo "::notice::${TARGET} compatibility is NOT_EXECUTABLE: ${REASON}"
|
|
- name: Upload the compatibility status
|
|
if: always()
|
|
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # actions/upload-artifact@v4.6.2
|
|
with:
|
|
name: compatibility-status-${{ matrix.id }}
|
|
path: compatibility-evidence/status.properties
|
|
retention-days: 30
|
|
if-no-files-found: error
|