From d2bacc609bfe2586f89ea1d35c3989c7391c9c00 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Sun, 8 Nov 2026 16:34:02 +0900 Subject: [PATCH 1/2] =?UTF-8?q?test(messaging-kafka):=20=EC=9D=B8=EC=A6=9D?= =?UTF-8?q?=20=EC=A6=9D=EA=B1=B0=EC=9D=98=20=EC=B6=9C=EC=B2=98=EB=A5=BC=20?= =?UTF-8?q?=EC=9D=B4=20repo=20=EC=BB=A4=EB=B0=8B=EC=9C=BC=EB=A1=9C=20?= =?UTF-8?q?=EB=8B=A4=EC=8B=9C=20=EB=A7=8C=EB=93=A0=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 커밋된 인증 manifest의 네 줄이 gitCommit으로 템플릿 커밋 8d69e599(2026-11-07)를 가리킨다. 그 SHA는 이 repo에 없다. 증거가 어느 소스 트리에서 나왔는지 이 repo 안에서 따라갈 수 없다. desktop에서 이 repo main dd19478을 그대로 두고 인증 lane을 다시 돌려(-PcertificationCommit=dd19478…, --rerun-tasks) 만든 manifest로 덮었다. 시나리오 넷, 결과, broker 이미지 digest는 그대로이고 gitCommit·observedAt만 바뀌었다. 게이트는 그 두 칸을 빼고 비교하므로 판정은 같다. 검증: desktop ./gradlew :messaging:messaging-kafka:verifyMessagingCertificationEvidence -PcertificationCommit=dd19478… --rerun-tasks rc=0 (로그 ~/x3-messaging-library-logs/12-cert-provenance.log). Refs: design-docs repo-structure/05-library-repos.md 4.2절 --- .../messaging/broker-certification-evidence.jsonl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/messaging/messaging-testkit/src/main/resources/messaging/broker-certification-evidence.jsonl b/messaging/messaging-testkit/src/main/resources/messaging/broker-certification-evidence.jsonl index 5867276..477b42a 100644 --- a/messaging/messaging-testkit/src/main/resources/messaging/broker-certification-evidence.jsonl +++ b/messaging/messaging-testkit/src/main/resources/messaging/broker-certification-evidence.jsonl @@ -1,4 +1,4 @@ -{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"confirm-timeout","testId":"KafkaBrokerCertificationIT#aConfirmThatNeverArrivesIsReportedAsAmbiguousAndTheRecordIsThere","outcome":"AMBIGUOUS","gitCommit":"8d69e599a376e4db29fdf7b96e06fa457ba6ace1","observedAt":"2026-11-07T04:05:39.857063221Z"} -{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"connection-cut-after-write","testId":"KafkaBrokerCertificationIT#aConnectionCutAfterTheWriteIsReportedAsAmbiguous","outcome":"AMBIGUOUS","gitCommit":"8d69e599a376e4db29fdf7b96e06fa457ba6ace1","observedAt":"2026-11-07T04:05:43.917138801Z"} -{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"high-latency","testId":"KafkaBrokerCertificationIT#latencyBeyondThePublishDeadlineIsReportedAsAmbiguous","outcome":"AMBIGUOUS","gitCommit":"8d69e599a376e4db29fdf7b96e06fa457ba6ace1","observedAt":"2026-11-07T04:05:29.018486328Z"} -{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"settlement-lost","testId":"KafkaBrokerCertificationIT#aDeliveryLostBeforeSettlementIsRedelivered","outcome":"REDELIVERED","gitCommit":"8d69e599a376e4db29fdf7b96e06fa457ba6ace1","observedAt":"2026-11-07T04:05:51.014447Z"} +{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"confirm-timeout","testId":"KafkaBrokerCertificationIT#aConfirmThatNeverArrivesIsReportedAsAmbiguousAndTheRecordIsThere","outcome":"AMBIGUOUS","gitCommit":"dd194784c3ab340c6853855459f322b60e5dcb71","observedAt":"2026-11-08T07:32:59.787416921Z"} +{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"connection-cut-after-write","testId":"KafkaBrokerCertificationIT#aConnectionCutAfterTheWriteIsReportedAsAmbiguous","outcome":"AMBIGUOUS","gitCommit":"dd194784c3ab340c6853855459f322b60e5dcb71","observedAt":"2026-11-08T07:33:03.848120421Z"} +{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"high-latency","testId":"KafkaBrokerCertificationIT#latencyBeyondThePublishDeadlineIsReportedAsAmbiguous","outcome":"AMBIGUOUS","gitCommit":"dd194784c3ab340c6853855459f322b60e5dcb71","observedAt":"2026-11-08T07:32:48.959363677Z"} +{"adapter":"messaging-kafka","brokerImage":"apache/kafka@sha256:bff074a5d0051dbc0bbbcd25b045bb1fe84833ec0d3c7c965d1797dd289ec88f","scenario":"settlement-lost","testId":"KafkaBrokerCertificationIT#aDeliveryLostBeforeSettlementIsRedelivered","outcome":"REDELIVERED","gitCommit":"dd194784c3ab340c6853855459f322b60e5dcb71","observedAt":"2026-11-08T07:33:10.948005113Z"} From 31c517888ab3e1be0eec39b9708dc8b6ccb9f8de Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Sun, 8 Nov 2026 16:34:02 +0900 Subject: [PATCH 2/2] =?UTF-8?q?build(spotbugs):=20=EC=A0=9C=EC=99=B8=20?= =?UTF-8?q?=EB=AA=A9=EB=A1=9D=EC=9D=B4=20=EC=9D=B4=20repo=20=ED=81=B4?= =?UTF-8?q?=EB=9E=98=EC=8A=A4=EB=A7=8C=20=EB=A7=90=ED=95=98=EA=B2=8C=20?= =?UTF-8?q?=EB=8B=A4=EB=93=AC=EB=8A=94=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 템플릿 제외 목록에서 메시징 줄을 골라 옮기면서, 묶음 Match의 주석이 템플릿 클래스(HttpClientProfileFactory, NotificationJsonMapper, @RequiresPermission 등)를 계속 부른다. 이 repo에 없는 클래스를 읽고 제외 이유를 판단하게 된다. 템플릿의 생성 소스 제외(generated 폴더)도 빠졌다. 주석을 메시징 클래스만 말하게 고치고, 생성 소스 제외 Match를 템플릿과 같이 되살렸다. 클래스를 고르는 Match는 바뀌지 않았다. 위험: 생성 소스 제외는 지금 생성 소스가 없어 아무것도 빼지 않는다. 검증: 이 PR의 pr workflow(./gradlew ci, SpotBugs main·test 포함). --- config/spotbugs/exclude-test.xml | 5 ++-- config/spotbugs/exclude.xml | 42 +++++++++++++++----------------- 2 files changed, 21 insertions(+), 26 deletions(-) diff --git a/config/spotbugs/exclude-test.xml b/config/spotbugs/exclude-test.xml index e371478..24e51d7 100644 --- a/config/spotbugs/exclude-test.xml +++ b/config/spotbugs/exclude-test.xml @@ -68,9 +68,8 @@ - + diff --git a/config/spotbugs/exclude.xml b/config/spotbugs/exclude.xml index 4afb094..e97495b 100644 --- a/config/spotbugs/exclude.xml +++ b/config/spotbugs/exclude.xml @@ -11,6 +11,11 @@ --> + + + + + + copies (MessagingConfigurationCompiler copies into DestinationAccessPolicy and + SchemaPolicy). A settings record that validates a collection in its own constructor copies + it there instead. --> @@ -138,13 +141,9 @@ A final class cannot be attacked this way, and every class that could be made final was. These three groups must stay subclassable. --> - + @@ -155,9 +154,8 @@ + and backtracking is linear, not exponential. The values also check the length (at most + 64-256 characters) before the pattern runs. --> @@ -174,11 +172,10 @@ - + @@ -186,8 +183,7 @@ -