Files
document-haness/docs/clean-architecture-backend-template/final/evidence/raw/a13-f005-retry-after-illegalargumentexception.txt
T
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

50 lines
3.8 KiB
Plaintext

# Retry-After 를 초로 바꾸는 자리 — 파싱 구문으로 전수 검색
RabbitBrokerIT.java:116: Long.parseLong(returned.getProperties().getHeaders().get("x-seq").toString())));
KafkaDeliveryMapper.java:148: return Integer.parseInt(required(headers, name));
KafkaRetryMetadataMapper.java:75: int attempt = Integer.parseInt(value.orElseThrow().value());
Draft12UploadController.java:159: long value = Long.parseLong(header.trim());
NormalizedForwardedHeaders.java:138: int port = Integer.parseInt(value);
WebThrottleHttpContract.java:49: assertThat(Integer.parseInt(fixture().exhaustAndCall().retryAfter())).isGreaterThanOrEqualTo(1);
BlockingAttemptExecutor.java:238: return Optional.of(Duration.ofSeconds(Long.parseLong(header.get().trim())));
LettuceRedisAdminOperations.java:145: Duration.ofSeconds(Long.parseLong(attributes.getOrDefault("age", "0"))),
LettuceRedisAdminOperations.java:146: Duration.ofSeconds(Long.parseLong(attributes.getOrDefault("idle", "0"))),
ProviderResults.java:94: return Optional.of(Duration.ofSeconds(Long.parseLong(value.trim())));
FcmFailureClassifier.java:70: return Optional.of(Duration.ofSeconds(Long.parseLong(value.trim())));
WebhookNotificationProviderAdapter.java:243: long seconds = Long.parseLong(value.trim());
# 그 네 자리 안에서 부호를 보는 줄
WebhookNotificationProviderAdapter.java:244: return seconds > 0 ? Optional.of(Duration.ofSeconds(seconds)) : Optional.empty();
# 받는 쪽 검사 — ProviderFailure 정규 생성자
27: throw new IllegalArgumentException("code");
31: if (delay.isNegative()) {
32: throw new IllegalArgumentException("retryAfter");
# 공용 파서를 쓰는 자리
SesFailureClassifier.java:37: ProviderResults.retryAfter(response.header("retry-after")),
SesFailureClassifier.java:49: response.statusCode(), ProviderResults.retryAfter(response.header("retry-after")));
WebPushFailureClassifier.java:39: status, ProviderResults.retryAfter(response.header("retry-after")));
TwilioFailureClassifier.java:35: ProviderResults.retryAfter(response.header("retry-after")),
TwilioFailureClassifier.java:39: response.statusCode(), ProviderResults.retryAfter(response.header("retry-after")));
# FcmFailureClassifier 가 나오는 자리 전부
FcmBatchAdapterTest.java:122: var classifier = new FcmFailureClassifier();
FcmBatchAdapterTest.java:134: var classifier = new FcmFailureClassifier();
FcmBatchAdapterTest.java:154: new FcmFailureClassifier(),
FcmFailureClassifier.java:16:public final class FcmFailureClassifier {
FcmBatchCoordinator.java:32: private final FcmFailureClassifier classifier;
FcmBatchCoordinator.java:40: FcmFailureClassifier classifier,
FcmContactPointUpdater.java:19: private final FcmFailureClassifier classifier;
FcmContactPointUpdater.java:22: ContactPointStorePort contactPoints, FcmFailureClassifier classifier) {
# 알림 리프의 시험이 넣는 헤더 값
TwilioSmsProviderAdapterTest.java:94: harness.respondWith(429, "{\"code\":20429}", Map.of("retry-after", "10"));
ProviderAdapterContract.java:79: .respondWith(429, "{\"reason\":\"TooManyRequests\"}", java.util.Map.of("retry-after", "7"));
NotificationChaosSecurityTest.java:120: 429, "{\"reason\":\"TooManyRequests\"}", Map.of("retry-after", "3")),
CrossProviderContractSuiteTest.java:77: harness.respondWith(429, "{\"reason\":\"TooManyRequests\"}", Map.of("retry-after", "7"));
# 이 헤더를 만드는 다른 자리
WebMvcThrottleFilter.java:133: response.setHeader("Retry-After", retryAfter);
MockHttpServer.java:99: server.enqueue(new MockResponse().setResponseCode(status).setHeader("Retry-After", retryAfter));
StatefulUpstream.java:62: .setHeader("Retry-After", retryAfterSeconds)