Repository navigation
test(regression): #746 catalogue second batch + manifest exhaustiveness gate - #944
Conversation
…ss gate - manifest rows for the four case files that shipped unscored: issue-860/861 (PR #883), issue-868, issue-876 - all must-match - ten new cases: issue-699/701/830/832 must-match (closed/fixed); issue-700 and issue-846 diverges (residuals tracked as rubash#938 and rubash#940); issue-840/856/871/879 diverges (open) - runner: stage each arm in its own work dir (out/<case>/{arm,gnu}/) so one arm's fixture mutations cannot contaminate the other; remove dead SCRIPT constant - runner: UNSCORED (case file with no manifest row) and DANGLING (manifest row with no case file, full runs) are reported and fail the run with exit 2 - an unscored case is a hole in the ratchet - README: document the batch, the UNSCORED/DANGLING rules, and scope Verification note: arm-side staging + bounded runs were executed under target/debug/rubash.exe only; the WSL GNU 5.3.0 oracle leg was not run this session. Declared states follow the case authors' byte-verified probes; a full catalogue run is the confirming measurement. Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
验证结论(本地实跑,非纸面):穷尽门与 13/14 判别力成立,但 issue-830 是永久假警报,合并会污染整个 ratchet 信号,请修后再来。 已验证为真的部分
阻塞项:issue-830 must-match 假警报runner 实测 verdict: 差异只有一行—— 票面本体(PWD-tail=sub、phys=sub、rc)两侧全过;挂掉的是 case 里直接打印 这也解释了为什么 arm-side 自测没抓到:没有 GNU 腿同场跑,DIFF 不会出现(你的 test plan 第二项未勾选正是缺的这一步)。 修法(任选其一,建议 1):
修完把 14 例跑一遍真 differential(GNU 腿别再跳过)即可合并。871 行建议顺手 flip 成 must-match(实测已逐字节一致)。856 行在 rubash#946 合并后会 PROMOTE,属预期。 |
…, flip issue-871 to must-match (#746) issue-830 (BLOCKER): the case printed the full physical cwd via pwd -P, but the per-arm staging (out/<case>/{arm,gnu}/) puts the two legs on necessarily different paths, so the normaliser could only shrink them to /mnt@P@ vs @p@ — the row declared must-match and could never match: every full run exited 1 on a permanent false ALARM. Probe the tail segment instead (basename "$(pwd -P)"); the ticket substance (PWD-tail=sub, phys=sub, rc) was already identical on both sides and stays pinned. issue-871: the declared-diverges row is stale — the infin/nann/infx/nanx face (value + invalid-number diagnostic + rc 1) is byte-identical to the GNU oracle. Flip to must-match; case comment and README row updated. Verified differentially (arm built at 0c50b41, WSL GNU bash leg, no skips): full 51-case run exits 0 with no ALARM and no UNSCORED/DANGLING; negative control (issue-700 temporarily declared must-match) alarms and exits 1, so the ratchet still bites.
返工完成(评审阻塞项已修,全部验收本地实跑)接手原实现通道的返工,两个改动一个 commit: 1. BLOCKER:issue-830 永久假警报(按评审建议 1 修)用例里 修法:该行改 2. issue-871 flip:diverges → must-match修前 differential 实测该用例两侧逐字节一致(stdout/stderr/rc 全 same,无 diff 产物),与评审一致。manifest 行 flip 为 must-match,note 注明实跑依据;用例头注释与 README 表行(#871 状态列 + 尾注)同步更新。 验收(arm 于 c983f74 重新链接构建;GNU 腿=WSL bash,未跳过,全量 51 例)
备注(非本 PR 范围)issue-879 全量 run 报 PROMOTE(评审已提及其行过时),按任务边界未动,留待后续。issue-846 如声明 INCOMPLETE(嵌套 |
|
返工验收通过,实跑复核(head c983f74,本地 debug arm + WSL GNU bash 5.3.0(1) LC_ALL=C,经 CREATE_NO_WINDOW 蹦床单进程落文件):
两点记档(非阻塞):issue-879 本轮报 PROMOTE(声明 diverges 但实测 match,ratchet 按设计放行 exit 0)——与 871 同类的过时行,建议后续票顺手 flip;issue-840 行在 #947 合并后会同样 PROMOTE,属预期。 合并(--squash --admin)。 |
终审通过(rework
|
Summary
Second batch of the #746 regression catalogue — harness changes plus cases:
Harness (
runner.py)out/<case>/{arm,gnu}/). Previously both arms shared one staged dir, so the arm's fixture mutations could contaminate the GNU leg's files — the "each arm builds its own fixtures" rule was claimed but not true.issue-860/861/868/876) shipped that way.Manifest rows for the four previously-unscored cases —
issue-860,issue-861,issue-868,issue-876, allmust-match(fixes already merged: PR #883, #868, #876 commits).Ten new cases
must-match(closed/fixed):issue-699(redirection/fd family, 5 faces),issue-701(/dev/fd/N+ EOF-without-newline rc),issue-830(popd must chdir),issue-832($(echo 's')CWD-independence).diverges(residuals filed):issue-700(pipe-context/dev/stdin+<&0read empty → read builtin reads empty via </dev/stdin / <&0 in pipeline group context (residual of the #700/#701 fd family) #938),issue-846(diagnostic bypass on()/simple faces + nested-!abort → redirect-failure diagnostic bypasses ordered fd table on ()/simple faces; ! + compound + redirect failure inside a group aborts the script (residual of #826/#846) #940).diverges(open):issue-840,issue-856,issue-871,issue-879.README documents the batch, the UNSCORED/DANGLING rules, and what this batch deliberately does not pin (#705 launcher faces, static/inventory issues, the niubash/WinuxCmd tables).
Note:
tests/issue879_printf_longdouble_regressions.rslanded on master after this batch was written —issue-879'sdivergesrow is expected to report PROMOTE on the next full catalogue run, which is the ratchet working as designed.Test plan
target/debug/rubash.exe: must-match cases produce the issue-recorded GNU outputs; diverges cases reproduce their documented residual faces (issue-846correctly goes INCOMPLETE on the nested-!abort).Refs #746
Generated with Devin