Repository navigation
refactor(core): app·core·afternote·receiver·setting 의 runCatchingCancellable 을 core:domain 경로로 바꾼다 (#2267) - #2269
Merged
Conversation
This was referenced Oct 5, 2026
Contributor
|
열린 PR 중 이 PR 과 같은 파일을 서로 다르게 고친 것이 있다. 어느 쪽이 먼저 머지되든 나중 쪽은 base 를 병합해야 통과한다 (#1750).
머지 자체는 GitHub 이 막는다 — 한쪽이 들어가면 다른 쪽은 CONFLICTING 이 되어 merge queue 에 못 들어간다. 이 코멘트는 리컨사일러가 매 실행 현재 상태로 고쳐 쓴다. 해소되면 |
Sadturtleman
approved these changes
Oct 5, 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.
먼저
feature/setting/domain/.../UpdateReceiverInfoUseCase.kt를 읽어 주세요. 나머지 31개 파일은 import 한 줄씩만 바뀝니다.📌𝘐𝘴𝘴𝘶𝘦𝘴
📎𝘞𝘰𝘳𝘬 𝘋𝘦𝘴𝘤𝘳𝘪𝘱𝘵𝘪𝘰𝘯
runCatchingCancellable을 core:domain 으로 옮긴 뒤, 1hyok 담당 모듈의 옛 경로 import 를com.afternote.core.domain.result.runCatchingCancellable로 바꿨습니다. app 4, core/data 9, feature/afternote 7(data 4·presentation 3), feature/receiver/data 4, feature/setting/presentation 7 입니다. setting 은 fix(setting): 화면 종료 시 저장소 호출 취소를 전파 (#1501) #2128 머지로 이슈 작성 때보다 2개 늘었습니다.UpdateReceiverInfoUseCase의 손으로 짠try / catch (CancellationException) { throw } / catch (Throwable)두 곳을runCatchingCancellable로 바꿨습니다. 포착 범위(취소를 뺀 모든Throwable)와 두 쓰기 사이의ensureActive()는 그대로이고,ReceiverSavePolicyTest10건이 그 동작을 계속 잠급니다.검증
:app:compileDebugKotlin,:app:compileDebugUnitTestKotlin,:app:compileDebugAndroidTestKotlin,:konsist:test(56건) 통과🧪 CI Test Plan
{ "androidTest": { "mode": "none", "reason": "같은 함수의 import 경로만 바꾸고 UseCase 한 곳의 try/catch 를 같은 동작의 함수 호출로 바꿨다. 화면·네비게이션·매니페스트·androidTest 소스 변경이 없고, 바뀐 UseCase 동작은 JVM 단위 테스트가 잠근다.", "tests": [] } }📷𝘚𝘤𝘳𝘦𝘦𝘯𝘴𝘩𝘰𝘵
화면 변경 없음
💬𝘛𝘰 𝘙𝘦𝘷𝘪𝘦𝘸𝘦𝘳𝘴
core:common 의 Deprecated 위임 함수는 다른 모듈이 아직 쓰고 있어 이 PR 에서 지우지 않습니다.
Generated by Claude Code