Repository navigation
Mark support for projects that Bazel builds as experimental - #2222
Conversation
Support for a project that Bazel builds is new, every ruleset is an integration of its own, and a Bazel build fails late: a command can exit 0 and the build after it can still fail where a workspace is written in a way the docs do not list. What the commands do there is expected to change as such workspaces are met. So the docs say it is experimental, in three places: - the v5 support tiers gain an "Experimental" tier, between Legacy and Not supported: tested in CI on the shapes its section lists, free to change in any v5.x release, a regression not a release blocker; - the tier table gains a row for a project that Bazel builds; - "Bazel workspaces: what is supported" opens with the statement, and says that none of it applies to a project in no Bazel workspace. Docs only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…described A review of the first commit found the label too narrow and in too few places: - Its scope was "a project that Bazel builds", while some of what a Bazel workspace brings acts on any project in the workspace (the Composer refusal in vendored mode, the `.bazelignore` lines). The label now covers everything socket-patch does differently because a project is in a Bazel workspace, `vex` included. - The opening paragraph tied a failing build after exit 0 to shapes the page does not list, while the section's own known problems list such shapes. It now says: any shape the table does not list as Supported. - The tier row used "Not supported" for agent mode in a sense the tier table does not define, said agent mode runs as without Bazel (it writes `.bazelignore` lines and adds warnings there), and scoped vendored mode to every ecosystem the section lists. The row now gives agent mode no tier and scopes the others to what the Bazel table says is Supported. - The tier introduction and the support policy promised that everything keeps working through v5.x, with no exception for the new tier. Both now name it, and the policy says a tier can move up from Experimental. - Each other Bazel section, the two Bazel passages of docs/usage.md and the tier summary of docs/migrating-to-v5.md now carry the label or a pointer to it. The Bazel flags, variables and codes of CLI_CONTRACT.md are marked in a separate change that also adds an off switch. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PR SummaryLow Risk Overview The tier table and support policy document that Experimental behavior can change in any v5.x release (not a release blocker), can move up to Beta/Supported, and is exempt from the “keeps working through v5.x” rule. The ecosystem matrix adds a Bazel-workspace row: hosted/vendored are Experimental where the Bazel section says Supported; agent has no tier there.
Reviewed by Cursor Bugbot for commit afb5570. Configure here. |
|
[agent] PR shepherd: review brief for the approver What it does. Docs only. Adds an "Experimental" support tier and labels everything socket-patch does differently in a Bazel workspace (modes, Risk. Low: three Markdown files, no code, no CLI or build behavior changes. Look here
Verified
Changes I made. None. Open questions
Generated by Claude Code |
Wenxin Jiang (Wenxin-Jiang)
left a comment
There was a problem hiding this comment.
[agent] Reviewed; no major findings.
Everything socket-patch does differently in a Bazel workspace is now labelled experimental in the docs, with an "Experimental" tier of its own.
Docs only, three files, based on main.
Why
Decided by the maintainer on 2026-11-24. Support for Bazel workspaces is new. Every ruleset is an integration of its own, and a Bazel build fails late: a command can exit 0 and the build after it can still fail, or take the unpatched package. What the commands do there is expected to change as more workspaces are met, so the first release that carries it should not promise the stability of the rest of the matrix.
What changes
vexsays, the.bazelignorelines, and the refusals and warnings that only a Bazel workspace brings, also for a project in the workspace that Bazel does not build. It says that a build can fail after exit 0 in any shape the table does not list as Supported, to build with Bazel before committing a result, and that none of it applies to a project in no Bazel workspace.docs/ecosystems.md, the two Bazel passages ofdocs/usage.mdand the tier summary ofdocs/migrating-to-v5.mdcarry the label or a pointer to it.The cells of the Bazel table keep their words: they say what was built and tested, and the tier says how much that is worth.
Not in this change
crates/socket-patch-cli/CLI_CONTRACT.mdstill lists the Bazel flags, variables and codes with no Experimental mark. They are marked in a separate change that is being prepared, together with a switch that turns the Bazel handling off. Until that lands the two documents disagree about those names.How it was checked
Code review
Eight findings on the first commit, seven taken in the second:
.bazelignorelines act on any project in one.Not taken here: the marks in
CLI_CONTRACT.md, for the reason above.🤖 Generated with Claude Code