Skip to content

[Synthetics] URL validation softens to allow vars usage !!#197797

Merged
shahzad31 merged 1 commit intoelastic:mainfrom
shahzad31:url-validation-softens
Oct 25, 2024
Merged

[Synthetics] URL validation softens to allow vars usage !!#197797
shahzad31 merged 1 commit intoelastic:mainfrom
shahzad31:url-validation-softens

Conversation

@shahzad31
Copy link
Copy Markdown
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:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. labels Oct 25, 2024
@elasticmachine
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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!)

@elasticmachine
Copy link
Copy Markdown
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
Copy Markdown
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
@shahzad31 shahzad31 deleted the url-validation-softens branch October 25, 2024 14:33
@kibanamachine
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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":"shahzad31comp@gmail.com"},"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 <shahzad31comp@gmail.com>
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":"shahzad31comp@gmail.com"},"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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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":"shahzad31comp@gmail.com"},"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 <shahzad31comp@gmail.com>
Co-authored-by: Maryam Saeidi <maryam.saeidi@elastic.co>
@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

ci:project-deploy-observability Create an Observability project release_note:skip Skip the PR/issue when compiling release notes Team:actionable-obs Formerly "obs-ux-management", responsible for SLO, o11y alerting, significant events, & synthetics. 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