Skip to content

fix: stop setting use_reclient = false for siso builds - #928

Merged
MarshallOfSound merged 2 commits into
mainfrom
clavin/drop-use-reclient
Nov 2, 2026
Merged

MarshallOfSound merged 2 commits into
mainfrom
clavin/drop-use-reclient

Conversation

@clavin

@clavin clavin commented Oct 29, 2026

Copy link
Copy Markdown
Member

Chromium removed the use_reclient build arg in CL 8673238, so gn now warns Build argument has no effect for every config e init --remote-build siso creates. That warning goes to stdout, so it also ends up in gn desc output. On electron/electron it broke the mksnapshot args file in CI (worked around in electron/electron#55436).

Every supported Chromium already defaults use_reclient to use_remoteexec && !use_siso (since 144), which is false once use_siso = true is set. So the explicit line is redundant on all active release lines. This drops it from e init, the example configs, and the matching test expectation.

🤖 Generated with Claude Code

Chromium removed the use_reclient build arg in
https://chromium-review.googlesource.com/c/chromium/src/+/8673238, so gn now
warns that it has no effect. Every supported Chromium version already
defaults it to `use_remoteexec && !use_siso`, which is false once
use_siso = true is set.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@clavin
clavin marked this pull request as ready for review October 29, 2026 18:36
@clavin
clavin requested review from a team and ckerr as code owners October 29, 2026 18:36

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nothing blocking. The comments below are optional suggestions. There is no need to push a fix for them before merging.

Comment thread src/e-init.ts Resolved

@dsanders11 dsanders11 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed with the Claude review comment, we should also clean existing configs if the presence can cause failures.

@MarshallOfSound
MarshallOfSound enabled auto-merge (squash) October 30, 2026 06:53
@MarshallOfSound

Copy link
Copy Markdown
Member

Approving in case folks want to land and follow-up with the migration. Currently patching build-tools to work around this locally (it throws in some cases)

Configs created by older versions of `e init` still carry the arg, so
have the sanitizer drop it too.

Co-Authored-By: Claude Opus 5.5 <[email protected]>

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No new blocking issues. 1 optional suggestion (a nit or a note on pre-existing code) was found and not posted. Nothing in this review needs a push before merging.

@clavin
clavin requested a review from dsanders11 November 2, 2026 19:08
@clavin
clavin dismissed dsanders11’s stale review November 2, 2026 20:20

Added sanitization

@MarshallOfSound
MarshallOfSound merged commit 9e83aa7 into main Nov 2, 2026
14 checks passed
@MarshallOfSound
MarshallOfSound deleted the clavin/drop-use-reclient branch November 2, 2026 20:21
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.

3 participants