NoMethodError: undefined method `save_to_s3' for #<TeamPermission:0x0000000001a97418>
Service
cupixworks-api
Occurrences
36
Status
Reported
Confidence
80%
Actionability
44%
Cluster ID
7b01ca78-5972-40d7-9e72-922c9e9ad1d4
First Seen
2024-09-05 05:18 UTC
Last Seen
2026-07-31 02:03 UTC
Actions
NoMethodError: undefined method `save_to_s3' for #<TeamPermission:0x0000000001a97418>
What Happened#
SaveToS3Worker 가 class_name="TeamPermission" 인자로 실행되어 model.save_to_s3 를 호출했으나, TeamPermission 모델은 save_to_s3 를 정의하는 DataWareHouse::FullJson concern 을 include 하지 않아 NoMethodError 가 발생했다. 이 메서드와 enqueue 콜백은 모두 FullJson 안에 있고 해당 concern 은 base 모듈(data_ware_house.rb)에서 주석 처리되어 있다. 즉 현재 코드로는 이 워커가 새로 enqueue 될 수 없으며, 발생 건은 과거에 쌓인 잔여/재시도 job 이 drain 되며 나온 것이다. 23개월간 174건으로 빈도가 매우 낮다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | NoMethodError |
| exception.message | undefined method 'save_to_s3' for #<TeamPermission:0x0000000001a97418> |
| top_frame | app/workers/save_to_s3_worker.rb:9 |
| runtime | Ruby on Rails (Sidekiq worker, queue save_to_s3, retry 1) |
| deploy | suspend commit cc7f41057 (TSLA-9011, 2025-03-07) |
| env | production (cupixworks-api / cupixworks-worker, tesla repo) |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cupixworks-worker (data warehouse S3 export) | 174 (23개월 누적) | 잔여 SaveToS3Worker job 실패. 사용자 대면 기능 영향 없음. data warehouse full-JSON 업로드는 TSLA-9011 로 이미 의도적으로 중단됨 |
Timeline#
- 2024-09-05 14:18 KST — 최초 발생 (
first_seen). 이 시점에 이미TeamPermission은save_to_s3에 응답하지 않았음 - 2025-03-07 09:33 KST — 커밋
cc7f41057(TSLA-9011) 이 base 모듈에서include ::DataWareHouse::FullJson을 주석 처리, full-JSON S3 업로드를 명시적으로 suspend - 2026-07-31 11:03 KST — 최근 발생 (
last_seen). 잔여/재시도 job 이 drain 되며 산발적으로 재현 - 2026-08-04 — RCA 수행. Datadog 14일 로그 검색에서 매칭 로그 0건,
save_to_s3큐 items 0
Scoring#
Confidence 80% · Actionability 44%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 13 code refs, 7 log queries |
| Code path explicitness | 3/3 | 13 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 | 5/5 | trivial |
| Affected files | 1/5 | 15 file(s) |
| Single repo | 1/3 | 4 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 |