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

[Heartbeat] Add sandbox options, defaulted to off #24172

Merged
merged 5 commits into from
Mar 4, 2021

Conversation

andrewvc
Copy link
Contributor

@andrewvc andrewvc commented Feb 22, 2021

Fixes #22901

Adds support for the sandbox options in synthetics. I haven't added tests here because we really need E2E tests for this, but those live elsewhere. Given that we're still in experimental, I think it's OK to merge this feature as-is, and circle back to it later if you're OK with it @blakerouse , I can make a placeholder issue.

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
    - [x] I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
    - [x] I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in CHANGELOG.next.asciidoc or CHANGELOG-developer.next.asciidoc.

How to test this PR locally

You'll need a custom build of https://github.com/elastic/synthetics until a new release is cut. This removes --no-sandbox and replaces it with a --sandbox flag, flipping the default.

@andrewvc andrewvc added enhancement Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team v7.13.0 labels Feb 22, 2021
@andrewvc andrewvc self-assigned this Feb 22, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/uptime (Team:Uptime)

@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Feb 22, 2021
@andrewvc andrewvc marked this pull request as draft February 22, 2021 23:33
@elasticmachine
Copy link
Collaborator

elasticmachine commented Feb 22, 2021

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #24172 updated

  • Start Time: 2021-03-03T14:19:23.488+0000

  • Duration: 57 min 27 sec

  • Commit: 069abbe

Test stats 🧪

Test Results
Failed 0
Passed 38
Skipped 0
Total 38

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 38
Skipped 0
Total 38

@paulb-elastic
Copy link
Contributor

Referencing #22901

@andrewvc andrewvc requested a review from blakerouse March 2, 2021 23:51
Copy link
Contributor

@blakerouse blakerouse left a comment

Choose a reason for hiding this comment

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

Really strait-forward, looks good.

@andrewvc andrewvc marked this pull request as ready for review March 4, 2021 16:11
@andrewvc andrewvc merged commit 270a676 into elastic:master Mar 4, 2021
@andrewvc andrewvc deleted the no-sandbox branch March 4, 2021 16:11
andrewvc added a commit to andrewvc/beats that referenced this pull request Mar 4, 2021
Fixes elastic#22901

Adds support for the sandbox options in synthetics. I haven't added tests here because we really need E2E tests for this, but those live elsewhere. Given that we're still in experimental, I think it's OK to merge this feature as-is, and circle back to it later if you're OK with it @blakerouse , I can make a placeholder issue.

(cherry picked from commit 270a676)
@andrewvc
Copy link
Contributor Author

andrewvc commented Mar 4, 2021

@urso would you mind if I merged this in as-is and made follow-up issues for other beats? Keeping the scope smaller here would be ideal IMHO. Also, it'd be great to get this into master so it shows up in snapshots. That would make dev work on the UI side easier since they wouldn't need custom builds off this branch.

andrewvc added a commit that referenced this pull request Mar 4, 2021
Fixes #22901

Adds support for the sandbox options in synthetics. I haven't added tests here because we really need E2E tests for this, but those live elsewhere. Given that we're still in experimental, I think it's OK to merge this feature as-is, and circle back to it later if you're OK with it @blakerouse , I can make a placeholder issue.

(cherry picked from commit 270a676)
andrewvc added a commit to andrewvc/beats that referenced this pull request Mar 4, 2021
Fixes elastic#22901

Adds support for the sandbox options in synthetics. I haven't added tests here because we really need E2E tests for this, but those live elsewhere. Given that we're still in experimental, I think it's OK to merge this feature as-is, and circle back to it later if you're OK with it @blakerouse , I can make a placeholder issue.
leweafan pushed a commit to leweafan/beats that referenced this pull request Apr 28, 2023
Fixes elastic#22901

Adds support for the sandbox options in synthetics. I haven't added tests here because we really need E2E tests for this, but those live elsewhere. Given that we're still in experimental, I think it's OK to merge this feature as-is, and circle back to it later if you're OK with it @blakerouse , I can make a placeholder issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Heartbeat Team:obs-ds-hosted-services Label for the Observability Hosted Services team v7.13.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Heartbeat] Add no_chromium_sandbox option for synthetics
5 participants