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] remove hydrating saved objects #140545

Conversation

dominiqueclarke
Copy link
Contributor

@dominiqueclarke dominiqueclarke commented Sep 12, 2022

Summary

Removes hydration for synthetics monitor saved objects.

Hydration has historically been used to add url and port fields to browser, tcp, and http monitors. However, given that this flow is prone to bugs, and offers little value, we are removing the feature entirely.

@dominiqueclarke dominiqueclarke force-pushed the fix/synthetics-deprecate-hydrating-saved-objects branch from c6f49f6 to 52056b1 Compare September 12, 2022 18:32
@dominiqueclarke dominiqueclarke added bug Fixes for quality problems that affect the customer experience v8.5.0 v8.4.2 Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability release_note:skip Skip the PR/issue when compiling release notes labels Sep 13, 2022
@dominiqueclarke dominiqueclarke marked this pull request as ready for review September 13, 2022 02:41
@dominiqueclarke dominiqueclarke requested a review from a team as a code owner September 13, 2022 02:41
@elasticmachine
Copy link
Contributor

Pinging @elastic/uptime (Team:uptime)

@dominiqueclarke
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💛 Build succeeded, but was flaky

Failed CI Steps

Metrics [docs]

✅ unchanged

History

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

@dominiqueclarke dominiqueclarke merged commit 0ecd3fa into elastic:main Sep 13, 2022
@dominiqueclarke dominiqueclarke deleted the fix/synthetics-deprecate-hydrating-saved-objects branch September 13, 2022 18:07
@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.4 Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

node scripts/backport --pr 140545

Questions ?

Please refer to the Backport tool documentation

dominiqueclarke added a commit to dominiqueclarke/kibana that referenced this pull request Sep 13, 2022
* synthetics - remove hydrating saved objects

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* remove logic to set url back to empty string

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 0ecd3fa)

# Conflicts:
#	x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.ts
#	x-pack/plugins/synthetics/server/synthetics_service/hydrate_saved_object.ts
@dominiqueclarke
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.4

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

Questions ?

Please refer to the Backport tool documentation

dominiqueclarke added a commit that referenced this pull request Sep 14, 2022
* [Synthetics] remove hydrating saved objects (#140545)

* synthetics - remove hydrating saved objects

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* remove logic to set url back to empty string

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit 0ecd3fa)

# Conflicts:
#	x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.ts
#	x-pack/plugins/synthetics/server/synthetics_service/hydrate_saved_object.ts

* [CI] Auto-commit changed files from 'node scripts/precommit_hook.js --ref HEAD~1..HEAD --fix'

* Update x-pack/plugins/synthetics/server/routes/monitor_cruds/edit_monitor.ts

* Update x-pack/plugins/synthetics/server/synthetics_service/project_monitor_formatter.ts

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
@shahzad31
Copy link
Contributor

Mostly a tech debt/code removal, so skipping post ff testing !!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience release_note:skip Skip the PR/issue when compiling release notes Team:Uptime - DEPRECATED Synthetics & RUM sub-team of Application Observability v8.4.2 v8.5.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants