Migration - rerun pano postprocessor: migration id(1772) / error(undefined method `size' for nil)
Service
cupixworks-migration-worker
Occurrences
38
Status
Reported
Confidence
80%
Actionability
40%
Cluster ID
a9f3dffb-06a4-4921-94a8-dbf40658b9dd
First Seen
2026-07-07 11:41 UTC
Last Seen
2026-07-07 20:55 UTC
Actions
Migration - rerun pano postprocessor: migration id(1772) / error(undefined method `size' for nil)
What Happened#
2026-07-07 KST에 cupixworks-migration-worker 의 MigrationReprocessWorker 가 migration id 1772 에 대해 pano 후처리 재실행 단계를 수행하다가 MigrationReprocessOperation#rerun_pano_postprocessor 에서 NoMethodError: undefined method 'size' for nil 이 발생했습니다. 이 migration 은 record/capture 없이 level·floorplan·workarea 만 이전한 케이스로, changed_key[:capture_id] 가 nil 인 상태에서 .size 를 호출했기 때문에 발생했습니다. 예외는 operation 내부에서 rescue 되어 worker 는 result: success 로 마감되었지만, pano 후처리 단계가 사실상 no-op 이라는 사실이 로그에서 은폐되었습니다.
Quick Facts#
| Field | Value |
|---|---|
| exception.class | NoMethodError |
| exception.message | undefined method `size' for nil |
| top_frame | app/operations/migration_reprocess_operation.rb:13 |
| env | production, us-west-2 |
| tenant | cupix |
Affected Teams#
| Team / Domain | Error Count | Impact |
|---|---|---|
| cupixworks-migration-worker (Migration) | 1 | migration 1772 (facility 21385) 재처리 배치 진입 실패. capture 가 없어 실제 영향은 no-op 이지만 에러 로그로 남고, worker 는 success 로 오귀결됨 |
Timeline#
- 2026-07-07 16:58 KST —
ImportWorker가 facility 21385 에 대해 migration 1772 의 import 단계를 마침.record ids([]),capture ids([])— 실제 이전된 record/capture 없음. - 2026-07-07 16:58 KST —
ImportWorker가MigrationReprocessWorker.perform_in(10.minute, data.to_json)로 pano 후처리 재실행을 예약 (import_worker.rb:225). - 2026-07-07 20:41:04 KST —
MigrationReprocessWorker#perform시작. - 2026-07-07 20:41:04 KST —
MigrationReprocessOperation#rerun_pano_postprocessor에서@changed_key[:capture_id].size평가 중NoMethodError발생, operation 의rescue StandardError가 삼킴. - 2026-07-07 20:41:04 KST — worker 는 예외를 인지하지 못하고
Migration reprocess success로그를 남기며 완료.
Scoring#
Confidence 80% · Actionability 40%
Confidence#
| Dimension | Score | Detail |
|---|---|---|
| Evidence completeness | 5/5 | 19 code refs, 3 log queries |
| Code path explicitness | 3/3 | 19 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 | 13 file(s) |
| Single repo | 1/3 | 2 service(s) |
| Immediate actions | 0/3 | absent |
| Testability | 0/3 | no test info |
| External dependency | 3/3 | no external deps |
| Data migration | 0/3 | migration needed |