The keycloak project ended with four open questions that design could not
settle. A two-VM lab was built to answer them by measurement, and this is
that material: 26 experiments, 125 raw command outputs, 22 browser captures.
Follows the import procedure in README.md.
source/ the originating repository verbatim — 78 documents, 28 SVGs,
8 manifests, plus .source-revision recording the commit
final/ the SSOT
document.md 729 lines written from the 29 experiment documents, not
concatenated: what was predicted, what was measured, and
where the measurement itself was wrong
evidence/raw 125 outputs, flattened to <experiment>__<file> because
the originals collided (01-baseline.txt appeared three
times) and the audit only globs the top level
evidence/meta one per raw file; command and exitCode are null and the
README says why rather than inventing them
evidence/browser 22 captures
assets/ three diagrams through techviz
.techviz/ their VizSpecs
A separate project rather than an addition to keycloak: the B-layer answers
that project's four questions, but the A, C and D layers are about cluster
failure, SSO and operations, and one document.md should hold one subject.
The four question records there can point here through 관계.
Recorded rather than papered over: only three of the 28 diagrams were
remade. The repository forbids hand-drawn SVG and forbids titles inside the
canvas; all 28 originals carry both, so converting them is redrawing, not
reformatting. They stay in source/ and the gap is written into the document.
verify-pipeline.py passes. audit-records.py reports no issues.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
5.0 KiB
kind, slug, title, topic, project, status, sourceRevision, rootTreeNode, evidenceCapturedOn, assets, evidence, source, module, priority
| kind | slug | title | topic | project | status | sourceRevision | rootTreeNode | evidenceCapturedOn | assets | evidence | source | module | priority | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| CASE | grpc-spring-boot-starter-f01 | 시작 검증기가 시작 시 실행되지 않는다 | runtime-reachability-and-composition | clean-architecture-backend-template | 게시 전 | 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 | case:grpc-spring-boot-starter-f01 | 2026-09-01 |
|
|
|
grpc-spring-boot-starter | P2 |
시작 검증기가 시작 시 실행되지 않는다
GrpcPlatformStartupValidator 를 이름으로 부르는 파일은 둘뿐이다 — 자기 자신과 자기 테스트. GrpcPlatformAutoConfiguration 은 빈 9개를 만들고 requireValid 를 부르지 않는다.
문제
GrpcPlatformStartupValidator 를 이름으로 부르는 파일은 둘뿐이다 — 자기 자신과 자기 테스트.
GrpcPlatformAutoConfiguration 은 빈 9개를 만들고 requireValid 를 부르지 않는다.
결론
초기화 콜백도, @PostConstruct 도, ApplicationRunner 도 없다.
그래서 클래스 javadoc 이 약속한 성질이 성립하지 않는다 — "Refuses to start on a configuration that would be wrong in a way nobody would notice." 지금은 그 설정으로 그냥 시작한다.
검증기가 유일한 소비자인 설정 키가 넷이다.
transport — production 이 아닌 전송을 거부할 곳이 없다.
게다가 자동 설정은 이 값을 보지 않고 GrpcServerProfile.stableNetty(...) 를 하드코딩한다(§17.2).
tls-enabled · trust-all-certificates — 배포 환경의 TLS 바닥을 강제할 곳이 없다.
operation-ledger-enabled — 멱등 키 필수 메서드가 원장 없이 열리는 것을 막을 곳이 없다.
같은 저장소가 이 형태를 두 번 기록했다 — WebPlatformStartupValidator 가 시작 시 실행되지 않고, BrokerAclManifest 의 시작 자기점검이 없다.
검증 환경
OpenJDK : 21.0.12 java -version 으로 확인 Gradle : 9.0.0 src/gradle/wrapper/gradle-wrapper.properties 의 distributionUrl 로 확인 확인 방식 : GrpcPlatformStartupValidator 참조 15건 검색과 자동 설정이 만드는 빈 목록 대조 소스 수정 : x
재현 조건
원문은 analysis/grpc/grpc-spring-boot-starter.md#L183 에 있다.
본문
GrpcPlatformStartupValidator 를 이름으로 부르는 파일은 둘뿐이다 — 자기 자신과 자기 테스트.
검증기가 도는 데 빠진 것
:::evidence key="grpc-spring-boot-starter-f01-diagram" alt="설정 프로퍼티 셋만 검증기 입력 안에 놓이고 모듈 id 집합 생산자와 requireValid 호출 지점이 바깥에 빗금으로 놓인다" caption="검증기가 도는 데 빠진 것" zoom="false" :::
GrpcPlatformAutoConfiguration 은 빈 9개를 만들고 requireValid 를 부르지 않는다. 초기화 콜백도, @PostConstruct 도, ApplicationRunner 도 없다. 그래서 클래스 javadoc 이 약속한 성질이 성립하지 않는다 — "Refuses to start on a configuration that would be wrong in a way nobody would notice."
GrpcPlatformStartupValidator 참조 위치
:::evidence key="grpc-spring-boot-starter-f01" alt="코드베이스에서 GrpcPlatformStartupValidator 를 검색한 출력 15줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="GrpcPlatformStartupValidator 코드베이스 검색 — 15줄 · exit 0" zoom="true" :::
함께 사라지는 설정 키 넷
transport — production 이 아닌 전송을 거부할 곳이 없다(게다가 자동 설정은 이 값을 보지 않고 GrpcServerProfile.stableNetty(...) 를 하드코딩한다, §17.2). tls-enabled · trust-all-certificates — 배포 환경의 TLS 바닥을 강제할 곳이 없다. operation-ledger-enabled — 멱등 키 필수 메서드가 원장 없이 열리는 것을 막을 곳이 없다.
정본이 저장소 안에 둘 있다
messaging 의 StartupProfileValidation 은 InitializingBean.afterPropertiesSet 으로 돌려 그 문제를 이미 한 번 해결했고, fileserver 는 attestMapping() 을 app-bootstrap 의 @Bean 으로 연결했다. 반대로 같은 저장소가 이 형태를 두 번 기록했다 — WebPlatformStartupValidator 가 시작 시 실행되지 않고, BrokerAclManifest 의 시작 자기점검이 없다.
왜 배선되지 않았는지가 서명에 보인다
violations 는 넷을 받고 그중 셋에 생산자가 없다. 특히 마지막은 "스타터가 해석한 모듈 id 집합" 인데 그것을 실행 중에 산출하는 코드가 없다. P2.
확인하지 못한 것
스타터를 실제 애플리케이션에 올려 컨텍스트를 세우지 않았다. build-only 이고 이 스타터를 의존하는 모듈이 저장소에 없다.