Skip to content

save registry auth token before bootstrapping verdaccio#35991

Closed
hoxyq wants to merge 1 commit intofacebook:mainfrom
hoxyq:export-D42806081
Closed

save registry auth token before bootstrapping verdaccio#35991
hoxyq wants to merge 1 commit intofacebook:mainfrom
hoxyq:export-D42806081

Conversation

@hoxyq
Copy link
Copy Markdown
Contributor

@hoxyq hoxyq commented Jan 27, 2023

Summary:
Changelog: [Internal]

While cherry-picking all this logic to 0.71-stable branch, we've discovered several issues where some packages were failing to be published on Verdaccio proxy

This was failing only on node v16+, after some research, I've noticed that there might be a race-condition and npm unable to grab this token before first npm publish executes

Although this still work well on main branch, I am backporting it to keep aligned with 0.71-stable

Differential Revision: D42806081

Summary:
Changelog: [Internal]

While cherry-picking all this logic to `0.71-stable` branch, we've discovered several issues where some packages were failing to be published on Verdaccio proxy

This was failing only on node v16+, after some research, I've noticed that there might be a race-condition and npm unable to grab this token before first `npm publish` executes

Although this still work well on `main` branch, I am backporting it to keep aligned with `0.71-stable`

Differential Revision: D42806081

fbshipit-source-id: 1832e040dbb33aea7500ad016016c7a20be4e19f
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels Jan 27, 2023
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D42806081

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,463,316 +0
android hermes armeabi-v7a 7,783,671 +0
android hermes x86 8,936,293 +0
android hermes x86_64 8,794,200 +0
android jsc arm64-v8a 9,648,925 +0
android jsc armeabi-v7a 8,383,202 +0
android jsc x86 9,710,897 +0
android jsc x86_64 10,187,754 +0

Base commit: a00cea4
Branch: main

@github-actions
Copy link
Copy Markdown

This pull request was successfully merged by @hoxyq in 8d5f880.

When will my fix make it into a release? | Upcoming Releases

@github-actions github-actions Bot added the Merged This PR has been merged. label Jan 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants