Repository navigation
ci(rust): run every regression-pin stem via dynamic census (Refs #3430) - #3436
Merged
Merged
Conversation
The rust job ran a hand-curated --test list, so any pin stem not on it never executed while CI stayed green: PR #3424's issue3406 stem ran 0 times under a green CI (10 pass + 1 skipping) and its only execution evidence was the review's box legs. scripts/ci-run-pin-stems.sh enumerates tests/issue*.rs from the tree at run time (1373 stems on this base, 2 excluded), so a new pin is covered by default; the only way out is an explicit, reasoned entry in scripts/ci-pin-exclusions.txt. The script fails the job on a stale exclusion entry, and runs nextest with --no-fail-fast so one red stem does not hide the rest of the census. Initial exclusions (pins-first, fix pending, both asserting GNU behavior that is a recorded open defect): issue2769 (#2769), issue2777 (#2777). The rust job timeout goes 30 -> 60 minutes for the full pin compile+run on a fresh runner. UNVERIFIED-BY-CAPTAIN
…ile (Refs #3430) The first census run (CI 43229859742) ran 1373 stems / 9063 tests: 8780 passed, 283 failed, 5 skipped. 87 stems were red; 83 name CLOSED issues. Each red stem is now an entry here with its issue, state, failing-test count, last-touch class, failure-signature class (PINS-FIRST / PRODUCT / MISMATCH / ENV / TIMING / FIXTURE) and what adjudication is still owed, so the gate can go green on everything else while the known-red baseline stays visible and tracked. The 83 closed-issue reds need a captain adjudication wave (serial re-runs, then fix / re-pin / file residuals).
Second census run (43234272221): 8309 passed / 2 failed. Both failures are issue2836_emulated_cat_job_control_regressions, whose 3 tests all PASSED in run 1 (2.5-3.8s) on the same product code -- a parallel-load PTY timing flake (22s wait for "[1]+ Stopped"). Triaged as TIMING with the flake evidence recorded; serial re-run owed by the captain adjudication wave.
Member
Author
复核:PASS(Refs #3430,终头
|
caomengxuan666
marked this pull request as ready for review
November 12, 2026 22:59
This was referenced Nov 12, 2026
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.
Refs #3430 — UNVERIFIED-BY-CAPTAIN
根因
rust 作业只跑手写精选
--test表(lib、marker goldens 与 8 个点名钉),其余 1367 个tests/issue*.rs钉 stem 从未在 CI 里执行,CI 全绿也不能证明新钉跑过——PR #3424 的 issue3406 stem 在 10 pass + 1 skipping 的绿 CI 下执行了 0 次(作业日志全文 0 处issue3406),唯一执行证据是复核的 box 腿。改动
scripts/ci-run-pin-stems.sh:运行时从树里枚举tests/issue*.rs(本基底 1375 个,排除 2 个后跑 1373 个),以单次cargo nextest run --profile ci --no-fail-fast全跑;新钉默认覆盖。scripts/ci-pin-exclusions.txt:唯一的出口——逐条说明理由的排除项。脚本遇过期排除项(stem 已改名/删除)即报错退出,文件须跟踪树。ci.ymlrust 作业新增最后一步Run all regression pin stems(跑该脚本);作业超时 30 → 60 分钟(全量钉编译+跑在全新 runner 上 30 分钟不够)。初始排除项(均为钉先行、修法未落地、钉断言 GNU 行为、属已立案的 OPEN 缺陷):
issue2769_death_notice_line_stamp_regressions(jobs: boundary death notices carry the just-finished command's line stamp (GNU stamps the next line) #2769:EOF 死亡通知投递竞态)issue2777_stopped_job_state_regressions(jobs: stopped (SIGSTOP) job reported as Running; checkjobs wording follows wrong state [B4 obs] #2777:kill 后 wait-status 读回 127/147/148 而非 137)两根的修法落单时,须在同一 PR 里删掉对应排除行,stem 即默认跑。
既有钉普查:
tests/共 1460 个 stem,issue*1375 个;CI 点名表只覆盖其中 8 个(issue824/1467/2036/2043/2046/2237/2250/1025…),缺口 1367 个。点名步全部保留(各有硬门注释),新步是普查门。本 PR 删除了什么
无删除:只新增两个脚本文件与一个 CI 步骤、改一行超时数字;无产品代码改动、无文件删除、无公开 API 删除、无行为删除。
验证
cargo本地验证:枚举 1373 个 stem、两根 J1 排除项仅出现在 EXCLUDED 行、过期排除项路径 rc=2 且报错准确(已还原);bash -n通过;ci.yml经 PyYAML 解析通过(rust 超时 60、新步为 rust 作业最后一步)。Run all regression pin stems步须完整跑完并在日志里打出pin stems to run: 1373。首跑若有其他钉先行红茎,须按日志逐根裁断后补进排除表再推(本 PR 不预设更多排除项)。Refs #3430
普查结果(已跑完三轮,终代全绿)
issue2836_emulated_cat_job_control_regressions2 个测试失败——该茎在第一轮 3 个测试全绿(2.5–3.8s),同一份产品代码第二轮 2 红,并行负载下 PTY 时序抖动,已按 TIMING 类进排除表。