Skip to content

fix(afternote): 수신자 인증·곡 검색 data 계층 runCatching 취소 소비 — #661 잔여 3파일 #671

Closed

Description

@OnlyReadOneBook

📜 Overview (Required)

feature/afternote/data 의 수신자 인증·곡 검색 Repository 구현 3파일이 suspend 호출을 runCatching 으로 감싸고 있어, CancellationException 이 Result.failure 로 소비되고 코루틴 취소가 상위로 전파되지 않는다. 취소된 코루틴에서 호출부의 onFailure 갈래가 실행된다.

실측 11곳 (2026-08-01):

  • ReceiverAuthRepositoryImpl 9곳
  • ReceiverRepositoryImpl 1곳
  • MusicSearchRepositoryImpl 1곳

#661 에서 같은 정정을 하려 했으나, 위 3파일은 아직 열린 PR 3건(#605·#621·#655)이 동시에 건드리는 중이라 이번 범위에서 제외했다. 그 PR 들이 develop 에 들어간 뒤 core:common 의 runCatchingCancellable 로 교체한다.

📌 Child Issue(Optional)

No response

📍 Note (Optional)

Metadata

Metadata

Labels

bugSomething isn't working

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions