-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Fix non-preview draft PR builds #20096
Conversation
2e14943
to
aa16cc0
Compare
Builds ready [aa16cc0]
Page Load Metrics (1597 ± 98 ms)
Bundle size diffs
|
Codecov Report
@@ Coverage Diff @@
## develop #20096 +/- ##
===========================================
+ Coverage 68.67% 68.69% +0.02%
===========================================
Files 986 986
Lines 37874 37815 -59
Branches 10143 10116 -27
===========================================
- Hits 26009 25977 -32
+ Misses 11865 11838 -27 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested using #20103
- Updated
"@metamask/auto-changelog": "3.2.0"
- Fails https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/51792/workflows/eefb779d-a8cb-41c3-bfb0-e5c0e8d16a97/jobs/1508458
- Cherry picked this PR and it succeeds https://app.circleci.com/pipelines/github/MetaMask/metamask-extension/51793/workflows/7d8efc01-2071-4ee7-8224-be9bd1c773bd/jobs/1508459
LGTM!
aa16cc0
to
e275ef3
Compare
Builds ready [e275ef3]
Page Load Metrics (1671 ± 62 ms)
Bundle size diffs
|
e275ef3
to
9fb17b3
Compare
Builds ready [9fb17b3]
Page Load Metrics (1812 ± 57 ms)
Bundle size diffs
|
Certain draft PRs that add new dependencies have been failing because CI will try to use the GitHub npm registry, which we use for preview builds. This registry does not have non-preview package versions, so the installation will fail if new non-preview dependencies are needed. CI has been updated to only use the GitHub npm registry when preview builds are detected in the manifest.
9fb17b3
to
126431e
Compare
Builds ready [126431e]
Page Load Metrics (1525 ± 53 ms)
Bundle size diffs
|
Explanation
Certain draft PRs that add new dependencies have been failing because CI will try to use the GitHub npm registry, which we use for preview builds. This registry does not have non-preview package versions, so the installation will fail if new non-preview dependencies are needed.
CI has been updated to only use the GitHub npm registry when preview builds are detected in the manifest.
Manual Testing Steps
This can't be properly tested until after merging, unless you want to setup a fork with CircleCI builds. Once merged, we can test these cases:
Pre-merge author checklist
Pre-merge reviewer checklist
If further QA is required (e.g. new feature, complex testing steps, large refactor), add the
Extension QA Board
label.In this case, a QA Engineer approval will be be required.