ES /docs

BaseService::handlingMessageErrors | Error and message object - {"error":{"statusCode":400,"requestU

Service
cupixworks-capture-singleshot-agent
Occurrences
3
Status
Reported
Confidence
85%
Actionability
28%
Cluster ID
7bcc6522-638a-4849-8000-084e09a6f640
First Seen
2026-07-01 03:51 UTC
Last Seen
2026-07-15 04:35 UTC
Actions

BaseService::handlingMessageErrors | Error and message object - {"error":{"statusCode":400,"requestU

What Happened#

2026-07-01 12:51 KST, cupixworks-capture-singleshot-agent(us-west-2, production)이 capture 725649 / pano 90901091 처리 도중 PUT /api/v1/panos/90901091/stitched 호출에서 400 STAT10000 "Pano already stitched"를 받아 SQS 메시지 처리를 실패로 종료했다. 단일 capture 1건에서만 발생한 이벤트로, 실제 스티칭 자체는 성공했으나 후속 S3 리소스 shift 단계에서 발생한 502를 클라이언트가 재시도하면서 이미 stitched=true로 커밋된 상태를 다시 호출해 발생한 결과다.

Quick Facts#

Field Value
exception.class Cupix::Errors::InvalidState (STAT10000)
exception.message Pano already stitched
top_frame app/repositories/pano_repository.rb:38 (surfaced by packages/base/src/base-service.ts:311)
runtime Node.js agent (@agents/base) calling Rails API api-tesla.cupix.internal
env production, region us-west-2

Affected Teams#

Team / Domain Error Count Impact
chrischoi (singleshot agent) 1 Capture 725649 singleshot 파이프라인 완료 처리 실패 (SQS 메시지 삭제 후 singleshot_state=stopped로만 마감)

Timeline#

  1. 2026-07-01 12:50:39 KST — SQS 메시지 수신, runByMessage | id: 725649 (capture 로드 시작)
  2. 2026-07-01 12:50:40 KSTrunAlign | begin | captureId: 725649, workspace: /tmp/workspace/725649
  3. 2026-07-01 12:50:45 KSTrunAlign | pano downloaded | id: 90901091 ... 90901091.insp
  4. 2026-07-01 12:51:02 KSTrunAlign | stitched pano copied | panoId: 90901091 ... 90901091_stitched.jpg (스티칭 산출물 워크스페이스 확보)
  5. 2026-07-01 12:51:27 KST — 첫 번째 PUT /api/v1/panos/90901091/stitched[502] Aws::S3::Errors::InvalidRequest: This copy request is illegal because it is trying to copy an object to itself. Tesla API는 pano.stitched=true를 커밋한 뒤 shift_stitched_panorama!의 S3 copy_to에서 예외로 502 반환.
  6. 2026-07-01 12:51:28 KST — 에이전트가 retryable(statusCode > 500) 규칙에 따라 재시도. Tesla API 응답 [400] STAT10000 "Pano already stitched".
  7. 2026-07-01 12:51:26 KSTCupixAuth::handleError warn / BaseService::getApiErrorToDeleteMessage warn / BaseService::handlingMessageErrors error 순으로 클러스터 대표 로그 기록, SQS 메시지 삭제 및 cleanUpAnythingRelatedModel.

Scoring#

Confidence 85% · Actionability 28%

Confidence#

Dimension Score Detail
Evidence completeness 5/5 16 code refs, 7 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 1/5 critical
Affected files 1/5 14 file(s)
Single repo 1/3 13 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