Skip to content

fix(ci): 현재 PR 리비전만 기기 검사를 재시도한다 (#2315) - #2316

Merged
OnlyReadOneBook merged 1 commit into
developfrom
fix/2315-current-head-retry
Oct 25, 2026
Merged

OnlyReadOneBook merged 1 commit into
developfrom
fix/2315-current-head-retry

Conversation

@OnlyReadOneBook

Copy link
Copy Markdown
Collaborator

핵심 파일

  • .github/workflows/android-managed-device-retry.yml: 실패 job을 재시도하기 직전에 현재 PR의 열린 상태, HEAD SHA, 저장소를 대조합니다.
  • .github/scripts/android-managed-device-retry.test.mjs: 워크플로의 실제 복구 스크립트를 실행해 정상 재시도와 차단 경로를 검증합니다.

변경

새 커밋의 기기 검사가 시작된 뒤 이전 커밋의 인프라 자동 재시도가 실행되면 PR 번호 기반 concurrency가 최신 검사를 취소했습니다. 현재 PR을 마지막으로 다시 조회하고 원본 실행과 달라졌거나 조회에 실패하면 재시도를 생략합니다. 기존 marker, 실행 회차, 실패 job 검증과 1회 재시도 정책은 유지합니다.

검증

  • 신규 동작 테스트 9개 통과: 현재 HEAD 재시도, 오래된 HEAD, 닫힌 PR, 다른/삭제 저장소, API 오류, PR 링크 없음/다중/잘못된 번호
  • 기존 워크플로 정책 테스트 14개 통과. 로컬 Bash 3.2에서 기존 full invocation 검사 1개는 명시적으로 건너뛰며 CI의 Bash에서 수행합니다.
  • actionlint 및 실제 base 전체 diff 소유권 검사 통과
  • 독립 코드 검토 완료. 재시도 직전 대조이며 GitHub 조회와 rerun의 원자성을 보장하지는 않습니다.

CI Test Plan

{
  "androidTest": {
    "mode": "full",
    "reason": "관리 기기 테스트의 복구 워크플로 변경이므로 저장소 정책에 따라 전체 기기 검사를 수행합니다.",
    "tests": []
  }
}

Closes #2315

@github-actions github-actions Bot added the android-test PR head에서 Android Managed Device 계측 테스트 실행 label Oct 25, 2026
@OnlyReadOneBook
OnlyReadOneBook added this pull request to the merge queue Oct 25, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

merge queue 방출 — merge group CI 실패

사유 CI_FAILURE · head 162353b. 재투입하지 않았다.

실패한 job:

고친 뒤 gh pr merge 2316 --repo Afternote/Afternote-FE 로 다시 투입한다.

@OnlyReadOneBook
OnlyReadOneBook added this pull request to the merge queue Oct 25, 2026
Merged via the queue into develop with commit 818f5f5 Oct 25, 2026
23 checks passed
@OnlyReadOneBook
OnlyReadOneBook deleted the fix/2315-current-head-retry branch October 25, 2026 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

android-test PR head에서 Android Managed Device 계측 테스트 실행

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(ci): 이전 PR 리비전의 기기 테스트 자동 재시도 차단

2 participants