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

[Synthetics] Handle a case where settings were never saved #161834

Merged
merged 2 commits into from
Jul 18, 2023

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Jul 13, 2023

Summary

this is a follow up to #160063

Handle a case where settings were never saved !!

So let's say user never said settings, in that case the default values always included synthetics-* pattern, so for this we still need to add that for existing alerts.

@apmmachine
Copy link
Contributor

🤖 GitHub comments

Expand to view the GitHub comments

Just comment with:

  • /oblt-deploy : Deploy a Kibana instance using the Observability test environments.
  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@shahzad31 shahzad31 added release_note:skip Skip the PR/issue when compiling release notes v8.9.0 v8.10.0 labels Jul 13, 2023
@shahzad31 shahzad31 marked this pull request as ready for review July 13, 2023 08:58
@shahzad31 shahzad31 requested a review from a team as a code owner July 13, 2023 08:58
@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Unknown metric groups

ESLint disabled line counts

id before after diff
enterpriseSearch 14 16 +2
securitySolution 411 415 +4
total +6

Total ESLint disabled count

id before after diff
enterpriseSearch 15 17 +2
securitySolution 490 494 +4
total +6

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

Copy link
Contributor

@awahab07 awahab07 left a comment

Choose a reason for hiding this comment

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

LGTM

@shahzad31 shahzad31 merged commit 41a8a1d into elastic:main Jul 18, 2023
@shahzad31 shahzad31 deleted the handle-edge-case branch July 18, 2023 16:09
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.9 Backport failed because of merge conflicts

You might need to backport the following PRs to 8.9:
- [Synthetics] Fixes params parsing without complete syntax (#161932)
- [Observability AI Assistant] Remove default feedback URL (#162129)

Manual backport

To create the backport manually run:

node scripts/backport --pr 161834

Questions ?

Please refer to the Backport tool documentation

@awahab07
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.9

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

Questions ?

Please refer to the Backport tool documentation

awahab07 pushed a commit to awahab07/kibana that referenced this pull request Jul 18, 2023
…61834)

Co-authored-by: kibanamachine <[email protected]>
(cherry picked from commit 41a8a1d)

# Conflicts:
#	x-pack/plugins/uptime/tsconfig.json
awahab07 added a commit that referenced this pull request Jul 19, 2023
…1834) (#162185)

# Backport

This will backport the following commits from `main` to `8.9`:
- [[Synthetics] Handle a case where settings were never saved
(#161834)](#161834)

<!--- Backport version: 8.9.7 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2023-07-18T16:09:11Z","message":"[Synthetics]
Handle a case where settings were never saved
(#161834)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"41a8a1db011c63107921c8446d33d94991cfb67b","branchLabelMapping":{"^v8.10.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v8.9.0","v8.10.0"],"number":161834,"url":"https://github.com/elastic/kibana/pull/161834","mergeCommit":{"message":"[Synthetics]
Handle a case where settings were never saved
(#161834)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"41a8a1db011c63107921c8446d33d94991cfb67b"}},"sourceBranch":"main","suggestedTargetBranches":["8.9"],"targetPullRequestStates":[{"branch":"8.9","label":"v8.9.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.10.0","labelRegex":"^v8.10.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/161834","number":161834,"mergeCommit":{"message":"[Synthetics]
Handle a case where settings were never saved
(#161834)\n\nCo-authored-by: kibanamachine
<[email protected]>","sha":"41a8a1db011c63107921c8446d33d94991cfb67b"}}]}]
BACKPORT-->

---------

Co-authored-by: Shahzad <[email protected]>
Co-authored-by: kibanamachine <[email protected]>
ThomThomson pushed a commit to ThomThomson/kibana that referenced this pull request Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:skip Skip the PR/issue when compiling release notes v8.9.0 v8.10.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants