ES /docs

Api::V1::Admin::QuotesController#apply (avg 4023ms, max 4023ms)

Service
cupixworks-api
Occurrences
1
Status
Reported
Confidence
80%
Actionability
36%
Cluster ID
184b2238-7176-476f-b080-be1a6fe67b16
First Seen
2026-05-31 09:02 UTC
Last Seen
2026-05-31 09:02 UTC
Actions

Api::V1::Admin::QuotesController#apply (avg 4023ms, max 4023ms)

What Happened#

2026-05-31 18:02:59 KST에 Api::V1::Admin::QuotesController#apply 엔드포인트가 4023ms의 응답 시간을 기록했다. Quote VC96VIAR7O를 Team 323에 적용하는 과정에서, after_active_billing_state 콜백이 Team 소속 50개 이상의 Workspace에 대해 개별적으로 reset_billing!을 호출하면서 cascading state transition이 발생했다.

Quick Facts#

Field Value
resource_name Api::V1::Admin::QuotesController#apply
avg_duration 4023ms
top_frame app/models/quote.rb:78 (apply!)
env production, us-west-2
quote_number VC96VIAR7O
billable Team 323

Timeline#

  1. 2026-05-31 18:02:59 KST — Quote application begins (Team 323)
  2. 2026-05-31 18:02:59 KST — Deactivate existing products, add team products, update billing_info
  3. 2026-05-31 18:02:59 KST — Activate billing state → after_active_billing_state 콜백 시작
  4. 2026-05-31 18:02:59~18:03:01 KST — 50+ Workspace billing_state 개별 리셋 (none → none 전환)
  5. 2026-05-31 18:03:03 KST — Quote state changed paid → applied
  6. 2026-05-31 18:03:03 KST — Quote application finished

Scoring#

Confidence 80% · Actionability 36%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 20 code refs, 2 log queries
Code path explicitness 3/3 20 file:line refs
Log evidence 2/3 section, query
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 14 file(s)
Single repo 1/3 3 service(s)
Immediate actions 0/3 absent
Testability 0/3 no test info
External dependency 3/3 no external deps
Data migration 3/3 no migration