fix(comment): 삭제 댓글 v1 응답을 tombstone 으로 (#13174 후속) - #603
Merged
Conversation
TransformToV1Comment 가 삭제 댓글에도 원문·작성자·IP 를 그대로 실었다. 글(maskedDeletedV1Post)과 동일 원칙으로 서버 drop — 스레드 구조에 필요한 id·post_id·depth·created_at 과 deleted_at·self_deleted 만 남긴다. tombstone 에는 edit_count 도 얹지 않는다.
sdk-kr
marked this pull request as ready for review
July 31, 2026 05:01
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.
문제
be#602 가 글 응답의 서버 마스킹을 정리하면서 기록해둔 후속 —
TransformToV1Comment는 삭제 댓글에도 원문·작성자·author_ip 를 그대로 실었다(소비처: v1 댓글 목록 API, live_bridge).변경
id·post_id·content:''·depth·created_at·deleted_at·self_deleted). depth/post_id 는 스레드 구조 유지용deleted_by원값 drop, 판정 결과self_deleted만 (글과 동일)edit_count주입도 tombstone 제외live_bridge 는 자체 tombstone 마스킹이 이미 있고 키 부재에 안전(#602 검증에서 확인).