Skip to content

Remove scripts, tests and documentation that CI no longer needs - #435

Merged
yansfil merged 5 commits into
mainfrom
ci/remove-unneeded
Oct 5, 2026
Merged

yansfil merged 5 commits into
mainfrom
ci/remove-unneeded

Conversation

@yansfil

@yansfil yansfil commented Oct 5, 2026

Copy link
Copy Markdown
Contributor

Summary

지금 쓰이지 않는 CI 스크립트, 테스트, 문서 설명을 지웁니다. 감사 목록의 기준은 docs/TESTING.md "Choose what to test and where"와 CONTRIBUTING.md의 gate 목록입니다.
workflow와 ci-plan.py의 줄 수는 그대로입니다. 이 PR에서 workflow를 줄이지 못한 이유는 감사에서 지울 step, lane, 규칙을 찾지 못했기 때문입니다(아래 Review).

기준 main 079b6f21 전 이 PR 뒤
workflow 합계 (줄) 1,501 1,501
pr.yml / web-e2e.yml / nightly.yml (줄) 473 / 281 / 191 473 / 281 / 191
scripts/ci-plan.py (줄) 339 339
lane / workflow step 10 / 158 10 / 158
scripts/ 최상위 파일 56 49
check 스크립트 + scripts/tests 파일 45 41
e2e test( (web + desktop) 178 174
저장소 추적 파일 1,237 1,149
삭제 줄 수 약 20,000 (대부분 tools/와 spikes/integrated-preflight)
  • 지운 것: 어디서도 부르지 않는 수동 fixture 스크립트 4개(e2e-fixture.sh, hide-paths-fixture.sh, tab-verification-fixture.sh, view-state-fixture.sh), check-typed-contract.sh(cargo test와 중복인 단계 래퍼), check-typed-contract-structure.py와 그 fixture 테스트, summarize-terminal-latency.py와 그 테스트, tools/t1,t14,t15,t16, 그 도구만 쓰던 spikes/integrated-preflight.
  • 지운 테스트 4개와 각 계약을 확인하는 다른 테스트:
    • view-bookmarks.spec.ts side-by-side: herdr-core/src/runtime/tests/view_bookmarks.rs:350 (같은 단계, B7/B8)
    • s3.spec.ts close chord: web/e2e/close-policy.spec.ts:9
    • s2.spec.ts registration: 거절은 hided/tests/handshake.rs:441, 성공은 web/e2e/s4.spec.ts:104, 브라우저에 Add project 없음은 sidebar-shell.spec.ts로 옮긴 두 줄
    • desktop/e2e/close-policy.spec.ts subtree: web/e2e/close-subtree.spec.ts:184, 네이티브 ⌘W는 desktop/e2e/close-policy.spec.ts:53
  • 지운 단언 7개: 코드 어디에도 없는 selector의 toHaveCount(0). 그 외 쓰이지 않는 fixture corrupt-ui-state.json, 죽은 launchctl mock, 쓰이지 않는 export 4개의 export.
  • 고친 문서: CONTRIBUTING.md windows check 행(실제 pr.yml step과 일치), plugins/ 언급(디렉터리 없음), dependabot 주석("세 개"가 아니라 둘), Peekaboo 은퇴 문장.

Review

  • 판단해 주세요: check-typed-contract-structure.py를 되살리지 않고 지웠습니다. 현재 트리에서 실패(replica owns wire parsing, session_sync/replica.rs:513 등)하고 herdr_contract::wire 패턴도 이미 낡았습니다. AGENTS.md의 "wire.rs만 변환" 규칙은 지금 문서에만 있습니다. 새 검사로 되살릴지는 별도 결정입니다.
  • 판단해 주세요: spikes/integrated-preflight는 지운 tools/의 유일한 사용처라 같이 지웠습니다. 어떤 workflow, 문서, workspace에서도 부르지 않습니다.
  • 조심해서 볼 파일: web/e2e/sidebar-shell.spec.ts - s2에서 옮긴 두 단언([data-main-add-project] 없음, chord가 아무것도 열지 않음). 이 PR의 e2e 변경 중 유일하게 새로 쓴 부분입니다.
  • 조심해서 볼 파일: scripts/check-typed-live-remote.sh - structure 단계를 뺐고 probe는 남겼습니다.
  • 남긴 것과 이유(감사 목록): ci-plan.py의 SHARED_WEB(최근 400커밋에 안 닿은 파일이 있으나 desktop 호스트가 가져오는 안전망), ssh 환경변수로 막힌 desktop e2e 5개와 #[ignore] 실기기 probe 6개(docs/VERIFICATION.md가 운영자 수동 실행으로 적음), terminal-links.spec.ts:514 hover 측정(PERFORMANCE_TESTING.md가 소유자로 지목), interface-language.spec.ts:105(오류 값을 영어 선택으로 고치는 계약을 다른 테스트가 확인하지 않음), disk-cleanup.spec.ts:243(실제 working agent 경로).
  • 다른 세션 범위라 건드리지 않음: @flaky 격리 step과 입력(Retry a failed test once in CI and file the flaky ones as issues #419), 긴 spec(R12), TESTING.md 실습 절(D5).

Evidence

  • 확인한 것: scripts/tests 98개 통과. web typecheck, lint, unit 988개 통과. desktop typecheck, lint, unit 99개 통과(3 skip은 기존). check-no-workstation-identity 0건. 지운 경로를 가리키는 참조가 workflow, 스크립트, 문서, 테스트에 없음(git grep, 리뷰 subagent 재확인).
  • 확인하지 못한 것: 이 PR이 scripts/와 .github/를 건드려 CI는 모든 lane을 계획합니다. 로컬에서는 Rust와 e2e를 돌리지 않았습니다(기계 부하 20+). Rust 쪽 변경은 쓰이지 않는 fixture 파일 삭제뿐입니다. sidebar-shell.spec.ts의 옮긴 단언은 CI의 web-e2e가 첫 실행입니다.
  • 리뷰 subagent의 Fix now 3건 반영: spike 정리, 남은 [data-footer-device] 단언 삭제, frozen spikes/web-shell 수정 되돌림.
후속 목록 (이 PR에 넣지 않음)
  • herdr-core/src/runtime/tests/view_bookmarks.rs:350 테스트에 다른 Agent tab의 pane 선택(operator_focus_event("w-order:t2:p"))이 front View를 바꾸지 않는다는 단언 추가(지운 e2e가 하던 한 구간).
  • herdr-core/src/wire.rs:340,364의 "hcoord가 유일한 writer" 주석이 낡음(지금은 hided가 씀).
  • herdr-core/src/coordination/executor.rs:687이 agents/runs/hcoord-retire/replay-tests를 temp 경로로 씀(OS temp를 써야 함).
  • HCOORD_ 환경변수 제거 목록: retirement 코드와 함께 제거.
  • s6.spec.ts:85 삭제 단언 중 [data-tool-tab]은 살아 있는 selector였으나 s7.spec.ts:1359가 같은 계약을 확인함(나머지 alternative는 어디에도 없음).
  • .github/dependabot.yml에 JavaScript(pnpm) 생태계 항목이 없음.
  • desktop/e2e/session-labels.spec.ts:45와 workspace-columns.spec.ts:438은 DOM만 쓰므로 web/e2e로 옮겨 macOS runner를 줄일 수 있음.
  • 쓰이지 않는 TESTING 안내: desktop/e2e/tab-names.spec.ts 끝의 단언 없는 테마 순회.

@yansfil
yansfil merged commit 22afd2e into main Oct 5, 2026
28 checks passed
@yansfil
yansfil deleted the ci/remove-unneeded branch October 5, 2026 02:43
yansfil added a commit that referenced this pull request Oct 5, 2026
Related: #433 (retried interactions), #437 (Rust sleeps), #430 (guide),
#434 (clock injection and Rust waits), #429 (headless renderer), #438
(shared gate), #419 (retries)

## Summary

Playwright specs in `web/e2e` and `desktop/e2e` now pass
`eslint-plugin-playwright` plus two repository rules, an e2e test size
budget runs in the same `lint` script, and clippy refuses
`std::thread::sleep` in Rust.
All of it runs in the existing lanes (`web lint`, `desktop lint`,
`clippy`); no new job or workflow step.
Existing violations were fixed where a state exists to wait for, and the
rest carry a reasoned allow, listed below.

## Review

- **판단해 주세요**: `quietFor` is the only sleep an e2e spec may use for a
window in which something must not happen; its 30 call sites each state
the claim. Is a time window the right form for those, or should some
become a counted check?
- **판단해 주세요**: `no-conditional-in-test` (98 hits, mostly
`process.platform` and fold toggles) and `max-expects` (2409 hits at the
default of 5) are not enabled; the size budget replaces `max-expects`.
Enable either?
- **조심해서 볼 파일**: `web/eslint-rules/hide-e2e.mjs` - two hand-written
rules; `web/scripts/check-e2e-test-size.mjs` - the baseline logic;
`web/e2e/wait.ts` - the one `eslint-disable` for `waitForTimeout`.
- **조심해서 볼 파일**: `web/e2e/s3.spec.ts` (two draft recovery tests) - they
must not reload the page, so they carry a line allow with the reason;
adding `about:blank` made both fail.
- **조심해서 볼 파일**: `web/e2e/theme.spec.ts` - `networkidle` replaced by
asserting hided's empty 404 for `/gallery`;
`web/e2e/agent-tab-groups.spec.ts` - a 300 ms sleep between two `tab
focus` calls was removed (the CLI returns after Herdr applied it, events
reach the core in order; a probe showed the first focus changes nothing
visible); `web/e2e/s3.spec.ts` - the offline window now also asserts the
file was not written.
- **질문**: #434 merged first; this branch took main and dropped the
`#437` allows on the five functions it fixed (`hide-ai/src/router.rs`
x3, `usage.rs`, `live.rs`).

## Evidence

- **확인한 것**: `pnpm lint` in `web` and `desktop` pass (ESLint plus the
size budget); `cargo clippy --workspace --all-targets -- -D warnings`
and `cargo fmt --check` pass; `scripts/tests` 108 pass; the identity and
attribution checks pass.
- **확인한 것**: each rule fires on a planted violation (`waitForTimeout`,
an action inside `toPass`, `goto` of `#token=` after `restart()`); the
size budget fails when a baselined test grows (it caught this branch's
own 9-line addition to the Overview test, which moved into a helper).
- **확인한 것**: ran the changed specs against a local `hided` and the
pinned Herdr, all pass: theme (gallery and restart), start-panel,
agent-tab-groups external focus, sidebar-pr-start, cmdk recents, both s3
draft recovery tests, s6 Main/Overview (failed once on the first run at
the File Views open, passed on the immediate rerun; this PR only
relabels a wait in that test), and the Overview graph test.
- **확인한 것**: a reviewer found the labels above too loose in a first pass
(a settle wait named `quietFor`, native captures without
`compositorPresents`, Rust allows with the wrong reason); all were fixed
before this PR.
- **확인하지 못한 것**: known gaps in the new lint: `expect.soft(fn).toPass()`,
a poll that calls an action through a helper, and a `goto` through a
local `url` variable after `restart()` are not seen; a hand-written `new
Promise((r) => setTimeout(r, ms))` is not seen either (mobile.spec x2,
remote-workspace, browser, workspace-columns x2 exist today); clippy
covers `std::thread::sleep` only, not `park_timeout`, `wait_timeout` as
a delay or a spawned `sleep`. #437 lists the Rust gap.
- **확인하지 못한 것**: the other edited specs (digit, keys, browser,
terminal-links, session-labels, the macOS desktop specs) were not run;
desktop e2e needs the macOS lane. Windows and Linux lanes run in CI.
- **확인한 것**: macOS clippy does not compile `cfg(windows)` or Linux-only
code, which is how the two Windows named-pipe waits in
`hide-platform/src/ipc.rs` slipped through (found by the Windows OS
contract job). A source scan of every `sleep(` call in the tree,
regardless of cfg, now finds none outside an allowed function; a
Windows-target clippy run reached `hide-platform` and `hide-ai` before
`ring` failed to build on this Mac, so the Windows lane in CI is the
check for the rest.
- **확인하지 못한 것**: `Instant::now` and `SystemTime::now` bans in
clock-injected modules. Clippy cannot scope a method to a module and
#434 has injected no module yet; once it has, a per-crate `clippy.toml`
or a module-level `deny` with those two methods is the follow-up.

### Sleeps and waits, before and after

| | Before | After |
| --- | --- | --- |
| `waitForTimeout` in `web/e2e` and `desktop/e2e` | 53 | 1
(`web/e2e/wait.ts`, behind three named helpers) |
| `quietFor`: a window in which something must not happen | - | 30 |
| `compositorPresents`: native capture on macOS | - | 6 |
| `measureFor`: idle measurement and sample pacing | - | 5 |
| `animationsFinished`: waits for finite animations, not time | - | 10 |
| `unchangedForFrames`: waits until a value stops changing for 30
animation frames (bounded) | - | 3 |
| Waits on time removed or replaced by a state or a stronger assertion |
- | 3 (agent-tab-groups ordering sleep, `networkidle`, s3 offline
window) |
| `no-action-in-poll` allows, all #433 | - | 10 |
| `reopen-after-restart-through-blank` allows (reconnect is the subject)
| - | 2 |

| Rust allow (`#[allow(clippy::disallowed_methods)]`) | Count |
| --- | --- |
| Bounded polling helper or inline bounded poll (sleeps between
observations of a state, with a deadline) | 26 |
| The sleep is the subject (a slow fake peer or backend) | 1 |
| A child process kept alive for the test to kill | 6 |
| Production wait, not test code | 31 |
| Test that sleeps for a state, tracked in #437 | 59 |

The production waits are allowed line by line rather than by a
crate-root allow with `deny` in test modules: that form would leave
every new `mod tests` and `tests/*.rs` file unguarded until someone adds
the attribute, whereas the line allows fail closed.

### Size budget

`web/e2e/test-size-baseline.json` (20 tests; #447 split three of them)
and `desktop/e2e/test-size-baseline.json` (13) record the tests over 120
lines or 40 `expect` calls as a ceiling that only shrinks.

## Pending guide sentences

`docs/TESTING.md` names #429, #438 and #434 as pending, and #419 for
retries and nextest; each of those pull requests fixes its own sentence
when it takes main.

<details><summary>Verification record</summary>

Base `origin/main` 4df25a0. Local runs: `pnpm lint` (web, desktop),
`scripts/verify-cargo.sh clippy --workspace --all-targets -- -D
warnings`, `fmt-check`, `python3 -m unittest discover -s scripts/tests`,
Playwright specs listed above. Review by a separate reviewer: see the PR
comments.

</details>




Main merge (#434, #435, #431, #450): baselines were refreshed after it.
Two `browser-cdp.spec.ts` tests added by main were already over the
budget and are baselined (172 and 121 lines); the Overview test grew 9
lines on main and its ceiling moved with it. Rust allows: 123 in total
after the merge.
yansfil added a commit that referenced this pull request Oct 5, 2026
## Summary

Two pull requests that were each green broke `main` together (#435 and
#373): `verify` is required, but with strict status checks off nothing
checks the two merged.
The merge queue will check that, once enabled in the repository settings
after this merges; the required `verify` check then has to run on the
queue's group commit too.
This adds the `merge_group` trigger (`checks_requested`) to `pr.yml`,
and `ci-plan.py` plans a group from `merge_group.base_sha` to the
group's commit: the tree `main` becomes, so a group queued behind others
plans for their changes too.
The `plan` step fetches that base (it can be several queued merges back,
past the checkout's depth); a base it cannot fetch leaves the comparison
unavailable, which plans every lane as before.

## Review

- **판단해 주세요**: a group is planned by the same path rules as a pull
request (not every lane); every lane still runs on the push to `main`
that follows, as today.
- **판단해 주세요**: the push to `main` keeps its full `verify` run. It is the
only run whose rust-cache saves (`save-if` main; caches a group saves
would be scoped to its temporary `gh-readonly-queue/...` ref, which
later pull requests cannot read), and it is the net under a narrowed
plan.
- **조심해서 볼 파일**: `.github/workflows/pr.yml` `on:` and the `plan` step:
`BASE` is `merge_group.base_sha`, or `HEAD^1` for a pull request as
before; `concurrency` is unchanged (a group's `github.ref` is its own,
and only `pull_request` cancels), with its comment corrected: a newer
main run replaces a pending one, which is what happened to 25 of 26
cancelled main runs on 2026-10-05.
- **질문**: none; the merge queue setting (ruleset or branch protection,
merge commits) is switched on separately after this merges.

## Evidence

- **확인한 것**:
`test_a_merge_group_plans_every_queued_change_from_its_base` builds a
repository with two pull requests merged in queue order (a `desktop/src`
change, then a docs change): the second group's own merge plans `policy`
alone, the group from its base plans `policy`, `desktop-checks`,
`desktop-e2e`, and a base the checkout lacks plans every lane. Against
`main`'s `ci-plan.py` the test fails (the group planned every lane).
- **확인한 것**: `test_the_merge_queue_runs_verify_from_the_groups_base`
holds the trigger, the base expression and the `pull_request`-only
cancellation in `pr.yml`.
- **확인한 것**: `python3 -m unittest discover -s scripts/tests` passes (127
tests); `actionlint` 1.7.12 reports nothing for `pr.yml`, `web-e2e.yml`,
`os-contract.yml`.
- **확인하지 못한 것**: no `merge_group` event has run, because the queue is
not enabled yet; the first queued pull request after enabling it is that
check (its `plan` summary should list the group's paths, and `verify`
should report on the `gh-readonly-queue/main/...` commit).
HyunjunJeon pushed a commit to HyunjunJeon/hide that referenced this pull request Nov 9, 2026
…own frames in the hided mobile tests

A mobile_method followed at once by mobile_enable spawned two passes, and the
second read Tailscale after a test had changed the fake under the first, so the
funnel test counted two serve adds (with-hide/hide-private#480). A settings
change now owes one pass and a pass settles every change it read.

The unadmitted-phone test waited for a no-phones frame that a frame published
before the pairing also matched, so the start ran before the revoke and
answered timeout (with-hide#435). The phone is listed first, then revoked.

The app-executable test no longer reads through the 15 s command deadline of
a loaded machine (with-hide#524); with-hide#158 shared the stale-frame wait.
HyunjunJeon pushed a commit to HyunjunJeon/hide that referenced this pull request Nov 9, 2026
…nds at their exit (with-hide#2185)

Closes with-hide/hide-private#435
Closes with-hide/hide-private#480
Closes with-hide/hide-private#524
Related: with-hide/hide-private#158 (이 PR로 닫지 않습니다. 아래 Summary)

## Summary

휴대폰 연결(hided mobile) 시험이 가끔 실패하던 원인은 제품 쪽 둘과 시험 쪽 하나였습니다.
- with-hide#480 (tailnet 항목 두 번 셈, 제품): 설정에서 방식을 바꾸고 바로 켜면 Tailscale을 읽는 패스가 둘
돌아, 둘째가 바뀐 환경을 읽고 항목을 한 번 더 더했습니다. 설정 변경은 패스를 한 번 "빚진" 것으로만 적고 패스가 읽은
변경을 모두 갚으므로 둘째는 돌지 않습니다. Tailscale 호출도 줄어듭니다.
- with-hide#435 (승인 안 된 폰의 시작이 revoked 대신 timeout, 시험): "폰 없음" 프레임을 기다렸는데 짝짓기 전에
쌓인 낡은 프레임이 맞아, 해제가 적용되기 전에 시작이 들어갔습니다. 폰이 목록에 오른 프레임을 먼저 읽고, 그다음 해제의 빈
목록을 기다립니다.
- with-hide#524 (app executable, 제품): macOS에서는 명령의 출력 pipe를 만드는 순간(만든 뒤 따로
close-on-exec를 켭니다) 다른 스레드가 띄운 자식이 그 pipe를 쥘 수 있고, hided는 pipe가 닫히길 기다렸기
때문에 몇 ms에 끝난 `tailscale` 명령이 15초 기한까지 갔습니다. 운영에서도 pane 시작과 겹치면 상태 읽기가
실패하고, 두 번 연속이면 노출이 내려갑니다. 이제 명령이 끝난 시점에 답을 읽습니다 (플랫폼 계층에 이미 있는
`OwnedChild::capture_until`, 같은 15초 기한, 출력 1 MiB 상한). 상한을 넘는 `status
--json`이 없도록 `status`는 피어를 뺀 읽기(`--peers=false`)로 묻습니다. 전체 답은 피어당 약 1.2
KB라 약 900대 tailnet에서 상한을 넘어 Mobile이 막히는데, hided는 피어 필드를 읽지 않습니다. 앞선 시험
전용 600초 기한(`status_within`)은 없앴습니다.
- with-hide#158 (ping, 로컬 한 번): 닫지 않습니다. 실패는 셸 소켓에 15초 동안 프레임이 하나도 없었다는 뜻이고 낡은
프레임으로는 설명되지 않습니다. 패스가 `tailscale` 명령의 15초 기한에 묶인 것과 맞아 #524와 같은 원인일 가능성이
크지만, 그 실행에서 명령이 15초에 걸렸는지 기록이 없어 원인은 확정하지 못했습니다.

## Review

- **판단해 주세요**: #158을 이 PR에서 닫지 않고 두는 것이 맞는지 (이슈의 만료일 2026-10-29이 이미
지났습니다. 같은 원인이라는 증거가 없어 닫는다고 쓰지 않았습니다).
- **조심해서 볼 파일**: `hided/src/mobile/tailscale.rs` - `status`가
`--peers=false`로 묻고, 명령 실행이 `wait_with_output`(pipe 끝까지 대기)에서 blocking
작업 위의 `capture_until`로 바뀌었습니다. future가 먼저 버려져도 blocking 작업이 15초 기한 안에 자식
트리를 끝냅니다 (이전의 `kill_on_drop` 자리).
- **조심해서 볼 파일**: `hided/src/mobile/mod.rs` - 패스 합치기(`PassOwed`): `take`가
설정을 읽는 같은 `Inner` 잠금 안이라 놓치는 변경이 없고, 시계와 Settings 열기는 강제 패스라 그대로입니다.
- **조심해서 볼 파일**: `hided/tests/it/mobile.rs`, `support/fake_tailscale.rs`
- `paired_phone`이 폰이 목록에 오른 프레임까지 읽고, 대역에 `status`를 붙잡는
문(`hold-status`)과 출력을 쥔 프로세스를 남기는 문(`hold-pipes`)이 생겼습니다.
- **비용 검토**: 상시 작업 추가 없음. 명령마다 blocking 작업 하나(15초, 1 MiB 상한)이고 패스 수는
줄었습니다 (`docs/PERFORMANCE_TESTING.md` 표 갱신).

## Evidence

- **확인한 것 (with-hide#480, with-hide#435)**: 원인은 CI 실패 로그의 순서 분석으로 확정했습니다. #480은 `switched
false` 뒤에 `serve.failed add`, 그 뒤 `serve.removed`가 오고 `serve.funnel_on`은
한 번뿐이라 패스 둘이 켜진 상태로 돈 것; #435는 `start.answered revoked-1 timeout`과 그 폰의
`terminal.input_discarded`가 `phone.revoked` 로그보다 앞선 것. 20회 반복(아래)은 고치기 전
기준 비율이 없어 이 분석을 보강할 뿐 단독 증거가 아닙니다.
- **확인한 것 (with-hide#524 원인, 고치기 전 코드, 이 Mac mini macOS)**: 같은 프로세스의 스레드 6개가
`sleep 20`을 900개 띄우는 동안 `tailscale status` 대역을 동시에 4~8개씩 반복 호출했습니다. 첫 실험
4349회 중 3초 timeout 1회; 자식의 종료와 pipe 끝을 따로 잰 실험에서 `exit_after=9ms`인데 3초
안에 끝이 오지 않은 경우가 잡혔고(시작이 느린 경우는 0), 제품 호출도 같은 실행에서 1회 timeout. 한 번의 우연이
아니라 두 실행에서 같은 모양입니다.
- **확인한 것 (with-hide#524 고침, 같은 조건)**: 고친 코드로 3번 반복해 제품 호출 6335회 모두 성공, 3초 넘은 것
0. 그중 한 실행은 같은 때 옛 방식 대조군에서 `exit_after=15ms`인데 끝이 안 오는 경우가 잡혔는데도 제품 호출은
0건이었습니다.
- **확인한 것 (출력 상한과 실제 크기)**: 상한이 필요한 이유는 끝없이 쓰는 자식이 hided를 키우면 안 되기
때문이고(원칙 15) `capture_until`이 받는 최대가 1 MiB입니다. 이 Mac(Tailscale 1.96.5, 피어
27개)에서 `status --json`은 34,332바이트(피어당 약 1.16 KB), `--peers=false`는
2,967바이트(피어 0, 사용자 0), `serve status --json`은 295바이트입니다. hided가 읽는
`BackendState`, `Self`, `CurrentTailnet`, `CertDomains`는 피어 없는 답에도 그대로
있고, 이 크기는 tailnet 크기와 무관합니다. 피어를 넣은 전체 답은 약 900대에서 1 MiB를 넘습니다. 시험
`a_tailnet_too_big_to_list_its_peers_still_answers_status`는 전체 답이 1 MiB를
넘는 tailnet(1,500대)에서 플래그를 빼면 `child output exceeds 1048576 bytes`로
실패합니다.
- **확인한 것 (시험이 고침을 지킴)**: 새 시험 둘을 고침만 되돌리고 돌리면 실패합니다.
`a_process_left_holding_the_command_s_output_does_not_hold_its_answer`는
이슈 본문과 같은 `timed out after 15s`로,
`two_changes_that_meet_a_running_pass_cost_one_pass_more`는 패스 합치기를 되돌리면
`tailscale status`가 7번 돌아(고친 코드는 6번 모두 4번) 상한 4를 넘어 실패합니다. 출력 밖에 있는 보유자는
`hide-platform`의 기존 세 시스템 계약 시험
`a_pipe_holder_outside_the_tree_does_not_hold_the_answer`가 맡습니다.
- **확인한 것 (이 Mac mini)**: `hided` 단위 617개와 통합 136개 통과(36개는 원래 ignore),
clippy `-D warnings`와 fmt 깨끗. 이 Mac mini에서 `verify-cargo.sh test`가
workspace 전체를 돌 때 `hide-agent-hooks`의 메모리 시험 둘(훅 기한 1250ms 초과)이 부하 속에서
실패했고 이 PR이 건드리지 않은 크레이트입니다.
- **확인한 것 (CI 20회)**: 고친 코드(`d4f23c551`) 위에 네 시험(with-hide#435 with-hide#480 with-hide#524 #158의
것)을 각각 20번 등록한 프로브 커밋(`6b1960ad7`, 다음 커밋에서 되돌림)을 PR의 rust 레인(ubuntu,
nextest `ci` 프로필, 재시도 1회)에서 돌려 전체 4808개가 통과했고 프로브 80개가 모두 첫 시도에 통과했습니다
(재시도와 `FLAKY` 줄 없음, run 42377510005). 고치기 전 비율을 재지 않아 고침 전후를 가르는 증거는
아니고, 이 코드에서 20회 연속 통과했다는 확인입니다.
- **확인하지 못한 것**: 위 20회 반복은 PR의 rust 레인(ubuntu)이라 macOS의 pipe 상속은 재현하지
못합니다. #524의 근거는 위 mini 실험과 시험입니다. 고치기 전 코드로 같은 반복을 돌려 재현율을 재지는 않았습니다.
#158의 실패 실행에서 `tailscale` 명령이 실제로 15초에 걸렸는지는 기록이 없어 확인하지 못했습니다. 이 PR의
macOS 전용 시험 레인은 PR CI에 없고 야간 레인에 있습니다. `--peers=false`는 이 Mac의 1.96.5
도움말에서 확인했고 더 오래된 Tailscale CLI에서의 지원은 확인하지 못했습니다.
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