-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse #196860
[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse #196860
Conversation
6e9a264
to
8f06893
Compare
Pinging @elastic/appex-sharedux (Team:SharedUX) |
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.
LGTM
I pulled the code and testing PDF export a few different times. Now, have debug logs from the PDF worker, this is great!
I also tested the error handling abilities by manually adding error throwing in to the worker, and those are caught as expected.
Starting backport for target branches: 8.16, 8.x |
…lastic#196860) ## Summary This PR adds a `type` to `GeneratePdfResponse` and introduces more logging for PDF worker. Closes: elastic#194493 (cherry picked from commit c25a97b)
…lastic#196860) ## Summary This PR adds a `type` to `GeneratePdfResponse` and introduces more logging for PDF worker. Closes: elastic#194493 (cherry picked from commit c25a97b)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
…onse (#196860) (#197128) # Backport This will backport the following commits from `main` to `8.16`: - [[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)](#196860) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Krzysztof Kowalczyk","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-21T19:15:58Z","message":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n## Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and introduces more\r\nlogging for PDF worker.\r\n\r\nCloses: #194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","v8.16.0","Feature:Reporting:Screenshot","backport:version","v8.17.0"],"title":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse","number":196860,"url":"https://github.com/elastic/kibana/pull/196860","mergeCommit":{"message":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n## Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and introduces more\r\nlogging for PDF worker.\r\n\r\nCloses: #194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196860","number":196860,"mergeCommit":{"message":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n## Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and introduces more\r\nlogging for PDF worker.\r\n\r\nCloses: #194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Krzysztof Kowalczyk <[email protected]>
…nse (#196860) (#197129) # Backport This will backport the following commits from `main` to `8.x`: - [[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)](#196860) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Krzysztof Kowalczyk","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-21T19:15:58Z","message":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n## Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and introduces more\r\nlogging for PDF worker.\r\n\r\nCloses: #194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:SharedUX","v8.16.0","Feature:Reporting:Screenshot","backport:version","v8.17.0"],"title":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse","number":196860,"url":"https://github.com/elastic/kibana/pull/196860","mergeCommit":{"message":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n## Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and introduces more\r\nlogging for PDF worker.\r\n\r\nCloses: #194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7"}},"sourceBranch":"main","suggestedTargetBranches":["8.16","8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/196860","number":196860,"mergeCommit":{"message":"[Screenshotting/PDF Worker Thread] Add type to GeneratePdfResponse (#196860)\n\n## Summary\r\n\r\nThis PR adds a `type` to `GeneratePdfResponse` and introduces more\r\nlogging for PDF worker.\r\n\r\nCloses: #194493","sha":"c25a97bc0a3a85ad5c7bb18aab7916410efd05b7"}},{"branch":"8.16","label":"v8.16.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.x","label":"v8.17.0","branchLabelMappingKey":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Krzysztof Kowalczyk <[email protected]>
Summary
This PR adds a
type
toGeneratePdfResponse
and introduces more logging for PDF worker.Closes: #194493