Skip to content

Upgrade puppeteer to v24.14.0 #229045

Merged
JiaweiWu merged 9 commits intoelastic:mainfrom
JiaweiWu:issue-362-upgrade-puppeteer-july-2025
Aug 21, 2025
Merged

Upgrade puppeteer to v24.14.0 #229045
JiaweiWu merged 9 commits intoelastic:mainfrom
JiaweiWu:issue-362-upgrade-puppeteer-july-2025

Conversation

@JiaweiWu
Copy link
Contributor

@JiaweiWu JiaweiWu commented Jul 23, 2025

Summary

Resolves issue: https://github.com/elastic/response-ops-team/issues/362

local testing:

On kibana startup:

Screenshot 2025-07-22 at 7 48 52 PM
Screenshot 2025-07-22 at 7 51 05 PM

@JiaweiWu JiaweiWu added release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// ci:cloud-deploy Create or update a Cloud deployment backport:version Backport to applied version labels v9.1.0 v9.2.0 v9.1.1 labels Jul 23, 2025
@JiaweiWu JiaweiWu marked this pull request as ready for review July 23, 2025 16:50
@JiaweiWu JiaweiWu requested a review from a team as a code owner July 23, 2025 16:50
@elasticmachine
Copy link
Contributor

Pinging @elastic/response-ops (Team:ResponseOps)

@JiaweiWu JiaweiWu requested review from ersin-erdal and pmuellr July 24, 2025 16:15
@pmuellr
Copy link
Contributor

pmuellr commented Jul 24, 2025

I noticed some other packages got upgraded because of the puppeteer upgrade: tar-fs and ws.

In these cases, we need to make sure that these upgrades didn't break anything else. By making sure all the FT pass, or we know that the upgrade did not cause the failure. I'm guessing these upgrades are not the cause of the security FT failures, but let's make sure.

@JiaweiWu
Copy link
Contributor Author

Yea, it should be ok I tested it a few times, also the first CI run was successful, I'll rerun the tests

@JiaweiWu
Copy link
Contributor Author

/ci

@pmuellr
Copy link
Contributor

pmuellr commented Jul 28, 2025

I assume you tested locally, and on the cloud deploy. Did you also test on Windows? That's the hard one, unless you happen to have a Windows machine ...

@JiaweiWu
Copy link
Contributor Author

@pmuellr how were you able to test on windows when you upgraded puppeteer? just use your own machine? I could do that but I prefer not using my personal PC unless absolutely required.

@pmuellr
Copy link
Contributor

pmuellr commented Jul 29, 2025

I responded in Slack, just realized the Windows testing question was asked here as well.

There are some instructions in our "big doc" of how to do these upgrades, near the bottom. I believe everyone has gone the "run Windows on a GCloud VM", so you will probably want to go that way. Testing on real hardware is fine as well, basically just want to make sure a PDF can be produced (actually runs the same code as PNG, but then converts the PNG to a PDF at the end).

@JiaweiWu
Copy link
Contributor Author

JiaweiWu commented Aug 1, 2025

Validated windows:
image

Validated linux:
Screenshot from 2025-08-07 02-09-26
Screenshot from 2025-08-07 02-10-32

@darnautov darnautov added v8.19.1 and removed v8.19.0 labels Aug 12, 2025
Copy link
Contributor

@pmuellr pmuellr left a comment

Choose a reason for hiding this comment

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

LGTM

@JiaweiWu JiaweiWu enabled auto-merge (squash) August 21, 2025 16:58
@elasticmachine
Copy link
Contributor

⏳ Build in-progress

History

@JiaweiWu JiaweiWu merged commit 33b318a into elastic:main Aug 21, 2025
13 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.18, 8.19, 9.1

https://github.com/elastic/kibana/actions/runs/17136200590

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 21, 2025
## Summary
Resolves issue: elastic/response-ops-team#362

### local testing:

#### On kibana startup:
<img width="737" height="76" alt="Screenshot 2025-07-22 at 7 48 52 PM"
src="https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad"
/>

