fix(ci): playwright 설치 IPv4 우선 + 재시도로 배포 안정화 - #230
Merged
Conversation
빌드 호스트에 IPv6 경로가 없어 `playwright install` 이 cdn.playwright.dev 로 IPv6 연결을 시도하다 ENETUNREACH 로 실패, 배포가 통째로 죽는 일이 있었다 (happy-eyeballs 가 IPv4 를 잡으면 성공하는 간헐적 실패). NODE_OPTIONS=--dns-result-order=ipv4first 로 Node DNS 를 IPv4 우선으로 두고, 5회 재시도로 감쌌다. 5회 모두 실패하면 빌드를 실패시켜 조용한 누락은 막는다.
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.
변경 사항
AI 이미지 빌드의
RUN uv run playwright install --with-deps chromium단계를 IPv4 우선 + 재시도로 감쌌다.배경
빌드 호스트에 IPv6 경로가 없어
playwright install이cdn.playwright.dev로 IPv6 연결을 시도하다ENETUNREACH (2603:1061:14:186::1:443)로 실패, 배포 전체가 중단되는 일이 있었다. happy-eyeballs 가 IPv4 를 먼저 잡으면 성공하는 간헐적 실패(8/24 배포는 성공, 8/30 PR #229 배포는 실패).조치
NODE_OPTIONS=--dns-result-order=ipv4first— Node DNS 를 IPv4 우선으로배포 파이프라인을 green 으로 되돌리기 위한 것으로, 앱 동작 변경은 없다.