-
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
Remove details from migrations logging #172732
Conversation
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.
short of introducing a redaction mechanism, removing the res
from the debug log is a quick fix.
LGTM
@elastic/kibana-core I am sorry for the crude PR. Please feel free to implement a more nuanced fix in a follow-up. In the interest of release timing, I opted for speed over finesse |
Both of these fail because the snapshots are stale. The "Jest Integration Tests #2 / migration v2 clean ups if migration fails" failure I'll need to investigate |
Thanks, @TinaHeiligers. I think the integration test was relying on the log data I removed to verify the cleanup worked correctly. I've disabled that portion of the test in f1f9c5c |
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
To update your PR or re-run it, just comment with: |
## Summary Bluntly removes details from a debug log message. (cherry picked from commit f5d1e45)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run:
Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.11`: - [Remove details from migrations logging (#172732)](#172732) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Larry Gregory","email":"larry.gregory@elastic.co"},"sourceCommit":{"committedDate":"2023-12-06T22:37:49Z","message":"Remove details from migrations logging (#172732)\n\n## Summary\r\n\r\nBluntly removes details from a debug log message.","sha":"f5d1e45e5923d68eec2fe87319b07fceb3767ad9","branchLabelMapping":{"^v8.12.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","backport:all-open","v8.12.0"],"number":172732,"url":"https://github.com/elastic/kibana/pull/172732","mergeCommit":{"message":"Remove details from migrations logging (#172732)\n\n## Summary\r\n\r\nBluntly removes details from a debug log message.","sha":"f5d1e45e5923d68eec2fe87319b07fceb3767ad9"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.12.0","labelRegex":"^v8.12.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172732","number":172732,"mergeCommit":{"message":"Remove details from migrations logging (#172732)\n\n## Summary\r\n\r\nBluntly removes details from a debug log message.","sha":"f5d1e45e5923d68eec2fe87319b07fceb3767ad9"}}]}] BACKPORT--> Co-authored-by: Larry Gregory <larry.gregory@elastic.co>
Manual backport of #172732
This PR didn't make it on time for the latest 8.11.2 BC. Updating the labels. |
code cleanup from #172732 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
code cleanup from elastic#172732 Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 22df919)
# Backport This will backport the following commits from `main` to `8.12`: - [[Tech debt] Removes commented out code (#172858)](#172858) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Christiane (Tina) Heiligers","email":"christiane.heiligers@elastic.co"},"sourceCommit":{"committedDate":"2023-12-08T07:31:17Z","message":"[Tech debt] Removes commented out code (#172858)\n\ncode cleanup from https://github.com/elastic/kibana/pull/172732\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"22df91900bcd436d32d029e58bca829c767143bb","branchLabelMapping":{"^v8.13.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["chore","release_note:skip","Feature:Migrations","backport:all-open","v8.13.0"],"number":172858,"url":"https://github.com/elastic/kibana/pull/172858","mergeCommit":{"message":"[Tech debt] Removes commented out code (#172858)\n\ncode cleanup from https://github.com/elastic/kibana/pull/172732\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"22df91900bcd436d32d029e58bca829c767143bb"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.13.0","labelRegex":"^v8.13.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/172858","number":172858,"mergeCommit":{"message":"[Tech debt] Removes commented out code (#172858)\n\ncode cleanup from https://github.com/elastic/kibana/pull/172732\r\n\r\nCo-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>","sha":"22df91900bcd436d32d029e58bca829c767143bb"}}]}] BACKPORT--> Co-authored-by: Christiane (Tina) Heiligers <christiane.heiligers@elastic.co>
Summary
Bluntly removes details from a debug log message.