Skip to content

Flaky e2e: sidebar-pr-start loses the merged pull request glyph (#43) on Linux after a restart #417

Closed

Description

@yansfil

현상

web/e2e/sidebar-pr-start.spec.ts:108("the sidebar draws every project's pull request with no screen asking, and a restart keeps them as stale")가 Linux에서 같은 SHA의 통과와 실패를 오갑니다.
실패 위치는 매번 :156, 데몬을 재시작한 뒤 머지된 PR(#43)의 glyph입니다.

Locator: locator('[data-checkout-pr-glyph="43"]')
Expected: "Open pull request #43"
Timeout: 5000ms
Error: element(s) not found

기대 동작

재시작 뒤 feature/alpha(열림), feature/bravo(초안)와 함께 머지된 PR의 glyph도 Open pull request #43으로 그려집니다.

근거

같은 SHA 33b7342, Linux 6/6 shard:

  • 통과: verify push 37234074990 attempt 1 ✓ 1 e2e/sidebar-pr-start.spec.ts:108:1 (15.9s).
  • 실패: nightly 37234523541 ✘ 2 e2e/sidebar-pr-start.spec.ts:108:1 (15.2s), 위 assertion.

다른 실패 (Linux, attempt 1):

통과: main 59d13d9b의 verify와 079b6f2 nightly baseline의 Linux.
macOS는 33b7342 nightly에서 통과(✓ 13 ... (21.3s))했습니다.
Windows는 같은 test가 다른 증상(data-checkout-kind Expected pr_open Received branch)으로 결정적으로 실패합니다. 이 issue 범위가 아니며 Windows lane 정리에서 다룹니다.

관련: #391(재시작 뒤 사이드바 PR 상태가 비는 문제, 닫힘)이 같은 화면을 다룹니다. #410이 33b73426에 이미 포함된 상태에서 실패했으므로 #410이 이 실패를 고친 것은 아닙니다.

확인하지 못한 것: 원인입니다. 병합된 PR 재부착의 시간 경계(herdr-core의 PR 읽기 순서)를 의심하지만 재현하지 않았습니다.

완료 조건

  • Linux에서 같은 조건(retry 0, 기존 deadline)으로 반복해서 통과하고 @flaky를 지운다.
  • 실패 원인이 이 issue에 기록된다.

메모

  • 격리: @flaky + 이 issue annotation. 만료일 2026-10-12(7일).

  • 해제 조건: 위 완료 조건.

  • 시간이나 timeout을 늘려서 통과시키는 방법은 쓰지 않는다.

  • Expires: 2026-10-12

The @flaky tag is removed by this date: the cause is fixed, or the test is split by contract or deleted. A longer timeout or more retries does not end this issue.

Activity

  1. added
    quarantine
    on Oct 5, 2026
  2. yansfil commented on Oct 5, 2026

    @yansfil
    ContributorAuthor

    원인 미확인. e2e(sidebar-pr-start)는 이제 Inactive 접힘 행 클릭 경로를 타지 않고, 접힘 상태를 core-state에 미리 넣는다. 클릭 연결은 web 단위 테스트(web/src/inactiveFold.test.tsx)와 core herdr-core/src/runtime/tests/projects.rs:2108이 지킨다. 변경은 PR #489이고, main 연속 2회 녹색 뒤 이 issue를 닫는다.

  3. yansfil commented on Oct 5, 2026

    @yansfil
    ContributorAuthor

    PR #489 머지(76018bf) 뒤 main verify 3회 연속 첫 시도 녹색(76018bf, 01a8894, a1f1c96)이고, 그 사이 이 test로 자동 등록된 flaky issue가 없어 닫습니다. 재발하면 retry 분류가 새 issue를 엽니다.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    quarantine

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions