Skip to content

feat: roll rbe-credential-helper releases into build-tools - #223

Merged
MarshallOfSound merged 2 commits into
mainfrom
feat/rbe-credential-helper-roll
Oct 24, 2026
Merged

MarshallOfSound merged 2 commits into
mainfrom
feat/rbe-credential-helper-roll

Conversation

@claude

@claude claude Bot commented Oct 24, 2026 •

Copy link
Copy Markdown
Contributor

Requested by Samuel Attard 路 Slack thread

This moves the build-tools credential helper bump out of a GitHub Actions job and into roller: on a release.published webhook from electron/rbe-credential-helper, roller reads the release back until all six platform tarballs are uploaded with a digest, checks that each file build-tools will download from the CDN hashes to that digest (so a missing CDN file like the one that got build-tools#734 reverted never reaches a PR), then opens or updates a single roller/rbe-credential-helper/main PR on electron/build-tools that rewrites the tag and all six sha256 entries in src/utils/rbe-credential-helper.json (plain JSON, so the roll never touches build-tools code), committing through the contents API so GitHub signs it as electron-roller[bot] and skipping releases that are not newer than what main or the open roll PR already pins. For this to fire, the electron-roller App needs to be installed on electron/rbe-credential-helper with Contents read and the Release event subscribed (plus Contents and Pull requests write on electron/build-tools), and this depends on electron/build-tools#923 (which moves the pin out of reclient.ts into that JSON file) and electron/rbe-credential-helper#50 (which cuts releases automatically) landing first.


Generated by Claude Code

On `release.published` from electron/rbe-credential-helper, read the
release back until all six platform tarballs are uploaded with a digest,
verify each CDN file build-tools downloads hashes to that digest, then
open or update a single `roller/rbe-credential-helper/main` PR on
electron/build-tools that rewrites CREDENTIAL_HELPER_TAG and every
CREDENTIAL_HELPER_SHA256 entry in src/utils/reclient.ts. Releases that
are not newer than what build-tools (or the open roll PR) already pins
are skipped.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SRpnCfe3GVUxrP8zoGTsVG
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SRpnCfe3GVUxrP8zoGTsVG
@MarshallOfSound
MarshallOfSound marked this pull request as ready for review October 24, 2026 07:06
@MarshallOfSound
MarshallOfSound requested review from a team as code owners October 24, 2026 07:06

@claude claude Bot left a comment

Copy link
Copy Markdown
Contributor Author

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/rbe-credential-helper-handler.ts
Comment thread src/index.ts
Comment thread src/rbe-credential-helper-handler.ts
@MarshallOfSound
MarshallOfSound merged commit a06e435 into main Oct 24, 2026
6 checks passed
@MarshallOfSound
MarshallOfSound deleted the feat/rbe-credential-helper-roll branch October 24, 2026 19:15
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