Skip to content
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

Backport puppeteer update to Kibana 7.17 #172440

Merged
merged 6 commits into from
Dec 7, 2023

Conversation

eokoneyo
Copy link
Contributor

@eokoneyo eokoneyo commented Dec 4, 2023

Summary

This is a manual back port of #172332 to Kibana 7.17. It's worth pointing out in this PR, for validating archive and binary checksums we now use the sha256 hashing algorithm.

@eokoneyo eokoneyo added backport Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) labels Dec 4, 2023
@eokoneyo eokoneyo self-assigned this Dec 4, 2023
@eokoneyo eokoneyo added the (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead label Dec 4, 2023
@eokoneyo eokoneyo force-pushed the backport-puppeteer-21.5.2 branch 2 times, most recently from 2132652 to 631cd0b Compare December 4, 2023 13:45
@eokoneyo eokoneyo force-pushed the backport-puppeteer-21.5.2 branch 3 times, most recently from bf26769 to 9a6fe09 Compare December 5, 2023 18:34
@eokoneyo eokoneyo force-pushed the backport-puppeteer-21.5.2 branch 2 times, most recently from 258a7e3 to 84513e6 Compare December 6, 2023 08:47
@eokoneyo eokoneyo force-pushed the backport-puppeteer-21.5.2 branch from 1c273bc to 481158e Compare December 6, 2023 09:34
@eokoneyo eokoneyo marked this pull request as ready for review December 6, 2023 15:07
@elasticmachine
Copy link
Contributor

Pinging @elastic/appex-sharedux (Team:SharedUX)

@eokoneyo eokoneyo requested a review from tsullivan December 6, 2023 15:07
Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

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

Please take the addition of wrap-ansi out :)

Comment on lines +95 to +96
"globby/fast-glob": "^3.2.11",
"wrap-ansi": "7.0.0"
Copy link
Member

Choose a reason for hiding this comment

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

The changes here may have been unintentionally backported.

Suggested change
"globby/fast-glob": "^3.2.11",
"wrap-ansi": "7.0.0"
"globby/fast-glob": "^3.2.11"

Copy link
Member

Choose a reason for hiding this comment

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

I talked offline with you and found this is an intentional change. Disregard my comment!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For context, the resolution for wrap-ansi was added to circumvent failing build where the ESM version of the package was being required. See here

@@ -20,10 +20,10 @@ def mkdir(dir):
if not os.path.exists(dir):
return os.makedirs(dir)

def md5_file(filename):
def sha256_file(filename):
"""Builds a hex md5 hash of the given file"""
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
"""Builds a hex md5 hash of the given file"""
"""Builds a hex sha1 hash of the given file"""

Copy link
Contributor Author

Choose a reason for hiding this comment

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

thanks for the catch!

@tsullivan tsullivan self-requested a review December 7, 2023 17:05
Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

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

LGTM

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Default CI Group #4 / lens app lens drag and drop tests basic drag and drop should construct the basic split xy chart

Metrics [docs]

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @eokoneyo

@eokoneyo eokoneyo merged commit b0ccd31 into elastic:7.17 Dec 7, 2023
27 checks passed
@eokoneyo eokoneyo deleted the backport-puppeteer-21.5.2 branch December 7, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport (Deprecated) Feature:Reporting Use Reporting:Screenshot, Reporting:CSV, or Reporting:Framework instead Team:SharedUX Team label for AppEx-SharedUX (formerly Global Experience) v7.17.16
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants