ES /docs

Api::V1::ReviewsController#bulk_share (avg 8675ms, max 8675ms)

Service
cupixworks-api
Occurrences
45
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
301a6788-6f07-4abd-b1ba-9a770e2de0c9
First Seen
2026-05-27 05:25 UTC
Last Seen
2026-06-23 15:49 UTC
Actions

Api::V1::ReviewsController#bulk_share (avg 8675ms, max 8675ms)

What Happened#

2026-05-27 05:25 UTC에 cupixworks-api 서비스의 PUT /api/v1/reviews/share 엔드포인트에서 단일 요청이 8,675ms 소요되었다. 이 요청은 3개의 Review를 새 사용자에게 공유하는 과정에서, 신규 사용자를 AWS Cognito에 동기적으로 생성하고, notification recipe를 순차적으로 생성하며, permission cascade를 처리하느라 응답 시간이 크게 지연되었다.

Quick Facts#

Field Value
resource_name Api::V1::ReviewsController#bulk_share
top_frame app/controllers/concerns/share_controller.rb:62
duration 8675ms (DB: 432ms, app: ~8243ms)
env production, us-west-2
deploy production-us-west-2-20260527t0524z0-650f3601-cupixworks

Timeline#

  1. 05:25:04ZPUT /api/v1/reviews/share 요청 수신 (3 reviews, 1 new email)
  2. 05:25:07Z — 신규 사용자 Cognito 생성 완료 (~2.9s)
  3. 05:25:07Z — Segment event 전송, PubSub 이벤트 발행
  4. 05:25:10~11Z — FacilityPermission 생성 → PubSub UserRecipeGenerator 트리거 → notification recipe 3건 순차 생성 (~5.5s)
  5. 05:25:13Z — Permission flush, event publish, 응답 반환 (HTTP 200)

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 34 file(s)
Single repo 1/3 2 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