ES /docs

Api::V1::JobsController#update (avg 11319ms, max 11319ms)

Service
cupixworks-api
Occurrences
793
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
399d22cb-42e7-4900-884e-42c3d3aada6e
First Seen
2026-06-24 11:50 UTC
Last Seen
2026-08-05 00:57 UTC
Actions

Api::V1::JobsController#update (avg 11319ms, max 11319ms)

What Happened#

2026-06-24 20:50 KST 경 cupixworks-api ap-southeast-2 리전에서 PUT /api/v1/jobs/:id (Api::V1::JobsController#update) 요청 1건이 11.3초 동안 처리되어 latency 임계치를 초과했다. 요청은 cupix-agentstate=stopped로 작업 상태를 갱신한 호출이었고, 응답은 200 정상이었다. 11초 중 DB 시간은 267ms (~2.4%) 뿐이며 나머지는 state machine 전이로 인해 동기적으로 실행된 Ruby 콜백 체인이 차지했다.

Quick Facts#

Field Value
exception.class — (latency cluster, no exception)
resource Api::V1::JobsController#update
top_frame app/controllers/api/v1/jobs_controller.rb:13
runtime Ruby on Rails (Sidekiq inline)
deploy production-ap-southeast-2-20260624t0820z0-24b9962e-cupixworks
env production / ap-southeast-2
sample trace_id 3588110070409622913
user_agent cupix-agent
params state=stopped (Capture 3d-reconstruction job 211454)

Affected Teams#

Team / Domain Error Count Impact
built (team 16, ap-southeast-2) 1 3d-reconstruction 완료 보고 API가 11.3초 지연. agent 측 SQS visibility timeout/타임아웃 누적 위험.

Timeline#

  1. 2026-06-24 20:50:51 KST — 클라이언트(cupix-agent)가 PUT /api/v1/jobs/211454state=stopped 전송. 상태 전이 running → stopped 로그 기록.
  2. 2026-06-24 20:50:51 KSTJobCallbackWorker.perform_inline(211454, 'job_stopped_callback') 시작 (after_transition any => :stopped 훅에서 동기 실행).
  3. 2026-06-24 20:50:55 KSTjob_stopped_callback done 로그 기록 (콜백 자체 약 4초 소요).
  4. 2026-06-24 20:51:04.698 KST — HTTP 200 응답 반환. 총 duration=11318.14ms, db=267.38ms.
  5. 2026-06-24 추후 — error-sweeper가 동일 cluster_type=latency 11건을 svc:cupixworks-api::unknown 인시던트로 묶음 (status-board: 2026-06-24-svc-cupixworks-api--unknown-1).

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 15 code refs, 6 log queries
Code path explicitness 3/3 15 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 22 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