Skip to content

fix(publishing-bumped-packages): look for status code instaead of stderr - #36004

Closed
hoxyq wants to merge 1 commit into
react:mainfrom
hoxyq:export-D42836212
Closed

fix(publishing-bumped-packages): look for status code instaead of stderr#36004
hoxyq wants to merge 1 commit into
react:mainfrom
hoxyq:export-D42836212

Conversation

@hoxyq

Copy link
Copy Markdown
Contributor

Summary:
Changelog: [Internal]

This fixes CircleCI job, which is responsible for publishing bumped packages. We should not check for stderr, apparently npm uses it to store debug information:

So we've tried to use this on 0.71-stable before and it succesfully published one package, but have exited right after it because stderr was not empty

Differential Revision: D42836212

@facebook-github-botfacebook-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 30, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@hoxyq
hoxyq requested a review from kelsetJanuary 30, 2023 09:05

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.

can we maybe get back both stderr and status and if status is != 0 print both status and stderr? To get better understanding of what's failing 👍

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

can we maybe get back both stderr and status and if status is != 0 print both status and stderr? To get better understanding of what's failing 👍

Yeah, somehow missed that, will get it back

…err (#36004)
Summary:
Pull Request resolved: #36004
Changelog: [Internal]
This fixes CircleCI job, which is responsible for publishing bumped packages. We should not check for `stderr`, apparently `npm` uses it to store debug information:
- npm/npm#118 (comment)
So we've tried to use this on 0.71-stable before and it succesfully published one package, but have exited right after it because `stderr` was not empty
Reviewed By: cipolleschi
Differential Revision: D42836212
fbshipit-source-id: a09cb7adc750cbb9e735bdefbe92050f9f5767c6
@facebook-github-bot

Copy link
Copy Markdown
Contributor

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

@analysis-bot

Copy link
Copy Markdown
PlatformEngineArchSize (bytes)Diff
androidhermesarm64-v8a8,463,316+0
androidhermesarmeabi-v7a7,783,671+0
androidhermesx868,936,293+0
androidhermesx86_648,794,200+0
androidjscarm64-v8a9,648,925+0
androidjscarmeabi-v7a8,383,202+0
androidjscx869,710,897+0
androidjscx86_6410,187,754+0

Base commit: e91e468
Branch: main

@cortinicocortinico 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.

LGTM modulo what @kelset also suggested

@facebook-github-botfacebook-github-bot added the Merged This PR has been merged. label Jan 30, 2023
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 9856c33.

kelset pushed a commit that referenced this pull request Jan 30, 2023
…err (#36004)
Summary:
Pull Request resolved: #36004
Changelog: [Internal]
This fixes CircleCI job, which is responsible for publishing bumped packages. We should not check for `stderr`, apparently `npm` uses it to store debug information:
- npm/npm#118 (comment)
So we've tried to use this on 0.71-stable before and it succesfully published one package, but have exited right after it because `stderr` was not empty
Reviewed By: cortinico, cipolleschi
Differential Revision: D42836212
fbshipit-source-id: 6f2a9a512121683268fe6aae6a187fccb8d9dfbc
@cipolleschicipolleschi mentioned this pull request Oct 11, 2023
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA SignedThis label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.fb-exportedMergedThis PR has been merged.p: FacebookPartner: FacebookPartner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@hoxyq@facebook-github-bot@analysis-bot@cortinico@kelset