ES /docs

PanoRepository#default_joins — unnecessary 10+ table joins

Service
cupixworks-api
Occurrences
6,222
Status
Dismissed
Confidence
85%
Actionability
28%
Cluster ID
227f48bd-a9a7-4261-9d8c-9548ecbd2b3e
First Seen
2026-05-12 05:12 UTC
Last Seen
2026-06-15 23:13 UTC
Actions
현재 상태 dismissed 에서는 실행할 액션이 없습니다.

PanoRepository#default_joins — unnecessary 10+ table joins

What Happened#

2026-05-12 05:12~05:19 UTC 사이에 cupixworks-api 서비스의 Api::V1::PanosController#check_uploading 엔드포인트에서 평균 647ms, 최대 889ms의 응답 지연이 발생했다. ap-southeast-2와 us-west-2 리전에서 총 55건의 느린 요청이 감지되었다. 모든 요청은 HTTP 200으로 정상 응답하였으나, 500ms 이상의 지연이 지속적으로 관찰되었다.

Quick Facts#

Field Value
resource_name Api::V1::PanosController#check_uploading
top_frame app/models/concerns/storagable/resource.rb:167
env production (ap-southeast-2, us-west-2)

Affected Teams#

Team / Domain Error Count Impact
hawkins 20+ cupix-agent 배치 업로드 중 check_uploading 폴링 지연 (886ms 최대)
toyoeng ~15 업로드 확인 폴링 지연 (601-676ms)
qatest3 ~15 업로드 확인 폴링 지연 (666-728ms)

Timeline#

  1. 05:12:07Z — 첫 번째 느린 check_uploading 요청 감지
  2. 05:19:44Z — 마지막 느린 요청 감지 (약 7.5분간 지속)
  3. 05:19:54Z — 같은 시간대 PanosController#bulk 요청 6.9초 소요 (DB 1.3초), ap-southeast-2 호스트에서 심한 부하 발생
  4. 2026-05-12 — RCA 분석 수행

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 18 code refs, 4 log queries
Code path explicitness 3/3 18 file:line refs
Log evidence 3/3 section, query, pattern
RCA structure 3/3 3/3 sections
Revision history 0/3 0 revision(s)
Agent execution 3/3 success

Actionability#

Dimension Score Detail
Fix complexity 1/5 critical
Affected files 1/5 28 file(s)
Single repo 1/3 3 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 1/3 external deps found
Data migration 3/3 no migration