fix(notification): 알림 문서와 NOTIF-ADR을 test의 입력으로 선언한다

NotificationReleaseGateTest(알림 leaf의 `test`)는 docs/notification의
문서와 docs/adr의 NOTIF-ADR 넷이 있는지 본다. 그 파일들이 test 태스크의
입력이 아니어서, ADR을 옮기거나 지워도 Gradle이 태스크를 up-to-date나
캐시로 끝내고 시험이 다시 돌지 않았다. 지운 notification-platform.yml의
경로 필터가 docs/adr/로 옮긴 ADR을 못 보던 것과 같은 빈틈이다.

두 경로를 test의 입력으로 선언한다. 이 시험은 `ci` → `prCheck` 안에서
경로 필터 없이 매 PR 돈다(--dry-run 계획으로 확인).

검증: desktop PR 단계.
This commit is contained in:
DongHyeonka
2026-11-08 21:55:43 +09:00
parent 61b1d57515
commit b9866407ca
@@ -108,6 +108,18 @@ apiSurface {
]
}
// NotificationReleaseGateTest (pull-request `test`) requires the notification documents and the
// NOTIF-ADR records to exist. They are inputs of `test`, or a moved or deleted ADR would leave the
// task up to date and its absence unseen — the path filter of the workflow that used to run the
// notification tests had the same blind spot once the ADRs moved to docs/adr/.
tasks.named('test') {
inputs.dir(rootProject.file('../docs/notification')).withPropertyName('notificationDocuments')
.withPathSensitivity(PathSensitivity.RELATIVE)
inputs.files(fileTree(rootProject.file('../docs/adr')) { include 'NOTIF-ADR-*' })
.withPropertyName('notificationAdrs')
.withPathSensitivity(PathSensitivity.RELATIVE)
}
// NotificationEvidenceVerifierTest's repository case holds docs/notification/evidence-manifest.json,
// the support matrix it grades and the evidence files it names to each other. A comparison with
// repository documents, so it runs in this leaf's `mainCheck`, not in the pull-request `test`