Repository navigation
Conversation
application.yaml.example이 옛 R2(spring.cloud.cloudflare) 키만 갖고 있어 seaweedfs.public-url이 빠진 설정으로 배포되면 이미지 업로드가 500으로 실패했다. (#48) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #48
원인
application.yaml.example에 옛 R2 키(spring.cloud.cloudflare.*)만 있고 최상위seaweedfs키가 없었다. 이 예시로 만든 설정에는seaweedfs.public-url이 빠지고, 업로드가 끝난 뒤SeaweedUploader.publicUrlBase()에서IllegalStateException이 나 500이 된다.변경
application.yaml.example: R2 키를 지우고seaweedfs.filer-url/seaweedfs.public-url을 추가SeaweedUploader: public-url 검사를 PUT 앞으로 옮겨, 설정이 빠졌을 때 저장소에 주인 없는 파일이 남지 않게 함코드만으로는 stage가 고쳐지지 않는다.
STAGE_APPLICATION_YAML시크릿에 아래를 추가해야 한다 (prod도 확인 필요).테스트
./mill __.test통과🤖 Generated with Claude Code