Skip to content

Use allow-scripts#10009

Merged
rekmarks merged 33 commits intodevelopfrom
allow-scripts
Feb 2, 2021
Merged

Use allow-scripts#10009
rekmarks merged 33 commits intodevelopfrom
allow-scripts

Conversation

@EtDu
Copy link
Copy Markdown
Contributor

@EtDu EtDu commented Dec 7, 2020

Use dependency allow-scripts instead of manually running install/postinstall scripts of certain deps

@EtDu EtDu requested review from a team and kumavis as code owners December 7, 2020 05:45
@EtDu EtDu requested a review from darkwing December 7, 2020 05:45
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Dec 7, 2020

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.

@kumavis
Copy link
Copy Markdown
Member

kumavis commented Dec 8, 2020

brought in the weak-disabling commit here, because weak relies on binding@1 do some magic, maybe walking all the deps to find places where binding is configured. thats dangerous and unnecesary so we shouldnt do it.
since the built weak is only present in nodejs (not browser) this does not affect the built extension

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [6e1faed]
Page Load Metrics (368 ± 47 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint297348168
domContentLoaded2475773669847
load2485793689847
domInteractive2475773669847

kumavis
kumavis previously approved these changes Dec 8, 2020
Copy link
Copy Markdown
Member

@kumavis kumavis left a comment

Choose a reason for hiding this comment

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

looks good 👍

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [6e1faed]
Page Load Metrics (436 ± 61 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint318453147
domContentLoaded28169743412661
load28269943612661
domInteractive28169643412661

@kumavis kumavis added the DO-NOT-MERGE Pull requests that should not be merged label Dec 10, 2020
@kumavis
Copy link
Copy Markdown
Member

kumavis commented Dec 10, 2020

pending a security review of allow-scripts

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [4b29579]
Page Load Metrics (396 ± 46 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint30104532010
domContentLoaded2535513949546
load2545523969546
domInteractive2535503949546

@rekmarks rekmarks marked this pull request as draft December 14, 2020 17:06
@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [1a1a112]
Page Load Metrics (495 ± 41 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint31544484
domContentLoaded3115644948641
load3135654958641
domInteractive3115634948641

@kumavis
Copy link
Copy Markdown
Member

kumavis commented Jan 16, 2021

allow-scripts did not pass the security review, so now lavamoat has its own
this is good to go

@kumavis kumavis marked this pull request as ready for review January 16, 2021 13:37
@rekmarks
Copy link
Copy Markdown
Member

Does @lavamoat/allow-scripts have a repo?

@kumavis
Copy link
Copy Markdown
Member

kumavis commented Jan 18, 2021

@rekmarks whoops, hadn't pressed merge on the lavamoat PR yet! merged now
https://github.com/LavaMoat/LavaMoat/tree/main/packages/allow-scripts

@kumavis kumavis removed the DO-NOT-MERGE Pull requests that should not be merged label Feb 2, 2021
@kumavis
Copy link
Copy Markdown
Member

kumavis commented Feb 2, 2021

this is ready to merge
this should have no impact on current workflows
this should be fairly stable, only requiring a change when a dep that requires an npm pre/post-install hook is added

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [08c5b83]
Page Load Metrics (828 ± 53 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint599880105
domContentLoaded52197382611153
load52297582811153
domInteractive52097282611153

Co-authored-by: Erik Marks <25517051+rekmarks@users.noreply.github.com>
Copy link
Copy Markdown
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Copy Markdown
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

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

We are investigating something.

Copy link
Copy Markdown
Member

@rekmarks rekmarks left a comment

Choose a reason for hiding this comment

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

We concluded investigating a thing.

@EtDu
Copy link
Copy Markdown
Contributor Author

EtDu commented Feb 2, 2021

green lights

@metamaskbot
Copy link
Copy Markdown
Collaborator

Builds ready [14c3154]
Page Load Metrics (562 ± 19 ms)
PlatformPageMetricMin (ms)Max (ms)Average (ms)StandardDeviation (ms)MarginOfError (ms)
ChromeHomefirstPaint44725584
domContentLoaded4346335614120
load4356345624119
domInteractive4346335614120

@rekmarks rekmarks merged commit 6b34fb4 into develop Feb 2, 2021
@rekmarks rekmarks deleted the allow-scripts branch February 2, 2021 04:08
@github-actions github-actions bot locked and limited conversation to collaborators Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants