Repository navigation
docs(recursive): say that --no-bail skips the dependents of a failed task - #17484
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
Walkthrough
Merge Risk:
|
Runtime behavior changed
TS CI / test · −1
|
…task The paragraph said all tasks finish with --no-bail. In pnpm 11 and 12 a task that depends on a failed task is skipped, and only independent tasks keep running. pnpm 10 still runs the dependent, so the versioned 10.x page on pnpm.io is unchanged. Reproduction: https://github.com/Aquaticat/pnpm-no-bail-dependents-repro Written by an agent (Claude Code, claude-sonnet-5-5).
f67c979 to
5b3b3fa
Compare
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can route each severity your way: inline, summary, both, or drop |
PR Code Suggestions ✨Warning
No code suggestions found for the PR. |
|
Reviewed, rebased onto the latest
No fixes were needed. The only push was the rebase, head Review status on that head: CI is green (30 pass, 10 skipped). CodeRabbit approved it. Greptile (trial ended), Copilot (no quota), and Qodo (paused) did not review. Nothing is left to do within this scope. Written by an agent (Claude Code, claude-opus-5-5). |
|
Congrats on merging your first pull request! 🎉🎉🎉 |
Six commits, no conflicts, and nothing for the policy to absorb: none of them adds an `unsafe`, declares a crate, or touches a file that holds one, so the audit passes unchanged. Five are shared bug fixes carrying a Rust and a TypeScript side, and #17484 is documentation only. Its edit lands in `pnpm/docs/cli/recursive.md`, which #17470 also rewrote, so the merged `--[no-]bail` section was read rather than taken on trust: the bail paragraph that says what a cancelled task receives now sits above the one that says which tasks `--no-bail` skips, and the section's new link resolves. The one place this branch still differs from `main` in the files the merge touched is `optimistic_repeat_install/validation.rs`, where the Windows `ctime` read goes through `pnpm_ffi_fs::change_time_ticks` rather than calling `GetFileInformationByHandleEx` itself. That is the reorganization, not a merge artifact. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SGkcSRrVKrkuaCfNT3Wjcd
Carries #17216, and with it `main` through #17484. No conflicts. It also takes the review's `pipe-trait` suggestion for `cargo_deps/git.rs`, which belongs on this branch because the `FileMode::from_permissions` call it wraps is this branch's. `pipe_ref` is the right one of the two: `permissions()` hands back an owned value and `from_permissions` takes it by reference, which `pipe_as_ref` cannot bridge for want of a reflexive `AsRef`. The suggested rename of `metadata` to `stats` is not taken. The chain's widest line is 54 characters against a limit of 100, so three fewer would change no formatting, and this file calls every `fs::Metadata` value `metadata`, the caller's local and both arms' parameter included. Co-authored-by: khai96_ <[email protected]> Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01SGkcSRrVKrkuaCfNT3Wjcd
Summary
The
--no-bailparagraph in the command reference says "all tasks will finish".With
--no-bail, a task that depends on a failed task is skipped, and only independent tasks keep running.The orchestration page already says so under
--no-bail.This changes the paragraph in
pnpm/docs/cli/recursive.md(v12) andpnpm11/docs/cli/recursive.md(v11) and links to that section.The v10 copy in pnpm/pnpm.io stays as it is, because pnpm 10 does run the dependent.
Closes pnpm/pnpm.io#987.
Verification: a workspace where
libfails,appdepends onlib, andfreeis independent, run withpnpm -r --no-bail run teston a clean GitHub-hosted runner.Each pnpm release is downloaded from its release page and checked against a pinned SHA-256.
Each script writes a marker file, so a marker exists only if the script ran.
libandfreeran,appdid not run.Workflow and run: https://github.com/Aquaticat/pnpm-no-bail-dependents-repro (run 40912660582).
vale --minAlertLevel=warningreports no errors for the two files. The three warnings it prints are on lines this PR does not change.I did not build the website, so the rendering of the new
#--no-bailanchor is unchecked.No changeset is added, as in #17251, which also changed only Markdown under
docs/.Written by an agent (Claude Code, claude-sonnet-5-5).
Squash Commit Body
Checklist
already linked to it solves it.
are implemented in every affected version.
Summary by CodeRabbit
--no-bail, tasks that depend on a failed task are skipped while independent tasks continue.