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] URL validation softens to allow vars usage !! #197797

Merged
merged 1 commit into from
Oct 25, 2024

Conversation

shahzad31
Copy link
Contributor

@shahzad31 shahzad31 commented Oct 25, 2024

Summary

URL validation softens to allow vars usage !!

For example

should urls: "${url}" interpolate --params '{"url": "my-url"}'

@shahzad31 shahzad31 requested a review from a team as a code owner October 25, 2024 10:23
@botelastic botelastic bot added ci:project-deploy-observability Create an Observability project Team:obs-ux-management Observability Management User Experience Team labels Oct 25, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-management-team (Team:obs-ux-management)

@shahzad31 shahzad31 added the release_note:skip Skip the PR/issue when compiling release notes label Oct 25, 2024
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 docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@shahzad31 shahzad31 added the backport:prev-major Backport to (8.x, 8.17, 8.16) the previous major branch and other branches in development label Oct 25, 2024
@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #12 / Users filter should search comma separated strings as multiple users
  • [job] [logs] Jest Tests #12 / Users filter should search on given search string on enter

Metrics [docs]

✅ unchanged

Copy link
Contributor

@dominiqueclarke dominiqueclarke 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 3b05b6a into elastic:main Oct 25, 2024
34 checks passed
@shahzad31 shahzad31 deleted the url-validation-softens branch October 25, 2024 14:33
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.15, 8.16, 8.x

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 25, 2024
…97797)

## Summary

URL validation softens to allow vars usage !!

For example

` should urls: "${url}" interpolate --params '{"url": "my-url"}'`

(cherry picked from commit 3b05b6a)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Oct 25, 2024
…97797)

## Summary

URL validation softens to allow vars usage !!

For example

` should urls: "${url}" interpolate --params '{"url": "my-url"}'`

(cherry picked from commit 3b05b6a)
@kibanamachine
Copy link
Contributor

💔 Some backports could not be created

Status Branch Result
8.15 Backport failed because of merge conflicts
8.16
8.x

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

Manual backport

To create the backport manually run:

node scripts/backport --pr 197797

Questions ?

Please refer to the Backport tool documentation

@shahzad31
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.15

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

Questions ?

Please refer to the Backport tool documentation

shahzad31 added a commit to shahzad31/kibana that referenced this pull request Oct 25, 2024
…97797)

## Summary

URL validation softens to allow vars usage !!

For example

` should urls: "${url}" interpolate --params '{"url": "my-url"}'`

(cherry picked from commit 3b05b6a)

# Conflicts:
#	x-pack/plugins/observability_solution/synthetics/server/synthetics_service/project_monitor/normalizers/common_fields.ts
kibanamachine added a commit that referenced this pull request Oct 25, 2024
…7797) (#197839)

# Backport

This will backport the following commits from `main` to `8.x`:
- [[Synthetics] URL validation softens to allow vars usage !!
(#197797)](#197797)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-25T14:33:26Z","message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","ci:project-deploy-observability","Team:obs-ux-management"],"title":"[Synthetics]
URL validation softens to allow vars usage
!!","number":197797,"url":"https://github.com/elastic/kibana/pull/197797","mergeCommit":{"message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197797","number":197797,"mergeCommit":{"message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <[email protected]>
shahzad31 added a commit that referenced this pull request Oct 28, 2024
…97797) (#197841)

# Backport

This will backport the following commits from `main` to `8.15`:
- [[Synthetics] URL validation softens to allow vars usage !!
(#197797)](#197797)

<!--- Backport version: 8.9.8 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-25T14:33:26Z","message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","ci:project-deploy-observability","Team:obs-ux-management"],"number":197797,"url":"https://github.com/elastic/kibana/pull/197797","mergeCommit":{"message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197797","number":197797,"mergeCommit":{"message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8"}},{"url":"https://github.com/elastic/kibana/pull/197838","number":197838,"branch":"8.16","state":"OPEN"},{"url":"https://github.com/elastic/kibana/pull/197839","number":197839,"branch":"8.x","state":"OPEN"}]}]
BACKPORT-->
@kibanamachine kibanamachine added v8.15.4 backport missing Added to PRs automatically when the are determined to be missing a backport. labels Oct 28, 2024
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@shahzad31 shahzad31 removed the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 29, 2024
@kibanamachine kibanamachine added the backport missing Added to PRs automatically when the are determined to be missing a backport. label Oct 30, 2024
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

3 similar comments
@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

@kibanamachine
Copy link
Contributor

Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync.

kibanamachine added a commit that referenced this pull request Nov 5, 2024
…97797) (#197838)

# Backport

This will backport the following commits from `main` to `8.16`:
- [[Synthetics] URL validation softens to allow vars usage !!
(#197797)](#197797)

<!--- Backport version: 9.4.3 -->

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

<!--BACKPORT
[{"author":{"name":"Shahzad","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-10-25T14:33:26Z","message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","backport:prev-major","ci:project-deploy-observability","Team:obs-ux-management"],"title":"[Synthetics]
URL validation softens to allow vars usage
!!","number":197797,"url":"https://github.com/elastic/kibana/pull/197797","mergeCommit":{"message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","branchLabelMappingKey":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/197797","number":197797,"mergeCommit":{"message":"[Synthetics]
URL validation softens to allow vars usage !! (#197797)\n\n##
Summary\r\n\r\nURL validation softens to allow vars usage !!\r\n\r\nFor
example \r\n\r\n` should urls: \"${url}\" interpolate --params
'{\"url\":
\"my-url\"}'`","sha":"3b05b6a7a83df7ff8b929dbbb60c639cc11101d8"}}]}]
BACKPORT-->

Co-authored-by: Shahzad <[email protected]>
Co-authored-by: Maryam Saeidi <[email protected]>
@kibanamachine kibanamachine added v8.16.0 and removed backport missing Added to PRs automatically when the are determined to be missing a backport. labels Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:prev-major Backport to (8.x, 8.17, 8.16) the previous major branch and other branches in development ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:obs-ux-management Observability Management User Experience Team v8.15.4 v8.16.0 v8.17.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants