Skip to content

ci: remove repeated typechecks and desktop discovery builds - #1645

Merged
yansfil merged 2 commits into
mainfrom
ci-reduce-repeat-preparation
Oct 23, 2026
Merged

yansfil merged 2 commits into
mainfrom
ci-reduce-repeat-preparation

Conversation

@yansfil

@yansfil yansfil commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Related: #1650

Summary

  • 같은 CI job에서 반복하던 web 타입 검사와 desktop 준비 빌드를 줄입니다.
  • web CI와 기본 검증은 타입 검사를 포함한 build를 한 번 실행합니다.
  • desktop 목록은 빌드 없는 e2e-list로 조회하고, 실제 e2e는 항상 새로 빌드합니다.
  • 병합된 메뉴 수정을 main에서 한 번 반영해, 기존에 실패한 native 경로를 새 후보에서 다시 검사하도록 합니다.

Review

  • 판단해 주세요: web 타입 검사 소유자와 목록 조회·실행의 준비 경계가 단독 호출에서도 유지되는지 확인해 주세요.
  • 조심해서 볼 파일: scripts/verify-web.sh, pr.yml, desktop-e2e.yml의 failure path와 shard 목록 일치 계약.
  • 범위: main 대비 기존 6개 파일만 남고 내용도 이전 후보와 같습니다. 원칙 7의 기존 진입점 사용과 원칙 13의 반복 원인 제거를 따릅니다.
  • 검토 경계: 이전 후보의 코드·단독 실행·실패 전달 리뷰를 재사용합니다. 새 후보의 통합 리뷰와 CI 판정은 별도입니다.

Evidence

  • 현재 로컬: 지정한 5개 CI 계약 suite를 병합 트리에서 한 번 실행해 142개가 통과했습니다. 커밋 트리와 검사 트리가 같습니다.
  • 계약 보존: standalone web 타입 검사, 빌드 없는 desktop 목록, 실제 실행 전 빌드와 실패 전달이 유지됩니다.
  • 이전 관찰: web 타입 검사 2→1회, desktop 빌드 3→1회 및 목록·실행 3회 유지 증거는 이전 후보에서 재사용합니다.
  • 기존 CI 실패: 이전 run의 native new-tab은 첫 시도와 retry 모두 pane 제거에서 실패했습니다.
  • 취소 이력: 다른 선택 테스트가 통과한 뒤, 이미 실패한 run의 대기 중 macOS package를 취소했습니다. 기존 실패가 통과로 바뀐 것은 아닙니다.
  • 현재 미검증: 새 후보의 native E2E·패키지·각 OS 실행과 원격 CI는 아직 판정하지 않았습니다. 제품 빌드와 의존성 설치는 반복하지 않았습니다.
  • 원인 경계: 메뉴 수정은 실제 keyboard-owner 전환 결함을 고쳤지만, 과거 같은 이름의 모든 실패 원인을 확정하지는 않습니다.
Verification record
  • Original baseline: d3bd8e01c886ce3601a5a1eebbfa6ac94b8ac814.
  • Previous PR head: 9cd9e6d40c0d98595478ab4bbb91bd91b89dd433; tree: e3245aa0692a9bce2e7fde706263292d5eec9982.
  • PR fix: return commands to the terminal when a native page hides #1650: GitHub MERGED at 2026-10-23T18:44:58Z; menu head 0041f7532edde656c830a631eb8d88c365621ddd; merge/main 4fc9b8c83f09f355fa40b98443bd55de8be1e25d.
  • Fetched and pinned main: 4fc9b8c83f09f355fa40b98443bd55de8be1e25d; menu-head ancestry verified against both this SHA and fetched origin/main.
  • Current candidate: 73e70261a49527902d714a10b2baee64443f85af; tree: 59707205a26ff0402d2a220f0e6ac18b87413882.
  • Merge parents, in order: previous PR head and pinned main above. One normal merge, no conflict, no source edits beyond integrating main.
  • Current diff against pinned main: 6 original owned paths, 181 insertions and 9 deletions. All six file blobs equal the previous PR head's blobs.
  • Current check: LC_ALL=C python3 -m unittest scripts.tests.test_ci_verification_entrypoints scripts.tests.test_verification_builds scripts.tests.test_ci_flaky_report scripts.tests.test_ci_plan scripts.tests.test_called_workflow_permissions: 142 tests, exit 0, one execution on the exact committed tree.
  • The only real Cargo builds in that command are the existing dependency-free temporary fixture; no product Cargo/pnpm build, reinstall or native app/server access was performed.
  • Current static checks: bash -n scripts/verify-web.sh, git diff --check and staged diff check passed; attribution checked against the prepared body.
  • Previous independent source/entrypoint review: PASS at 9cd9e6d40c0d98595478ab4bbb91bd91b89dd433, tree e3245aa0692a9bce2e7fde706263292d5eec9982; no code findings. Reused, not a current integration review.
  • Previous real web gate at that old tree: web 239 files, 2,047 passed / 1 skipped; desktop 23 files, 241 passed / 4 skipped. Previous contracts: 120 plus 53 reporter contracts. Reused, not rerun here.
  • Previous real discovery at that old candidate: 125 tests without desktop/dist, 68 planned and matched for shard 1/2; standalone no-match e2e built first and returned expected exit 1. Three realistic mutation checks detected duplicate typecheck, discovery build and swallowed prerequisite failure. Reused.
  • Separate combined dedup/retry contract run: 167 passed at 64643fa74b75b49ac8e28bf74ff523e1e95e4d7a, reported by the conductor; reused historical evidence, not this candidate's run.
  • Prior CI run 39980804713 checked old head 9cd9e6d40c0d98595478ab4bbb91bd91b89dd433: macOS desktop shard 1/2 and aggregate verify failed; run conclusion cancelled, macOS package cancelled. Original unchanged native new-tab scenario failed first attempt and retry at pane removal line 139. First logs, original ZIP and provenance are retained by the conductor.
  • The menu fix's original native scenario passed its first attempt at menu head 0041f7532edde656c830a631eb8d88c365621ddd, per the conductor's handoff. This does not prove the current integration or every historical with-hide/hide-private#154 failure's cause; no issue is closed by this comparison.
  • Retries, timeouts, skips, filters, lanes, shard settings, reporter behavior and required gate results are unchanged by this PR.
  • Current-head remote CI and independent integration review remain UNVERIFIED and belong to the conductor. No extra CI rerun was requested.
  • Run artifacts remain local and ignored; no product UI diff is introduced by this PR against main.

@yansfil
yansfil merged commit a330bae into main Oct 23, 2026
36 checks passed
@yansfil
yansfil deleted the ci-reduce-repeat-preparation branch October 23, 2026 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant