Repository navigation
Say that vendored Composer is declined in the Bazel known problems - #2205
Conversation
The list of known problems in "Bazel workspaces: what is supported" names the commands that exit 0 and leave a Bazel build that fails, and it still named vendored mode for Composer among them. Since the Composer decline landed that is no longer so: in a Bazel workspace vendored mode refuses a Composer package with `vendor_composer_bazel_workspace`, exits 1 and writes nothing, and only `--allow-vendored-in-bazel` brings the old behaviour back. The entry now covers PyPI, RubyGems and NuGet, and says what Composer does instead, with a link to its own section. Docs only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The first version of this change said a Composer package "is not among" the commands that exit 0 and leave a failing Bazel build, and then described a Composer case that is one: with the refusal lifted the command exits 0 and the build fails. It also restated the refusal's code, exit status and flag, which other sections carry, and left out the dry runs and the environment variable. The list now has an entry of its own for vendored Composer where the refusal is lifted or does not apply. It points to "Bazel workspaces: Composer" for the refusal, what lifts it and the cases it does not see, names the failure and the remedy, and says that a test builds it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PR SummaryLow Risk Overview The first bullet now covers only those three ecosystems (unchanged behaviour: command exits 0, build fails on missing vendored paths). Composer gets its own bullet: vendored mode is normally declined in a Bazel workspace (with a link to the Composer workspace section), while the entry documents the remaining cases where the command still exits 0 and the build fails with Reviewed by Cursor Bugbot for commit 96efed6. Configure here. |
|
[agent] PR shepherd: review brief for the approver What it does. Docs only. The Bazel "known problems" list said vendored Composer exits 0 and breaks the build. Since the Composer decline landed, vendored mode refuses Composer in a Bazel workspace. This PR splits Composer into its own entry that covers only the cases where the refusal is lifted ( Risk. Low. One Markdown file, no code. Look here
Verified
Changes I made. None. Open questions. None. Generated by Claude Code |
Wenxin Jiang (Wenxin-Jiang)
left a comment
There was a problem hiding this comment.
[agent] Reviewed the Composer Bazel documentation against the refusal implementation and the Bazel integration coverage. The revised guidance matches the default and opt-out behavior.
The Bazel support section no longer lists vendored Composer among the commands that exit 0 and break a Bazel build: it says the command declines it there.
Docs only, one entry of
docs/ecosystems.md, based on main.What was wrong
"Bazel workspaces: what is supported" has a list of known problems: commands that exit 0 today and leave a Bazel build that fails. Its first entry named vendored mode for PyPI, RubyGems, NuGet and Composer.
The Composer decline (#2186) changed that for Composer. In a Bazel workspace vendored mode now refuses a Composer package with
vendor_composer_bazel_workspace, exits 1 and writes nothing. The entry was written before that change landed and still described the old behaviour.What changes
Source path ... is not found) and the remedy (vendor --revert, then hosted mode), and says that a test builds that failure on the three Bazel releases.The table row for Composer is unchanged: vendored mode stays "Not supported" there.
How it was checked
failedevent and exit 1, and nothing written are held by the Composer flows ofe2e_bazel_buildand the unit tests of the refusal; the failed build under the flag is the flowcomposer::vendored_repository_rule.Code review
Seven findings on the first version, all about the new text, all taken:
🤖 Generated with Claude Code