Repository navigation
상시 작업과 서비스 수명 검토 가이드 정리 - #364
Merged
Merged
Conversation
yansfil
added a commit
that referenced
this pull request
Oct 5, 2026
…ult (#490) Related: the unclassified-paths table (reviewer decision), #486 (separate branch; both touch `ci-plan.py`'s neighbours, the second to merge resolves a small conflict in `test_ci_plan.py` and `TESTING.md`) ## Summary `ci-plan.py` sent every path no rule claimed to every lane, so 42 of the last 80 merged pull requests (52%) ran all ten. This names the paths whose readers are known and leaves every other path on "every lane": `POLICY_ONLY` (no lane reads it: `agents/`, `site/`, `tools/`, `spikes/`, `.gitignore` files, PR template, workflows `pr.yml` does not call, `scripts/tests/`, the policy, design, release and measurement scripts, Markdown below an unclaimed folder) plans `policy` alone, and `NAMED_LANES` (fixtures, Playwright, eslint and vitest configs, `web/scripts`, `desktop/scripts`) plans the lanes that read it. A path that is not named, including any new one, still plans every lane. ## Review - **판단해 주세요**: `web/e2e` files that are not specs plan `web-checks`, `web-e2e`, `web-e2e-platform`, `windows-e2e`, `desktop-checks`, `desktop-e2e`, `windows-check` (desktop suites import them, `desktop/e2e` unit tests run in `windows-check`); they drop `rust` and `os-contract` only. - **판단해 주세요**: `scripts/ci-plan.py` stays on every lane although the table listed it as `policy`: it decides the plan for every later pull request, and `policy` runs its tests but not what a wrong rule would skip. - **판단해 주세요**: lockfiles, `package.json`, `Cargo.lock`, `contracts/`, `verify-*.sh`, `ci-flaky-report.py` and the three workflows lanes use stay full (the table's class where full is right). - **조심해서 볼 파일**: `scripts/ci-plan.py` (`POLICY_ONLY`, `NAMED_LANES`, `named_lanes`) and `scripts/tests/test_ci_plan.py` (`NamedPaths`, including a check that no `POLICY_ONLY` script is named by a lane's workflow job or the scripts those jobs run). ## Evidence - **확인한 것**: `scripts/tests` suite passes (27 plan tests; a case per named path, one that every unnamed and shared path is still full, one that a named path does not narrow a plan with another reason, and the reader check). - **확인한 것**: the changed plan run on the file lists of the last 80 merged pull requests (#355-#483) against main's plan: | | before | after | | --- | --- | --- | | pull requests planning every lane | 42 | 19 | | pull requests whose plan changed | | 20 | | lane runs (sum over the 80) | 683 | 585 (-14%) | | lane | PRs running it before -> after | | --- | --- | | policy | 80 -> 80 | | rust | 76 -> 59 | | web-checks | 63 -> 51 | | desktop-checks | 47 -> 39 | | os-contract | 65 -> 48 | | windows-check | 65 -> 58 | | windows-e2e | 71 -> 61 | | web-e2e | 78 -> 68 | | web-e2e-platform | 71 -> 61 | | desktop-e2e | 67 -> 60 | No pull request gained a lane. - **확인한 것**: lanes that caught a failure keep it. Of the 300 most recent `pr.yml` pull-request runs, 73 failed; 72 had a failing lane (the other failed in `verify` only). Each run's failing lane was checked against the new plan for that pull request's file list (the run's own diff where the pull request is still open, the final file list for merged ones, so earlier pushes can differ). The lane stays planned in 68 of 72. The four that would not run it, and why they are not catches: - #466 (2 runs): `windows-e2e` failed on `s2.spec.ts:55` and `less`, a main failure (#475, #424) that the pull request, which touched four `desktop/e2e` files, did not cause. The new plan runs `desktop-checks`, `desktop-e2e`, `windows-check`. - #366: `rust` and `windows-check` failed in `hided` and disk tests before nextest retries (#463) on a pull request that changed release scripts and docs only. - #369: README and SECURITY only; `windows-check` failed before path selection existed, and the current plan does not run it for those files either. The failures that were this pull request's own (#474 desktop-e2e, #436 windows-e2e, #439 web-e2e-platform, #385, #364) keep their lane. - **확인하지 못한 것**: the narrowing is judged on file lists, not by re-running CI; a pull request that changes a named file in a way that needs a lane left out is caught by main's full run, as before. <details><summary>CI 크기 (D3)</summary> `ci-plan.py` +77 lines (two tables and `named_lanes`), `test_ci_plan.py` +97, `TESTING.md` +5; no workflow changed. </details>
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: #348
Summary
Review
docs/ARCHITECTURE.md,docs/PERFORMANCE_TESTING.md- 상태 소유권과 종료·대기 상한의 범위.docs/status-model.md,AGENTS.md- 상태 해석과 실행 완료, 번들 데몬 교체 경계.herdr-core/src/runtime/tests/snapshot_delta.rs- 문서 길이 조건을 제거하고 실제 섹션·필수 문구 검사는 유지합니다.herdr-core/src/runtime/tests/projects.rs- fixture의 임시 Git 저장소에만 signing 설정 한 줄을 추가합니다. Assertions와 운영자 설정은 바꾸지 않습니다.Evidence
Verification record
Current pushed candidate:
3cc45afe1ab18e8b459c33a20b99c8727385e883; main base:af15ad6026f2ebd4d694eb846588b3c4bafe9633.Parent candidate
00a57563ee84a94c33cfa6f63f24f13c4bf38a93is preserved; the only follow-up commit adds the temporary fixture setting.Ordinary merge retains the original remote head
73a7905c3e511f563aef77c0f7de6b65eebed888and all original failure records.Canonical changed-lane local PASS was followed immediately by ordinary push; the remote branch tip was verified as the exact current Git SHA.
The diff against main contains nine owned paths: the prior eight plus
herdr-core/src/runtime/tests/projects.rs; every blob outside those paths equals main.git diff --checkpasses.Independent SOURCE review of exact parent candidate
00a57563ee84a94c33cfa6f63f24f13c4bf38a93is PASS, Fix now None.All its eight reviewed blobs remain unchanged; report SHA-256:
dddf6efe90f7bf9803fdeb08b874bb739f8c7931ff0ca12362ddb2052f191ff6.Independent final signing-fixture delta review of exact
3cc45afe1ab18e8b459c33a20b99c8727385e883: SOURCE PASS, Fix now None.Report SHA-256:
598969d0853fefdeba0d61d18ce1cd71cbcbc844f22a3a4c03a11836b9988d83; 10,878 bytes; read in full and independently hashed.Exact one-line delta SHA-256:
f61cd299001e53e622bdeb3613a0e176248d002bb590a618fcbeae361da6d7a7.Local fixture signing policy is not universal PATH/Git environment/hook isolation; the existing fixture has no added subprocess deadline.
Actual current-head required CI success is now confirmed; the coordinator owns protected merge after current-main required CI and independent review.
Current-head canonical Rust lint PASS in 16.526338 seconds and full workspace test PASS in 164.136327 seconds; total lane 180.663026 seconds.
The 58 test-suite summaries total 1872 passed, 0 failed and 14 existing ignored; core is 1153 passed, 0 failed and 7 existing ignored.
Default Cargo profiles, assertions, test counts and deadlines were retained.
Current Rust log SHA-256:
512d662495bf680479f5531193d6927c025f32b640b9be128b477963db325059; result SHA-256:34c856246a94942cce4c7ebd711816ce3b1472b34f22d64a46803b043b6b50dd.Supervisor
27488, lint PID/PGID27576, test PID/PGID36355and tool session16679ended with zero survivors and no forced cleanup.Current source identity, off-lock readers, harness anchor, committed agent asset, removal boundary, single-pin and whitespace checks have retained PASS evidence; this is not complete privacy or native acceptance.
Retained local parent-head attempts: the first compile was interrupted by an extra ongoing disk guard, not a failed assertion.
The next full core run recorded 1152 passed, 1 failed and 7 ignored because the History fixture inherited commit signing; its failure is preserved and the follow-up fixture setting addresses that trigger.
Signing-failure log SHA-256:
6eebbe22cb0a4c4bd159d73b8ec61a792490c2845c83ddd16fe68f0bbc9ff287.No private signing-buffer path or key is reproduced here.
Earlier PASS and FAILURE records below remain scoped to their original heads.
Current Desktop job
111323334361is SUCCESS: required Electron cases are 42 passed and 5 existing skipped; the separate existing nonblocking quarantined focus case also passed in 14.1 seconds.Current raw Desktop log SHA-256:
b6ed4cc781670c379cfaed60c2aa1b95c17e6b11cbe7f27c04e831de501f94ea.This observed pass does not establish a causal focus/runtime repair; the original Desktop acquisition and focus failures below remain preserved.
Ordinary push is complete; current-head required verify run 37164086432 is SUCCESS.
Aggregate job
111326408105, Rust111323334185, Windows111323334353, Desktop111323334361, all six Linux web shards, macOS platform web and both OS-contract legs succeeded.The two unchanged macOS reusable-workflow planning skips remain planned; no test, assertion, timeout or quarantine policy changed.
Design run 37164086231 and static job
111323333183also succeeded.Current-main required CI and independent source review are clear; no production runtime repair is claimed.
Current nine-file source diff SHA-256:
06a61c230fc5e741a99fd42be0707a1f130dacdf8ef3b41ee767a53d96008c39.Prior eight-file diff SHA-256:
67384ce632cb86a50b8f68805cf01f0d901c1343749be74f27fac498f4babb2c.Historical CI snapshot - original base:
7c974f350865978515ce39cf8b18d520d90c730a; original remote head:73a7905c3e511f563aef77c0f7de6b65eebed888.변경 파일 8개:
.github/pull_request_template.md,AGENTS.md,CONTRIBUTING.md,docs/ARCHITECTURE.md,docs/PERFORMANCE_TESTING.md,docs/README.md,docs/status-model.md,herdr-core/src/runtime/tests/snapshot_delta.rs.같은 head의 독립 전체 범위 검토 PASS, 즉시 수정 사항 없음.
문서 7개는 이전 검토 head
4637dffb562c51680350dd9deb2ecd8391a641f0와 바이트가 같으며, 나머지 경로는 base와 같습니다.최초 CI 실패는
snapshot_delta.rs:17의 무관한 문서 prefix 길이 비교였습니다.첫 테스트의 사용하지 않는 prefix binding과 길이 assertion만 제거하고, 섹션 경계·필수 문구·stale 수치 검사는 모두 유지했습니다.
production runtime 변경이나 새 skip·quarantine은 없습니다.
독립 경량 검증: 필수 문구 제거 12개, 경계 제거 3개, stale 수치와 잘못된 섹션으로 이동한 문구를 거부했습니다.
이는 Python으로 재현한 문서 predicate 검증이며, 로컬 Rust 실행은 아닙니다.
실제 original verify run 37148566681: 필수
verifyFAILURE.Rust job 111277446251는 SUCCESS이며 수정된 문서 계약 테스트가 실제로
ok입니다.core suite는 1152 passed, 0 failed, 기존 7 ignored입니다.
남은 실제 실패: Linux shard 2/6의
web/e2e/new-tab.spec.ts:117에서 오른쪽 탭 2개 대신 1개, 18 pass/1 fail.Desktop job은
desktop/e2e/fixture.ts:202의 Electron 설치·실행 오류 14개, 25 pass/5 skip입니다.같은 job의 기존 nonblocking quarantined focus lane도
desktop/e2e/browser.spec.ts:886에서 focused true 대신 false로 5초 후 실패했습니다.이 focus failure는 기존 continue-on-error step에 있어 verify를 차단하지 않으며, required desktop step의 14개 acquisition·launch 실패와 구분합니다.
해당 세 파일은 원래 PR base와 바이트가 같았고, 원인·flake 판정이나 자동 재시도로 대체하지 않았습니다.
f420b8176cbf5ccbd8efadf76a817c036659abc7127f9766d9db5ad532259b98cd15dfaa1c6f0ca16e4b6e4a61d0d78169efb19e6b5c58b4f5cd8ef89564e6898a692d6589608b59691d32f4b895dc665a5e763e3376d60ea768e6c6932ff1f58bd97a6ffa8bcc89a8f99c26ea1d6c6f01b9f3d735f024c44f43d2d4e5802bd5b959434c67cf5775120010f6628b3717887bddffa7b766da1a14b6cb3b9e865b6d8590eef2bf9ed32c96793ec755eb24566f75f9d6d9a8a0125dc28e404359aa성능 측정, 네이티브 앱·로그인·재부팅·background terminal 동작은 실행하지 않았습니다.
기존 uncapped 작업과 종료 join의 한계는 문서에 남으며, 문서 검토 PASS가 이를 해결했다는 주장은 없습니다.
최종 fixture 독립 검토와 현재 head의 필수 CI는 모두 PASS입니다. 원래 실패 기록은 보존합니다.
현재 이 변경의 실행 중인 로컬 check·build·server handle은 없고, 증거 파일은 커밋하지 않았습니다.