Visitar URL original
build: authenticate curl requests to googlesource in lint workflow by codebytere · Pull Request #50001 · electron/electron · GitHub
Skip to content

build: authenticate curl requests to googlesource in lint workflow - #50001

Merged
jkleinsc merged 1 commit into
mainfrom
fix-rate-limiting-lint
Mar 2, 2026
Merged

jkleinsc merged 1 commit into
mainfrom
fix-rate-limiting-lint

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Speculative fix for lint failures!

The "Download GN Binary" and "Download clang-format Binary" steps fetch files from chromium.googlesource.com without passing authentication cookies. When googlesource rate-limits or returns a transient error (502), the HTML error page is piped into base64 -d, causing base64: invalid input.

The set-chromium-cookie action already configures ~/.gitcookies in a prior step. Pass -b ~/.gitcookies to both curl calls so they authenticate, matching what the cookie verification step itself does.

Checklist

Release Notes

Notes: none

The "Download GN Binary" and "Download clang-format Binary" steps
fetch files from chromium.googlesource.com without passing
authentication cookies. When googlesource rate-limits or returns a
transient error (502), the HTML error page is piped into `base64 -d`,
causing `base64: invalid input`.

The `set-chromium-cookie` action already configures `~/.gitcookies`
in a prior step. Pass `-b ~/.gitcookies` to both `curl` calls so
they authenticate, matching what the cookie verification step itself
does.
@codebytere
codebytere requested a review from a team as a code owner March 2, 2026 11:36
@electron-cation electron-cation Bot added the new-pr 🌱 PR opened recently label Mar 2, 2026
@codebytere
codebytere requested a review from jkleinsc March 2, 2026 11:36
@codebytere codebytere changed the title fix: authenticate curl requests to googlesource in lint workflow build: authenticate curl requests to googlesource in lint workflow Mar 2, 2026
@electron-cation electron-cation Bot added semver/none and removed new-pr 🌱 PR opened recently labels Mar 2, 2026
@codebytere

Copy link
Copy Markdown
Member Author

@jkleinsc jkleinsc added target/41-x-y PR should also be added to the "41-x-y" branch. target/38-x-y PR should also be added to the "38-x-y" branch. target/39-x-y PR should also be added to the "39-x-y" branch. target/40-x-y PR should also be added to the "40-x-y" branch. labels Mar 2, 2026
@jkleinsc
jkleinsc merged commit e1e11c8 into main Mar 2, 2026
72 checks passed
@jkleinsc
jkleinsc deleted the fix-rate-limiting-lint branch March 2, 2026 16:29
@release-clerk

release-clerk Bot commented Mar 2, 2026

Copy link
Copy Markdown

No Release Notes

@trop

trop Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "38-x-y", please check out #50025

@trop

trop Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "39-x-y", please check out #50026

@trop

trop Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "40-x-y", please check out #50027

@trop

trop Bot commented Mar 2, 2026

Copy link
Copy Markdown
Contributor

I have automatically backported this PR to "41-x-y", please check out #50028

@trop trop Bot added in-flight/39-x-y in-flight/40-x-y in-flight/41-x-y and removed target/39-x-y PR should also be added to the "39-x-y" branch. labels Mar 2, 2026
@trop trop Bot added merged/41-x-y PR was merged to the "41-x-y" branch. merged/40-x-y PR was merged to the "40-x-y" branch. merged/39-x-y PR was merged to the "39-x-y" branch. merged/38-x-y PR was merged to the "38-x-y" branch. and removed target/40-x-y PR should also be added to the "40-x-y" branch. target/41-x-y PR should also be added to the "41-x-y" branch. in-flight/41-x-y in-flight/40-x-y in-flight/39-x-y in-flight/38-x-y labels Mar 2, 2026
@mlaurencin mlaurencin mentioned this pull request Mar 3, 2026
1 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged/38-x-y PR was merged to the "38-x-y" branch. merged/39-x-y PR was merged to the "39-x-y" branch. merged/40-x-y PR was merged to the "40-x-y" branch. merged/41-x-y PR was merged to the "41-x-y" branch. semver/none

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants