ES /docs

Cupix::Errors::System: failed to add partition - error: 500 Internal Server Error

Service
cupixworks-api
Occurrences
25
Status
Reported
Confidence
85%
Actionability
16%
Cluster ID
2af87e61-4794-4fad-94db-452eb25c8424
First Seen
2025-09-24 21:14 UTC
Last Seen
2026-08-04 20:52 UTC
Actions

Cupix::Errors::System: failed to add partition - error: 500 Internal Server Error

What Happened#

cupixworks-api(tesla)의 PUT /api/v1/captures/{id}/check_voxels_uploading 요청 처리 중, voxel state 가 done 으로 전이되는 before_transition 콜백에서 Cupix::VoxelService.add_partition 이 downstream voxel Lambda 를 호출한다. Lambda 가 Athena ALTER TABLE ... ADD PARTITION 쿼리 실패로 500 을 반환하면, tesla 는 이를 재시도 없이 hard error(Cupix::Errors::System SYS20000)로 raise 하여 전이 자체가 중단되고 클라이언트에 500 이 반환된다. 2025-09-25 부터 약 10개월간 지속적으로 25회 발생했다.

Quick Facts#

Field Value
exception.class Cupix::Errors::System
exception.message failed to add partition - error: 500 Internal Server Error
exception.code SYS20000
top_frame app/services/cupix/voxel_service.rb:128
endpoint PUT /api/v1/captures/{id}/check_voxels_uploading
downstream voxel Lambda add_partition.py (data-pipeline-functions)
env production

Affected Teams#

Team / Domain Error Count Impact
cupixworks-api (voxel upload) 25 (10개월 누적) voxel 업로드 완료 확인 요청이 500 으로 실패, voxel state 가 done 으로 전이되지 못함

Timeline#

  1. 2025-09-25 06:14 KST — 최초 발생 (first_seen)
  2. 2026-07-22 ~ 2026-08-02 — 최근 14일 창에서 약 11건의 error 로그 반복 확인
  3. 2026-08-02 09:42 KST — 최근 발생 (last_seen), capture 742991 에서 동일 메시지
  4. 2026-08-04 — RCA 수행

Scoring#

Confidence 85% · Actionability 16%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 18 code refs, 4 log queries
Code path explicitness 3/3 18 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 1/5 critical
Affected files 1/5 21 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 0/3 migration needed