Files
document-haness/docs/clean-architecture-backend-template/final/evidence/rendered/a-five-second-string-that-broke-every-prod-deploy-bind.svg
DongHyeonkaandClaude Opus 5 b2963105a8 docs(keycloak-session-store): import the session-storage lab as a new project
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>
2026-09-04 22:51:59 +09:00

65 lines
6.9 KiB
XML

<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="832" viewBox="0 0 1200 832" role="img">
<title>terminal evidence</title>
<desc>Terminal-style rendering generated from retained command output. Sensitive-looking values are redacted in the visual asset.</desc>
<rect x="1" y="1" width="1198" height="830" rx="14" fill="#0d1117" stroke="#30363d"/>
<rect x="1" y="1" width="1198" height="44" rx="14" fill="#161b22"/>
<rect x="1" y="30" width="1198" height="14" fill="#161b22"/>
<circle cx="24" cy="22" r="6" fill="#ff5f57"/>
<circle cx="44" cy="22" r="6" fill="#febc2e"/>
<circle cx="64" cy="22" r="6" fill="#28c840"/>
<text x="92" y="27" fill="#8b949e" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace">terminal evidence</text>
<text x="24" y="68" fill="#c9d1d9" font-size="15" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">$ d=$(mktemp -d); cat &gt; $d/BindCheck.java &lt;&lt;&#x27;JAVA_EOF&#x27;
import com.zaxxer.hikari.HikariConfig;
import java.util.Map;
impo</tspan><tspan x="24" dy="22">rt org.springframework.boot.context.properties.bind.Binder;
import org.springframework.boot.context.properties.source.Ma</tspan><tspan x="24" dy="22">pConfigurationPropertySource;
public class BindCheck {
public static void main(String[] args) {
for (String value</tspan><tspan x="24" dy="22"> : new String[] {&quot;5s&quot;, &quot;5000&quot;}) {
var source =
new MapConfigurationPropertySource(
Map.of(</tspan><tspan x="24" dy="22">&quot;spring.datasource.hikari.connection-timeout&quot;, value));
try {
HikariConfig bound =
new Binder(</tspan><tspan x="24" dy="22">source).bind(&quot;spring.datasource.hikari&quot;, HikariConfig.class).get();
System.out.println(value + &quot; -&gt; OK connec</tspan><tspan x="24" dy="22">tionTimeout=&quot; + bound.getConnectionTimeout());
} catch (Exception failure) {
System.out.println(value + &quot; </tspan><tspan x="24" dy="22"> -&gt; REJECTED&quot;);
for (Throwable t = failure; t != null; t = t.getCause()) {
System.out.println(&quot; </tspan><tspan x="24" dy="22"> &quot; + t.getClass().getName() + &quot;: &quot; + t.getMessage());
}
}
}
}
}
JAVA_EOF
G=/root/.gradle/caches/modu</tspan><tspan x="24" dy="22">les-2/files-2.1
CP=$(for a in spring-boot/4 spring-core/7 spring-beans/7 spring-context/7 HikariCP/7 commons-logging/1.3</tspan><tspan x="24" dy="22">.6 slf4j-api/2.0.18; do find $G -path &quot;*/$a*&quot; -name &#x27;*.jar&#x27; | grep -v sources | head -1; done | paste -sd:)
echo &#x27;# 사용</tspan><tspan x="24" dy="22">한 산출물&#x27;
echo &quot;$CP&quot; | tr &#x27;:&#x27; &#x27;\n&#x27; | sed &#x27;s|.*/||&#x27;
javac -cp &quot;$CP&quot; -d $d $d/BindCheck.java
echo
echo &#x27;# 같은 키에 두 형</tspan><tspan x="24" dy="22">식을 넣고 실제로 바인딩한다&#x27;
java -cp &quot;$CP:$d&quot; BindCheck 2&gt;&amp;1 | grep -v &#x27;^SLF4J&#x27;
</tspan></text>
<text x="24" y="354" fill="#8b949e" font-size="13" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">cwd: /shared/codebase/clean-architecture-backend-template</tspan></text>
<text x="24" y="376" fill="#8b949e" font-size="13" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">time: 2026-09-02T01:15:50+00:00 · exit 0</tspan></text>
<line x1="24" y1="390" x2="1176" y2="390" stroke="#30363d"/>
<text x="24" y="430" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0"># 사용한 산출물</tspan></text>
<text x="24" y="452" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">spring-boot-4.0.8.jar</tspan></text>
<text x="24" y="474" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">spring-core-7.0.9.jar</tspan></text>
<text x="24" y="496" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">spring-beans-7.0.9.jar</tspan></text>
<text x="24" y="518" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">spring-context-7.0.9.jar</tspan></text>
<text x="24" y="540" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">HikariCP-7.0.2.jar</tspan></text>
<text x="24" y="562" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">commons-logging-1.3.6.jar</tspan></text>
<text x="24" y="584" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">slf4j-api-2.0.18.jar</tspan></text>
<text x="24" y="606" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0"></tspan></text>
<text x="24" y="628" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0"># 같은 키에 두 형식을 넣고 실제로 바인딩한다</tspan></text>
<text x="24" y="650" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">5s -&gt; REJECTED</tspan></text>
<text x="24" y="672" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0"> org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under &#x27;spring.datasource.hikar</tspan><tspan x="24" dy="22">i.connection-timeout&#x27; to long</tspan></text>
<text x="24" y="716" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0"> org.springframework.core.convert.ConversionFailedException: Failed to convert from type [java.lang.String] to type [long</tspan><tspan x="24" dy="22">] for value [5s]</tspan></text>
<text x="24" y="760" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0"> java.lang.NumberFormatException: For input string: &quot;5s&quot;</tspan></text>
<text x="24" y="782" fill="#e6edf3" font-size="14" font-family="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace" xml:space="preserve"><tspan x="24" dy="0">5000 -&gt; OK connectionTimeout=5000</tspan></text>
</svg>