Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Circle CI API token to request header if available #26519

Merged
merged 1 commit into from
Mar 30, 2023

Conversation

mondaychen
Copy link
Contributor

@mondaychen mondaychen commented Mar 30, 2023

Follow up of #26499
A Circle CI team member got back to me. It is indeed not necessary, but they had a regression not long ago on fetching without token.
https://discuss.circleci.com/t/is-api-token-required-when-fetching-artifacts/47606/5

To mitigate the impact of this kind of issues, let's add this token to requests' header when it's available.

@facebook-github-bot facebook-github-bot added CLA Signed React Core Team Opened by a member of the React Core Team labels Mar 30, 2023
@react-sizebot
Copy link

Comparing: 0ffc7f6...12ab1be

Critical size changes

Includes critical production bundles, as well as any change greater than 2%:

Name +/- Base Current +/- gzip Base gzip Current gzip
oss-stable/react-dom/cjs/react-dom.production.min.js = 162.20 kB 162.20 kB = 51.29 kB 51.29 kB
oss-experimental/react-dom/cjs/react-dom.production.min.js = 163.85 kB 163.85 kB = 51.79 kB 51.79 kB
facebook-www/ReactDOM-prod.classic.js = 556.25 kB 556.25 kB = 98.33 kB 98.33 kB
facebook-www/ReactDOM-prod.modern.js = 539.97 kB 539.97 kB = 95.88 kB 95.88 kB

Significant size changes

Includes any change greater than 0.2%:

(No significant changes)

Generated by 🚫 dangerJS against 12ab1be

@mondaychen mondaychen merged commit 5b8cf20 into facebook:main Mar 30, 2023
EdisonVan pushed a commit to EdisonVan/react that referenced this pull request Apr 15, 2024
Follow up of facebook#26499
A Circle CI team member got back to me. It is indeed not necessary, but
they had a regression not long ago on fetching without token.

https://discuss.circleci.com/t/is-api-token-required-when-fetching-artifacts/47606/5

To mitigate the impact of this kind of issues, let's add this token to
requests' header when it's available.
bigfootjon pushed a commit that referenced this pull request Apr 18, 2024
Follow up of #26499
A Circle CI team member got back to me. It is indeed not necessary, but
they had a regression not long ago on fetching without token.

https://discuss.circleci.com/t/is-api-token-required-when-fetching-artifacts/47606/5

To mitigate the impact of this kind of issues, let's add this token to
requests' header when it's available.

DiffTrain build for commit 5b8cf20.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed React Core Team Opened by a member of the React Core Team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants