Repository navigation
fix: match a filed flaky issue by its test's file and whole name - #2146
Merged
Merged
Conversation
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.
Related: with-hide/hide-private#221, #167, #262 (already closed; their later comments came from a renamed or sibling test)
Summary
테스트 이름을 바꾸거나 같은 파일에 앞 20자가 같은 형제 테스트가 있으면, flaky 보고기가 새 flake를 옛 이슈에 계속 달았습니다.
보고기가 직접 연 이슈는
- Test:줄에 파일과 테스트 전체 이름이 적혀 있으므로, 이제 그 둘이 정확히 같을 때만 같은 테스트로 봅니다.이름이 바뀐 테스트와 형제 테스트는 새 이슈를 엽니다. 사람이 쓴 이슈(잘린 제목을 인용)만 기존대로 파일과 앞 20자로 찾습니다.
화면 변경은 없습니다.
스크린샷 없음: 화면을 건드리지 않는 스크립트 변경
Review
- Test:+ 백틱 파일 + 따옴표 이름 형식을 그대로 쓰면 자동 이슈로 취급되어 잘린 제목으로는 더 이상 안 잡힙니다.scripts/ci-flaky-report.pytracks()- 이슈 매칭 한 곳. nextest 이름의 부분 문자열 매칭(a_burst/a_burst_more)도 같이 사라집니다.Evidence
scripts/tests/test_ci_flaky_report.py81개 통과(새 6개: 형제, 이름 변경, 다른 파일, nextest 포함 관계, 사람이 쓴 이슈). 옛tracks()로는 형제·이름 변경 테스트가 실패하는 것도 확인.