ES /docs

Api::V1::CapturesController#analysis_done_callback (avg 11111ms, max 11111ms)

Service
cupixworks-api
Occurrences
6
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
a5dda06e-9e7f-4781-9e90-143fbdf38467
First Seen
2026-07-28 22:04 UTC
Last Seen
2026-08-04 21:37 UTC
Actions

Api::V1::CapturesController#analysis_done_callback (avg 11111ms, max 11111ms)

What Happened#

2026-07-29 07:04 KST 무렵 cupixworks-api 의 Api::V1::CapturesController#analysis_done_callback 엔드포인트에서 2건의 요청이 평균 11.1초의 응답 지연을 기록했다. 콜백 자체는 정상적으로 204 응답을 반환했지만, controller path 안에서 done_analysis_state! 상태 전이 후 after_transition hook 이 동기적으로 CreateSiLiteSyncJob AR 레코드 생성 + AWS SQS send_message 호출까지 수행하는 구조 때문에 다운스트림 지연이 요청 시간에 그대로 반영되었다. 500 에러는 발생하지 않았고, 유사 콜백 대다수는 초 이하로 응답하고 있어 systematic bug 가 아닌 transient latency 로 판단된다.

Quick Facts#

Field Value
resource_name Api::V1::CapturesController#analysis_done_callback
top_frame app/controllers/api/v1/captures_controller.rb:116-136
avg_duration_ms 11376.7
max_duration_ms 11111
status_code 204 (성공)
env production, us-west-2

Affected Teams#

Team / Domain Error Count Impact
capture-analysis (cupixworks-api) 2 analysis_done 콜백 수신 지연 — 업스트림 (pano vectorize agent) 이 재시도할 위험

Timeline#

  1. 2026-07-29 07:04:08 KST — capture 743234 의 analysis_done_callback 요청 도착
  2. 2026-07-29 07:04:08 KST — capture 743234: 동일 요청 내에서 SI Lite job 생성 + SQS 전송 + 204 응답 완료 (sub-second, 정상 case)
  3. 2026-07-29 07:04:08 KST — capture 744140 의 analysis_done_callback 요청 도착 (추정)
  4. 2026-07-29 07:04:13 KST — capture 744140: SI Lite sync job is created for capture 744140. job_id: 1233554 (요청 시작 후 약 5초 경과)
  5. 2026-07-29 07:04:17 KST — capture 744140: Sending message to https://sqs.us-west-2.amazonaws.com/002596530511/cupix-si-lite-agent-production (job 생성 후 약 4초 경과)
  6. 2026-07-29 07:04:19 KST — capture 744140: si_lite_state 전이 완료 + analysis_done_callback | done on 744140 + [204] 반환 (SQS log 후 약 2초 경과, 총 약 11초)

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 20 code refs, 6 log queries
Code path explicitness 3/3 20 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 16 file(s)
Single repo 1/3 4 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