Repository navigation
ci: run every integration stem in the census, with recorded exclusions (Refs unixwin/niubash#955) - #3600
Conversation
…s (Refs unixwin/niubash#955) The pin-stem census (rubash#3430) enumerated tests/issue*.rs only, so the ~83 non-issue stems (oils spec corpus, executor_tests, lexer/parser matrices, deep audits, enable_dynamic_loading, multi_session_isolation) never executed anywhere -- niubash#955's visibility gap. - scripts/ci-run-pin-stems.sh now enumerates tests/*.rs; any new target is covered by default. - scripts/ci-pin-exclusions.txt gains an ELSEWHERE class for stems that already run in a dedicated lane (cli_tests, regression, marker_leak_golden) plus first-census entries for the stems red on master (2026-11-14 Linux census: 2721 tests, 2567 pass / 154 fail / 36 skip). executor_tests was re-run serially (52 red of 1561) to separate parallel-load flake from product red. - .config/nextest.toml: the intended hard-kill never existed -- timeout-source/termination-timeout are unknown keys nextest silently ignores, so a hung test would still eat the job. Real config: slow-timeout period=30s terminate-after=3 grace-period=10s, i.e. log at 30s, kill by name at 90s -- exactly what the comment promised. - New profile.ci override pins enable_dynamic_loading to threads-required=num-test-threads: its tests share the target/enable-dynamic-fixture .so and race under the parallel schedule (serial run: 10/10 pass). Box verification: stub-cargo run enumerates 1381 stems with all 104 exclusions applied and no stale entries; full nextest census of the 83 new stems ran on this Linux box (raw logs under target/issue-suites/results/niubash955-*). Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
【WIN-AGENT-AUDIT】 机制核查:
腿(逐项):
核心疑点(给队长的裁断输入):
F 点:无代码级 F 点;上述可达性问题列为疑点供裁断。 |
|
Captain verdict: PASS — concurring with the Windows agent audit (6885818377). Mechanism verified: the exclusion table is complete (104 entries, 0 stale — agent checked each against the tree), the nextest.toml keys are real ( The reachability doubt is adjudicated, not a merge blocker: the census step being unreachable while issue2875 is red is a pre-existing job-ordering defect, not something this PR introduces — it is now filed separately as #3656 (decouple the census step from the lib step). Merge body stays Refs unixwin/niubash#955 as the PR body already says; rubash #3430 stays open — its face is only closed by the #3656 fix, not by this enumeration change. |
|
【WIN-AGENT-REWORK】 PR #3600 第2轮 — 建议:PASS(CI 红任务逐个归类完毕) 本轮腿(CI 按名归类,job 日志逐条核):
疑点保留(如实上报,不阻塞):普查步在 lib 步红于基线 issue2875 期间不可达(步骤排序既有问题,非本 PR 引入),扩面 86 stem 的本地普查仅 PR 自述一份——待 issue2875 转绿或步骤改序后由 CI 自证。 判词翻 PASS,按协议 squash 合并。 |
The dynamic pin-stem census (scripts/ci-run-pin-stems.sh) ran as the last step of the rust job, after 'cargo nextest run --lib'. A lib-step failure terminates the job, so the census never executed: since the issue2875 baseline red, the census has run zero times on master, and the widened enumeration from #3600 (+86 non-issue stems) was never CI-verified. Move the census to its own job, pin-stem-census, with no continue-on-error, following the #2176 cli-tests precedent: a census failure shows up as a red named check, and a lib-step red can no longer hide it. The job replicates the setup the census relied on inside the rust job (bashdb fixture, nextest install, cargo build so pins can spawn target/debug/rubash). Not a required gate yet: the census is red on master (known-red baseline), so gating today would block every PR; promote once the census reaches zero. Root cause: job steps default to if: success(), so any earlier step failure skips all later steps in the same job. UNVERIFIED-BY-CAPTAIN 本 PR 删除了什么:无产品代码、无测试、无文件删除。仅把 .github/workflows/ci.yml 中 'Run all integration test stems' 一步 从 rust job 移入新建的 pin-stem-census job;rust job 的超时注释 随之更新(census 的 60 分钟 backstop 移入新 job)。 Co-authored-by: 曹梦轩 <[email protected]>
Summary
Implements the "wire the suite into CI" option of unixwin/niubash#955 — the pin-stem census (
rubash#3430) enumeratedtests/issue*.rsonly, so the 83 non-issue stems never executed anywhere (oils spec corpus,executor_tests, lexer/parser matrices, deep audits,enable_dynamic_loading,multi_session_isolation). The enumeration is nowtests/*.rs, so every new target is covered by default; the only way out is an explicit, reasoned entry inscripts/ci-pin-exclusions.txt— which simultaneously satisfies the issue's option 2 (explicit intent for what doesn't run).Changes
scripts/ci-run-pin-stems.sh— enumeratetests/*.rsinstead oftests/issue*.rs.scripts/ci-pin-exclusions.txt— newELSEWHEREclass for stems that already run in a dedicated lane (cli_tests→ cli-tests job,regression→ windows regression job,marker_leak_golden→ named rust-job lane), plus first-census entries for the stems red on master..config/nextest.toml— the comment promised "log at 30s, hard-fail at 90s" but the keystimeout-source/termination-timeoutare unknown to nextest and silently ignored — no hard kill existed; a hung test would still eat the job (exactly the hazard the issue names). Real config:slow-timeout = { period = "30s", terminate-after = 3, grace-period = "10s" }.profile.cioverride pinsenable_dynamic_loadingtothreads-required = "num-test-threads"— its tests sharetarget/enable-dynamic-fixture/rubash_dynprobe.soand race under the parallel schedule (serial run: 10/10 pass).Census evidence (this box, Ubuntu, 2026-11-14)
multi_session_isolationexceeded the 90s budget (>283s, still running when killed) →TIMINGentry.target/issue-suites/results/niubash955-*).enable_dynamic_loadingserial vs parallel: 10/10 vs 6/10 → isolated via override, not excluded.Refs unixwin/niubash#955