ES /docs

Quote#schedule_apply! logs validation errors as ERROR — missing exception filtering

Service
cupixworks-api
Occurrences
2
Status
Approved
Confidence
85%
Actionability
60%
Cluster ID
79f45086-41ca-4b4c-8307-5dc5101d4294
First Seen
2026-07-21 15:54 UTC
Last Seen
2026-07-21 22:45 UTC
Actions
현재 상태 approved 에서는 실행할 액션이 없습니다.

Quote#schedule_apply! logs validation errors as ERROR — missing exception filtering

What Happened#

2026-07-22 00:54 KST 경 cupixworks-api (production, ap-southeast-2) 에서 back-office 담당자가 PUT /api/v1/admin/quotes/{id}/apply 로 미래 시작일(2026-07-29) 의 Quote 를 Workspace 530 에 적용하려다 BILL10000 — Billable already has a scheduled quote: 870 로 실패했다. 직전 00:53 에 이미 다른 Quote(number R3B14IOIQL, id 870) 가 같은 Workspace 에 스케줄된 상태였기 때문이다. 이후 약 15분 동안 담당자가 6개의 서로 다른 Quote 로 재시도하며 동일 에러가 반복되어 총 7건이 error 로그로 남았다.

Quick Facts#

Field Value
exception.class Cupix::Errors::Billing
exception.message Billable already has a scheduled quote: 870
error.code BILL10000
top_frame app/models/quote.rb (schedule_apply!)
env production / ap-southeast-2
tenant cupix
HTTP status 400 (PUT /api/v1/admin/quotes/{id}/apply)

Affected Teams#

Team / Domain Error Count Impact
Back office / Accounting (Retool) 7 (Workspace 530 대상 반복 재시도) 미래 시작일 Quote 를 적용하지 못해 라이선스 발급 워크플로우가 15분간 진행되지 않음. 실제 서비스 사용자 영향 없음.

Timeline#

  1. 2026-07-22 00:53:07 KST — Quote R3B14IOIQL (id 870) 가 Workspace 530 에 Schedule quote application for 2026-07-29 로 정상 등록됨 → workspace.scheduled_quote_id = 870 세팅.
  2. 2026-07-22 00:54:03 KST — Quote GYVGXJU55F 로 재적용 시도 → Billable already has a scheduled quote: 870 (본 클러스터의 first_seen).
  3. 2026-07-22 00:54:19 KST — Quote M9X89PV6G6 (id 874) 재시도 → 동일 에러.
  4. 2026-07-22 00:55:27 KST — Quote ZT5TKAT9CA (id 876) 재시도 → 동일 에러.
  5. 2026-07-22 00:58:15 KST — Quote F43544W7U8 (id 878) 재시도 → 동일 에러.
  6. 2026-07-22 01:06:13 KST — Quote VA8VQHH64X (id 880) 재시도 → 동일 에러.
  7. 2026-07-22 01:06:49 KST — Quote N7KE58TH44 (id 884) 재시도 → 동일 에러.
  8. 2026-07-22 01:08:37 KST — Quote U5XQ1208JW (id 886) 재시도 → 동일 에러. 이후 재시도 중단.

Scoring#

Confidence 85% · Actionability 60%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 4 code refs, 5 log queries
Code path explicitness 3/3 4 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 5/5 trivial
Affected files 1/5 9 file(s)
Single repo 1/3 2 service(s)
Immediate actions 0/3 absent
Testability 2/3 test mentioned
External dependency 3/3 no external deps
Data migration 3/3 no migration