Skip to content

fix: Object Storage put 실패 시 오류 원인 반환 및 화면 표시 - #132

Merged
minyeongyang-max merged 4 commits into
cloud-barista:mainfrom
NamutechCloudrnd:main
Oct 15, 2026
Merged

minyeongyang-max merged 4 commits into
cloud-barista:mainfrom
NamutechCloudrnd:main

Conversation

@minyeongyang-max

Copy link
Copy Markdown
Contributor

Summary of Changes

Object Storage 데이터 put(업로드) 작업에서 일부 객체가 실패해도 성공으로 보고되던 문제를 수정했습니다. 백엔드가 실패 원인을 응답에 반환하도록 바꾸고, 프론트엔드가 그 원인을 요약 Alert + Result 패널로 사용자에게 표시하도록 했습니다.

PR Type

What kind of changes does this PR introduce? (Please check the relevant boxes and select the type.)

  • Add: Add a new feature
  • Fix: Fix a bug
  • Style: Change user UI design (CSS, etc.)
  • Chore: Changes that do not affect the code (typo fixes, tab size changes, variable name changes)
  • Refactor: Code refactoring
  • Docs: Add or modify comments and documentation
  • Test: Add or refactor tests
  • Build: Modify build-related configurations or package managers
  • Rename: Rename files or folders
  • Remove: Delete files or folders

Detailed Description of Changes

1. Object Storage put 오류 전파 (백엔드)

  • 기존에는 업로드 워커가 실제 PUT 에러(예: 408)를 삼키고 MPut/Copy가 항상 성공(nil)을 반환해, 일부 객체가 실패해도 task가 "성공"으로 기록되던 문제가 있었음
  • 업로드 완료 시점인 Close()의 에러를 포착하도록 수정
  • MPut/Copy가 실패 객체를 원인 포함해 집계한 뒤 에러를 반환 → task가 StatusFailed 로 처리되고, 응답 Error 필드 및 실행 이력(tbexecutionlog)에 실패 원인이 기록됨

2. 실패 원인 화면 표시 (프론트엔드)

  • Object Storage 생성(generate) 실패 시 요약 Alert + 상세 원인은 Result 패널에 표시
  • Object Storage / restore put 오류 메시지를 alert 및 Result 패널에 노출하여, 사용자가 실패 여부와 원인을 바로 확인할 수 있도록 개선

PR Checklist

Ensure your PR meets the following requirements:

  • The commit messages follow the Conventional Commits convention.
    • Example: Add: New user login feature, Fix: Payment error bug
  • Tests for the changes have been added or updated.
  • Documentation has been updated accordingly.
  • All necessary changes for code review are included.
  • The build passes successfully.
  • A deployment plan has been established if necessary.

@minyeongyang-max
minyeongyang-max merged commit c450cfe into cloud-barista:main Oct 15, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants