invoke postprocessor failed on Capture 47027
Summary: invoke postprocessor failed on Capture 47027
결과#
운영 전용(operations-only) 이슈로 판정되어 code-fix 파이프라인을 skip 했다. tesla 서비스 코드 결함이 아니라 rails console / rake 로 실행된 ad-hoc 스크립트가 singleshot capture 를 필터링 · nil-guard 없이 postprocessor 재기동을 시도한 결과다. Jira · worktree · PR 을 생성하지 않는다.
Pull Requests#
| Repo | PR | Branch |
|---|---|---|
| (없음) | -- | -- |
변경 내용#
없음. tesla 리포지토리에는 어떤 diff 도 만들지 않음.
Hand-off (스크립트 실행자)#
아래 항목을 스크립트 실행자에게 전달할 것 (RCA Fix Recommendation → 단기 개선 원문 요약):
- singleshot 필터: 재기동 루프에
next if capture.singleshot?또는next unless capture.reprocessible?추가. 대상 6건(47027 / 47029 / 47032 / 47035 / 47036 / 47037) 은 모두method: singleshot,capture_type: app_no_ar_singleshot로 postprocessor 재기동 대상이 아님. - Job / action nil-guard:
capture.jobs.<scope>.last.actions.*형태로 접근하기 전에next if capture.jobs.where(kind: %w[create_capture create_pano_postprocessor]).blank?로 조기 skip. - 로거 컨벤션:
Cupix::Logger.info(msg, class: self.class.name, function: __method__, capture: { id: capture.id })형태로class·function· 컨텍스트 attribute 지정. 이번 클러스터는class부재로 위치 추적이 크게 지연됐다. - 리포지토리 이관 (선택): 재사용성이 있다면
lib/tasks/tesla/또는app/services/하위 정식 rake task / service 로 커밋해 코드 리뷰 · CI 대상화.
모니터링 (RCA 발췌)#
text
service:cupixworks-worker status:error @error.msg:"undefined method \`actions' for nil"
service:cupixworks-worker status:error "invoke postprocessor failed on Capture"
service:cupixworks-worker @function:reinvoke_post status:error
근거 요약#
git grep "reinvoke_post" 937582c6 -- '*.rb'→ 0 matchesgit grep "invoke postprocessor" 937582c6 -- '*.rb'→ 0 matches- 실패 6건 모두 동일 pid
712734, 동일 초,method: singleshot - 성공 사례(81919 / 81920 / 81968) 는 모두 non-singleshot → capture 종류 종속 실패
Cleanup#
bash
# 워크트리를 생성하지 않았으므로 cleanup 필요 없음.