ES /docs

ProgressSerializer attribute block arity mismatch with fast_jsonapi

Service
cupixworks-worker
Occurrences
80
Status
Reported
Confidence
85%
Actionability
44%
Cluster ID
d2a2ad6c-3b54-4f56-86ff-de7cde5d8c12
First Seen
2026-06-06 11:16 UTC
Last Seen
2026-06-23 12:32 UTC
Actions

ProgressSerializer attribute block arity mismatch with fast_jsonapi

What Happened#

2026-06-06 ~ 06-07 기간 동안 cupixworks-worker의 FinalizeTransferWorker에서 Progress 모델의 Elasticsearch 인덱싱 시 ArgumentError: wrong number of arguments (given 1, expected 0) 에러가 13회 발생했다. Transfer 작업 완료 후 Progress 레코드를 ES에 색인하는 과정에서 ProgressSerializer의 잘못된 attribute 선언(&:record_complete_at)이 fast_jsonapi의 arity 기반 dispatch 로직과 비호환하여 에러가 발생하는 latent bug이다.

Quick Facts#

Field Value
exception.class ArgumentError
exception.message wrong number of arguments (given 1, expected 0)
top_frame app/models/concerns/properties/progress.rb:91
runtime Ruby 3.3.7 / Rails 7.2.2 / fast_jsonapi 1.5
deploy production-us-west-2-20260605T0515Z0-8562b202-cupixworks
env production, us-west-2

Affected Teams#

Team / Domain Error Count Impact
Transfer / Facility 13 Progress 문서 Elasticsearch 인덱싱 실패, 검색 결과 불일치

Timeline#

  1. 2026-06-06 20:16 KST — 최초 발생 (Transfer 837, JID cb1e660c35a5b7a2b1e36d75)
  2. 2026-06-06 21:00 ~ 22:59 KST — 동일 패턴 반복 발생 (Transfer 840~844)
  3. 2026-06-07 21:57 KST — 최근 발생 (Transfer 845, JID ba61aaf2361597657d8fb643)
  4. 2026-06-07 KST — Error Sweeper 감지 및 RCA 분석 완료

Scoring#

Confidence 85% · Actionability 44%

Confidence#

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