ES /docs

processing 'phase_metric.created' failed: wrong number of arguments (given 1, expected 0)

Service
cupixworks-api
Occurrences
18
Status
Reported
Confidence
85%
Actionability
60%
Cluster ID
acd74f22-c854-4f90-b005-3f07b9bcaa3b
First Seen
2026-07-13 05:51 UTC
Last Seen
2026-07-28 00:57 UTC
Actions

processing 'phase_metric.created' failed: wrong number of arguments (given 1, expected 0)

What Happened#

2026-07-13 14:51 KST (ap-southeast-1, production) cupixworks-api 에서 PhaseMetric 레코드가 생성될 때 발행되는 phase_metric.created pub/sub 알림이 subscriber 로 전달되는 과정에서 ArgumentError 가 발생했다. Cupix::PubSub::Subscribers::ElementRecordSynchronizer#created 는 인자 0개를 받도록 정의되어 있는데, base subscriber 는 항상 ActiveSupport::Notifications::Event 를 1개 넘긴다. 두 건이 14초 간격으로 관측되었다.

Quick Facts#

Field Value
exception.class ArgumentError
exception.message wrong number of arguments (given 1, expected 0)
top_frame lib/cupix/pub_sub/subscribers/element_record_synchronizer.rb:5
env production, ap-southeast-1

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api / SiteInsights (PhaseMetric) 2 PhaseMetric 생성 시 SiteInsights element record 동기화 실패 — ElementRecordMetaSyncWorker 가 enqueue 되지 않음

Timeline#

  1. 2026-07-13 14:51:50 KST — 첫 번째 phase_metric.created 알림 처리 실패 (ArgumentError)
  2. 2026-07-13 14:52:04 KST — 두 번째 실패, 이후 관측 없음
  3. 2026-07-13 (RCA) — code path 확인 및 원인 특정

Scoring#

Confidence 85% · Actionability 60%

Confidence#

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