You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[fix] 취소된 공연만 있는 아티스트의 hasUpcomingConcert 오표시 수정 #133
hasUpcomingConcert를 계산할 때 CANCELLED 상태의 공연까지 포함하고 있다. 반면 GET /api/artists/{id}/concerts?tab=upcoming은 취소된 공연을 빼고 내려준다. 두 기준이 서로 달라서, 예정된 공연이 없는데도 플래그가 true로 내려가는 아티스트가 생긴다.
재현: 아티스트 1055(AKASAKI)
공연은 1건(id 218, 2026-11-21 서울)뿐이고, 상태가 CANCELLED다.
GET /api/artists/1055는 hasUpcomingConcert: true를 내려준다.
GET /api/artists/1055/concerts?tab=upcoming은 totalElements: 0을 내려준다.
영향 범위: 2026-10-08 기준 전체 아티스트 1,320명 중 hasUpcomingConcert=true는 40명이고, 이 중 1명이 해당한다. 앞으로 공연이 취소될 때마다 같은 일이 반복된다.
프론트 영향
아티스트 카드와 상세 페이지에 COMING 배지가 잘못 붙는다.
상세 페이지의 D-day 배너는 자리를 잡았다가 조회 결과가 없어 사라진다. 이때 레이아웃이 밀린다 (CLS 데스크톱 0.051, 모바일 0.037).
작업 내용
hasUpcomingConcert 계산 조건에서 CANCELLED 상태 제외 (예정 탭 목록 조건과 일치시키기)
Activity