ci: fix create-lavamoat-viz script#22759
Merged
legobeat merged 7 commits intoMetaMask:developfrom Apr 16, 2024
Merged
Conversation
Contributor
|
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
7d459b4 to
c9f9750
Compare
c9f9750 to
4eae78a
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #22759 +/- ##
===========================================
- Coverage 68.44% 68.43% -0.00%
===========================================
Files 1141 1141
Lines 43766 43766
Branches 11726 11726
===========================================
- Hits 29952 29951 -1
- Misses 13814 13815 +1 ☔ View full report in Codecov by Sentry. |
48d70a7 to
96366b0
Compare
b49fa5b to
fcb8025
Compare
f600be3 to
e9738d3
Compare
a8cf27f to
2a8df84
Compare
9 tasks
2a8df84 to
ba49a17
Compare
ba49a17 to
0abbea0
Compare
…quentially to avoid OoM
…owsers-medium on node-browsers-small, we get spurious exit code 137
8b9fd31 to
8e30e32
Compare
davidmurdoch
approved these changes
Apr 15, 2024
kumavis
approved these changes
Apr 16, 2024
kumavis
reviewed
Apr 16, 2024
| mkdir -p "${BUILD_DEST}" | ||
|
|
||
| # generate lavamoat debug config | ||
| # generate lavamoat debug configs |
Member
There was a problem hiding this comment.
policies
Suggested change
| # generate lavamoat debug configs | |
| # generate lavamoat debug policies |
kumavis
approved these changes
Apr 16, 2024
Member
kumavis
left a comment
There was a problem hiding this comment.
surprised to see the policy changes but otherwise good
Collaborator
|
No release label on PR. Adding release label release-11.16.0 on PR, as PR was added to branch 11.16.0 when release was cut. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
It seems like the
lavamoat-vizusage in CI has been broken since #12702. Thecreate-lavamoat-vizscript is silently failing ondevelop:Changes
npx(undeterministic) and call thedevDependencyoflavamoat-vizlavamoat:debug:webapppackage scripts which is tolavamoat:debug:buildwhatlavamoat:webapp:autois tolavamoat:build:auto(that is, it produces LavaMoatpolicy-debug.jsonfiles alongside the browserify policy for each build type).gitignoreto avoid this increasing contribution overhead.lavamoat-vizto correctly generate forbuild-systemRelated issues
job-publish-prerelease#23704Manual testing steps
yarn build:dev dist.circleci/scripts/create-lavamoat-viz.sh--parallel=falseoption toyarn lavamoat:debug:webappbuild-artifacts/build-viz/index.htmlin web browserScreenshots/Recordings
Before
N/A
After
Firefox (
build-system)Chrome (
flask)Pre-merge author checklist
Pre-merge reviewer checklist