Skip to content

test(regression): arm the #761 guards and promote lim-f5-fd-cap (#761, #773) - #908

Merged
caomengxuan666 merged 2 commits into
masterfrom
arm-761-guards
Oct 20, 2026
Merged

caomengxuan666 merged 2 commits into
masterfrom
arm-761-guards

Conversation

@caomengxuan666

Copy link
Copy Markdown
Member

What this does

Turns the four #761 reproductions on, now that the fix has landed, and consumes the one PROMOTE the catalogue reported on today's master.

1. Arm the #761 guards (tests/issue761_pipeline_unbounded_producer_regressions.rs)

They were committed #[ignore]d on purpose while the defect was live (that was the point of #777: CI stays green, the fix un-ignores one line). PR #784 fixed the drain, so the attributes are gone and the tests now enforce it:

test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.72s

Both numbers matter: 6 passed (four reproductions + the two controls that were already green) and 0.72 s — the same four cases previously used the full 10 s bound and failed; a hang that is fixed shows up as "passes fast", which is exactly what a bounded test is for.

2. Promote lim-f5-fd-cap to must-match

The 2026-10-20 catalogue run (python scripts/regression-catalog/runner.py, arm built from 62a30ab1, 41 cases) printed:

PROMOTE (fix landed; flip the manifest row to must-match):
  lim-f5-fd-cap (#773)

so the row now says must-match with the run that promoted it. No other row changes: the remaining ten diverges rows still diverge, which is what their notes say they should do (including the six whose issues are closed — #704 #735 #737 #754 #757 #759 — with their residuals pointing at the follow-ups).

Full run for context: 41 cases, 31 match, 10 divergent, 0 ALARMS.

The separate style(fmt) commit — please read before reviewing

88638bff (#871, landed today) left two files unformatted, and the pre-commit hook runs a workspace-wide cargo fmt --check, so master is currently in a state where no commit can pass the hook:

Diff in src/builtins/printf/number.rs:294              (chain joining)
Diff in src/builtins/printf_tests/nonfinite_prefix_871.rs:9   (use ordering)

I did not bypass the hook (AGENTS.md forbids --no-verify) and I did not want to mix that into the test change, so it is a separate commit containing exactly the output of cargo fmt for those two files — nothing else. Drop it if you would rather format them yourselves; the second commit does not depend on it.

One detail so the fmt output can be trusted: this box had a corrupt 1.99.1 toolchain ("missing manifest … installation was interrupted"), so I reinstalled it and ran cargo fmt with the pinned 1.99.1 rustfmt (1.10.0-stable) rather than stable — the diff is therefore the pinned toolchain's, not a different rustfmt's opinion. Worth adding to the hook story: a corrupt local toolchain makes the hook look like a code problem.

Verified

  • cargo test --locked --test issue761_pipeline_unbounded_producer_regressions → 6 passed, 0 ignored, 0.72 s.
  • cargo fmt --check → clean after the fmt commit (it was red before it, on those two unrelated files).
  • Catalogue runner on the same arm → 31/41 match, 0 alarms, the PROMOTE above.

Refs #761, #773, #746.

The pinned cargo fmt --check is workspace-wide and the pre-commit hook runs it,
so 88638bf left master in a state where no commit could pass the hook. This is
the literal rustfmt output for those two files and nothing else.
The four reproductions were committed #[ignore]d while the defect was live;
PR #784 fixed it and they now pass in ~0.7 s (they previously hit the 10 s
bound), so remove the attributes and let them enforce the behaviour.

Also promote lim-f5-fd-cap to must-match: the 2026-10-20 catalogue run
(arm 62a30ab) reported PROMOTE for it, i.e. the fd table no longer caps
at 1014.
@caomengxuan666

Copy link
Copy Markdown
Member Author

评审结论:APPROVE(Ready to merge)

审阅提交:468cc9be(含前置 fmt 提交 3d332a60)

核验项

  1. pipeline: unbounded external producer + shell-side tail never returns — yes | true drains into RAM at ~250 MB/s (hangs on HEAD too) #761 回归守卫启用(tests/issue761_pipeline_unbounded_producer_regressions.rs):
  2. limits: fd table caps at 1014 with "cannot duplicate fd: Invalid argument"; read counts NUL bytes where cmdsub drops them silently; closed fd 0 then redirect errors #773 台账晋升(scripts/regression-catalog/manifest.tsv):
  3. 前置格式修复(3d332a60):
  4. CI 与合并状态:6 项检查全绿,与 origin/master 无冲突(mergeable: true)。

@caomengxuan666
caomengxuan666 merged commit e5acd06 into master Oct 20, 2026
8 checks passed
@caomengxuan666
caomengxuan666 deleted the arm-761-guards branch October 21, 2026 07:58
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