Fix: 릴리스 검증이 전파 지연을 기다리게 한다 - #115
Merged
Merged
Conversation
Central 은 Publish 를 누른 뒤 repo1 로 동기화되기까지 몇 분에서 수십 분 걸린다. 그런데 `verify-release.yml` 은 곧바로 받아 보고 404 면 끝냈다. **전파 지연과 진짜 실패가 구분되지 않아서 사람이 릴리스가 깨졌다고 읽는다.** `0.4.0` 에서 실제로 그렇게 됐다. Publish 직후에 돌렸더니 404 로 실패했고, 포털에서는 아직 처리 중이었다. 릴리스는 정상이었다. 최대 15분까지(30회, 30초 간격) 기다려 본 다음 실패시킨다. 실패할 때는 무엇을 확인해야 하는지 셋으로 낸다 — Publish 를 눌렀는지, 눌렀다면 PUBLISHED 인지, 둘 다 맞는데 없으면 좌표를 확인하라는 것과 포털 주소다. `CLAUDE.md` 의 릴리스 절차에도 이 시차를 적었다. 절차만 보고 따라가는 사람이 같은 오독을 하지 않게 하려는 것이다. 수동 실행 명령도 함께 적었다. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Merged
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.
Pull Request
Related Issue
0.4.0을 내면서 겪은 것이다.Summary
verify-release.yml이 Central 전파를 기다리지 않고 곧바로 404 로 실패하던 것을 고쳤다.Details
무엇이 문제였나
Central 은 Publish 를 누른 뒤
repo1.maven.org로 동기화되기까지 몇 분에서 수십 분 걸린다. 그런데 이 워크플로는 곧바로 받아 보고 없으면 끝냈다.전파 지연과 진짜 실패가 구분되지 않는다. 나오는 것은 이 한 줄뿐이다.
0.4.0에서 실제로 그렇게 됐다. Publish 직후에 돌렸더니 실패했고, 포털에서는 아직 처리 중이었다. 릴리스는 정상인데 검증이 실패로 나왔다. 이 상태에서 사람이 할 판단은 "릴리스가 깨졌다" 이고, 그건 틀린 판단이다.어떻게 고쳤나
최대 15분까지(30회, 30초 간격) 기다려 본 다음 실패시킨다. 받으면 몇 번째에 받았는지 찍는다.
끝까지 없으면 무엇을 확인해야 하는지 함께 낸다.
POM 과 jar 둘 다 같은 함수를 쓴다.
문서
CLAUDE.md의 릴리스 절차에 4번(Publish)과 5번(검증) 사이의 시차를 적었다. 절차만 보고 따라가는 사람이 같은 오독을 하지 않게 하려는 것이다. 수동 실행 명령도 함께 적었다.확인
echo로 바꿨다0.4.0검증을 다시 돌려서 확인한다. 지금 전파를 기다리는 중이라 마침 그 상황이다ETC