---

<img width="950" height="351" alt="Screenshot 2025-07-22 at 7 51 05 PM"
src="https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855"
/>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 33b318a)
kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Aug 21, 2025
## Summary
Resolves issue: elastic/response-ops-team#362

### local testing:

#### On kibana startup:
<img width="737" height="76" alt="Screenshot 2025-07-22 at 7 48 52 PM"
src="https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad"
/>

---

<img width="950" height="351" alt="Screenshot 2025-07-22 at 7 51 05 PM"
src="https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855"
/>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 33b318a)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.18 Backport failed because of merge conflicts
8.19
9.1

Note: Successful backport PRs will be merged automatically after passing CI.

Manual backport

To create the backport manually run:

node scripts/backport --pr 229045

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Aug 21, 2025
# Backport

This will backport the following commits from `main` to `9.1`:
- [Upgrade puppeteer to v24.14.0
(#229045)](#229045)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jiawei
Wu","email":"74562234+JiaweiWu@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-21T18:53:22Z","message":"Upgrade
puppeteer to v24.14.0 (#229045)\n\n## Summary\nResolves issue:
https://github.com/elastic/response-ops-team/issues/362\n\n### local
testing:\n\n#### On kibana startup:\n<img width=\"737\" height=\"76\"
alt=\"Screenshot 2025-07-22 at 7 48
52 PM\"\nsrc=\"https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad\"\n/>\n\n---\n\n<img
width=\"950\" height=\"351\" alt=\"Screenshot 2025-07-22 at 7 51
05 PM\"\nsrc=\"https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33b318ad14130c8909899f2535444c8c4c7a82a9","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","ci:cloud-deploy","backport:version","v9.1.0","v8.18.2","v8.18.3","v9.2.0","v8.18.4","v9.1.1","v8.18.5","v8.19.1"],"title":"Upgrade
puppeteer to v24.14.0
","number":229045,"url":"https://github.com/elastic/kibana/pull/229045","mergeCommit":{"message":"Upgrade
puppeteer to v24.14.0 (#229045)\n\n## Summary\nResolves issue:
https://github.com/elastic/response-ops-team/issues/362\n\n### local
testing:\n\n#### On kibana startup:\n<img width=\"737\" height=\"76\"
alt=\"Screenshot 2025-07-22 at 7 48
52 PM\"\nsrc=\"https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad\"\n/>\n\n---\n\n<img
width=\"950\" height=\"351\" alt=\"Screenshot 2025-07-22 at 7 51
05 PM\"\nsrc=\"https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33b318ad14130c8909899f2535444c8c4c7a82a9"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.18","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229045","number":229045,"mergeCommit":{"message":"Upgrade
puppeteer to v24.14.0 (#229045)\n\n## Summary\nResolves issue:
https://github.com/elastic/response-ops-team/issues/362\n\n### local
testing:\n\n#### On kibana startup:\n<img width=\"737\" height=\"76\"
alt=\"Screenshot 2025-07-22 at 7 48
52 PM\"\nsrc=\"https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad\"\n/>\n\n---\n\n<img
width=\"950\" height=\"351\" alt=\"Screenshot 2025-07-22 at 7 51
05 PM\"\nsrc=\"https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33b318ad14130c8909899f2535444c8c4c7a82a9"}},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
kibanamachine added a commit that referenced this pull request Aug 21, 2025
# Backport

This will backport the following commits from `main` to `8.19`:
- [Upgrade puppeteer to v24.14.0
(#229045)](#229045)

<!--- Backport version: 9.6.6 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sorenlouv/backport)

<!--BACKPORT [{"author":{"name":"Jiawei
Wu","email":"74562234+JiaweiWu@users.noreply.github.com"},"sourceCommit":{"committedDate":"2025-08-21T18:53:22Z","message":"Upgrade
puppeteer to v24.14.0 (#229045)\n\n## Summary\nResolves issue:
https://github.com/elastic/response-ops-team/issues/362\n\n### local
testing:\n\n#### On kibana startup:\n<img width=\"737\" height=\"76\"
alt=\"Screenshot 2025-07-22 at 7 48
52 PM\"\nsrc=\"https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad\"\n/>\n\n---\n\n<img
width=\"950\" height=\"351\" alt=\"Screenshot 2025-07-22 at 7 51
05 PM\"\nsrc=\"https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33b318ad14130c8909899f2535444c8c4c7a82a9","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:ResponseOps","ci:cloud-deploy","backport:version","v9.1.0","v8.18.2","v8.18.3","v9.2.0","v8.18.4","v9.1.1","v8.18.5","v8.19.1"],"title":"Upgrade
puppeteer to v24.14.0
","number":229045,"url":"https://github.com/elastic/kibana/pull/229045","mergeCommit":{"message":"Upgrade
puppeteer to v24.14.0 (#229045)\n\n## Summary\nResolves issue:
https://github.com/elastic/response-ops-team/issues/362\n\n### local
testing:\n\n#### On kibana startup:\n<img width=\"737\" height=\"76\"
alt=\"Screenshot 2025-07-22 at 7 48
52 PM\"\nsrc=\"https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad\"\n/>\n\n---\n\n<img
width=\"950\" height=\"351\" alt=\"Screenshot 2025-07-22 at 7 51
05 PM\"\nsrc=\"https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33b318ad14130c8909899f2535444c8c4c7a82a9"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.18","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.18","label":"v8.18.2","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/229045","number":229045,"mergeCommit":{"message":"Upgrade
puppeteer to v24.14.0 (#229045)\n\n## Summary\nResolves issue:
https://github.com/elastic/response-ops-team/issues/362\n\n### local
testing:\n\n#### On kibana startup:\n<img width=\"737\" height=\"76\"
alt=\"Screenshot 2025-07-22 at 7 48
52 PM\"\nsrc=\"https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad\"\n/>\n\n---\n\n<img
width=\"950\" height=\"351\" alt=\"Screenshot 2025-07-22 at 7 51
05 PM\"\nsrc=\"https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855\"\n/>\n\n---------\n\nCo-authored-by:
kibanamachine
<42973632+kibanamachine@users.noreply.github.com>","sha":"33b318ad14130c8909899f2535444c8c4c7a82a9"}},{"branch":"8.19","label":"v8.19.1","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->

Co-authored-by: Jiawei Wu <74562234+JiaweiWu@users.noreply.github.com>
qn895 pushed a commit to qn895/kibana that referenced this pull request Aug 26, 2025
## Summary
Resolves issue: elastic/response-ops-team#362

### local testing:

#### On kibana startup:
<img width="737" height="76" alt="Screenshot 2025-07-22 at 7 48 52 PM"
src="https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad"
/>

---

<img width="950" height="351" alt="Screenshot 2025-07-22 at 7 51 05 PM"
src="https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855"
/>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
KodeRad pushed a commit to KodeRad/kibana that referenced this pull request Aug 28, 2025
## Summary
Resolves issue: elastic/response-ops-team#362

### local testing:

#### On kibana startup:
<img width="737" height="76" alt="Screenshot 2025-07-22 at 7 48 52 PM"
src="https://github.com/user-attachments/assets/211bcf43-1e14-412b-9f23-f2dcc9a0acad"
/>

---

<img width="950" height="351" alt="Screenshot 2025-07-22 at 7 51 05 PM"
src="https://github.com/user-attachments/assets/23fcb782-fb1b-46cc-8831-bd4ad908a855"
/>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels ci:cloud-deploy Create or update a Cloud deployment release_note:skip Skip the PR/issue when compiling release notes Team:ResponseOps Platform ResponseOps team (formerly the Cases and Alerting teams) t// v8.18.2 v8.18.3 v8.18.4 v8.18.5 v8.19.1 v8.19.3 v9.1.0 v9.1.1 v9.1.3 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants