test(repo-hygiene): pin batch_read_lines_into under ulimit -n 10 - #3653
Conversation
The fixed fd 3 open was added for a low nofile ceiling, but no case
exercised that limit. A future {fd} allocator would regress silently.
No linked issue
Co-authored-by: ksextonmelodic <ksextonmelodic@gmail.com>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Claude finished @kyle-sexton's task in 56s —— View job Security review: no issues found
Skip gate hit: this PR has no security-relevant surface. The diff (
The added test shell invokes No security issues found. |
|
Last security-reviewed head: |
|
Claude finished @kyle-sexton's task in 21s —— View job Code review skippedInvoked
No inline comments were posted since the review did not proceed past the skip gate. |
|
Claude has reviewed this PR 1 time. The lane skips further automatic reviews after 5; deleting this comment resets the count. |
No linked issue
Summary
#3641switchedbatch_read_lines_intofromexec {fd}<to fixedexec 3<so aulimit -n 10runner can still open a named source. The test matrix never exercised that limit.Fix
Add a guarded case in
batch-common.test.shthat lowersulimit -nto 10 and reads a one-line list. Skip if the host refuses the ulimit. repo-hygiene 0.10.23 (avoids in-flight 0.10.21 / 0.10.22).Verification
bash plugins/repo-hygiene/skills/clean/scripts/lib/batch-common.test.sh: cases 28-29 pass (named source opens under ulimit -n 10,low-fd read yields the line).scripts/affected-tests.sh --run: 1 suite passed.Related
Refs #3641 (Codex review on the merged PR).