Repository navigation
fix(build): netty 보안 하한을 AGP UTP 설정까지 확장 — 릴리스 PR dependency-review high 8건 해소 (closes 1058) [base: develop] - #1060
Merged
Merged
Conversation
루트 buildscript classpath 에만 BOM 을 걸어 둔 탓에 AGP 가 만드는 unified-test-platform-core(com.google.testing.platform:core -> grpc-netty 1.57.2)와 unified-test-platform-android-test-plugin-host-emulator-control (com.android.tools.emulator:proto -> grpc-netty 1.69.1)은 여전히 4.1.93·4.1.110 을 해석하고 있었다. develop 스냅샷에 남은 이 구버전이 릴리스 PR #1025 의 dependency-review 를 high 8건으로 실패시킨다. platform() BOM 은 android-reverse-meta-data usage 에서 변형을 못 찾아 리졸브를 깨뜨리지만 평범한 constraint 는 그렇지 않다. 전 프로젝트 × 전 configuration 을 실행 시점에 리졸브한 실측 — 적용 전 netty 584건 중 572건이 4.1.93·4.1.110, 적용 후 584건 전부 4.1.137.Final, 리졸브 오류 0건. closes #1058
koongmai
approved these changes
Aug 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1058
무엇이 문제였나
#1003 이 #975~#980 을 닫으며 netty 를
4.1.137.Final로 올렸지만, 하한이 루트 buildscript classpath 에만 걸려 있었다. AGP 가 만드는 UTP 설정 2종은 그 밖이라 여전히 구버전을 해석하고 있었고, develop 스냅샷에 남은 이 구버전이 릴리스 PR #1025 의Review dependency changes를 high 8건(netty-codec·netty-codec-http·netty-codec-http2·netty-handler의 4.1.93·4.1.110)으로 실패시킨다.unified-test-platform-corecom.google.testing.platform:core:0.0.9-alpha04→io.grpc:grpc-netty:1.57.2unified-test-platform-android-test-plugin-host-emulator-controlcom.android.tools.emulator:proto:32.2.1→io.grpc:grpc-netty:1.69.1buildscript.classpath무엇을 했나
securityFloors목록에 netty 11개 모듈을 평범한 constraint 로 추가했다. #1003 이 «BOM 을 allprojects 하한에 걸면 AGP 의 android-reverse-meta-data usage 가 platform 변형을 못 찾아 리졸브가 깨진다» 며 루트로 물러난 제약은platform()에만 해당한다 — 일반 constraint 는 그 문제를 일으키지 않는다(아래 실측에서 리졸브 오류 0건).이 사실이 틀린 채로 남아 있던 주석 2곳(«netty 는 루트 buildscript classpath 에만 있고 전 프로젝트 실측 53건 전부 여기»)도 실측대로 고쳤다.
검증
전 프로젝트 × 전 configuration 을 실행 시점에 리졸브하는 스캔(init script)으로 실측했다. 설정 시점 리졸브는 Gradle 9 가 막고, AGP 의 UTP 설정은 뒤늦게 생겨 설정 시점 스캔으로는 애초에 안 잡힌다.
efbb1256c)argument-list-wrapping1차 반려 → 한 줄 한 항목으로 수정)../gradlew :app:compileDebugKotlin— BUILD SUCCESSFUL.build.gradle.kts한 파일뿐.리뷰어에게
releaseRuntimeClasspath0건 실측과 동일 성격). netty 4.1 은 마이너 간 바이너리 호환이라 grpc-netty 1.57.2/1.69.1 과 함께 4.1.137 을 쓰는 데 문제 없다.dependency-submission.yml이push: branches: [develop]만 제출하기 때문으로, chore(ci): dependency-graph job correlator 불일치 — develop base PR 의 dependency-review 가 의존성 전량을 신규 도입으로 오탐 #1009 와 같은 문제가 ref 만 바꿔 재현된 것이다. 이번 수정으로 high 가 사라져 release: develop 누적 145커밋을 main 릴리스 후보로 반영 [base: main] #1025 는 통과하지만 구조 자체는 그대로다.