Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

[7.15](backport #1914) fix: add resiliency when an integration cannot be added to a policy#1920

Merged
mdelapenya merged 1 commit into7.15from
mergify/bp/7.15/pr-1914
Dec 17, 2021
Merged

[7.15](backport #1914) fix: add resiliency when an integration cannot be added to a policy#1920
mdelapenya merged 1 commit into7.15from
mergify/bp/7.15/pr-1914

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Dec 16, 2021

This is an automatic backport of pull request #1914 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.com

…1914)

* chore: do not exit if the integration cannot be added to the policy

* chore: add resiliency when adding an integration to a policy

We have detected 500 codes in the staging environment of package-registry

[2021-12-16T05:41:55.069Z] FATA[2021-12-16T05:41:53Z] Unable to add integration to policy           err="could not add package to policy; API status code = 500; response body = {\"statusCode\":500,\"error\":\"Internal Server Error\",\"message\":\"'502 Bad Gateway' error response from package registry at https://epr-staging.elastic.co/package/endpoint/1.4.0\"}" packageDS="{ endpoint-50fff084-9495-4633-b1a7-0a817b61d6bc Endpoint Security default cdd3d370-5e32-11ec-9ece-534be1f506d0 true  [] { endpoint Endpoint Security 1.4.0}}"

* fix: add missing return

* fix: format source

(cherry picked from commit 66d399a)
@elasticmachine
Copy link
Copy Markdown
Contributor

elasticmachine commented Dec 16, 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 preview

Expand to view the summary

Build stats

  • Start Time: 2021-12-16T15:55:42.504+0000

  • Duration: 33 min 32 sec

  • Commit: d9d29c8

Test stats 🧪

Test Results
Failed 0
Passed 81
Skipped 0
Total 81

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

@mdelapenya mdelapenya merged commit 3e3a7fe into 7.15 Dec 17, 2021
@mergify mergify bot deleted the mergify/bp/7.15/pr-1914 branch December 17, 2021 14:40
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants