Skip to content

Conversation

@michalpristas
Copy link
Contributor

What does this PR do?

This PR removes reporting of errors to status reporter. We keep logs.

Why is it important?

This was agreed #1148
and implemented #1152 in V1.
Change got lost in migration to V2 architecture

Checklist

  • My code follows the style guidelines of this project
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool

Fixes: #2194

@michalpristas michalpristas added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team Team:Elastic-Agent Label for the Agent team backport-v8.6.0 Automated backport with mergify labels Jan 27, 2023
@michalpristas michalpristas requested a review from a team as a code owner January 27, 2023 09:24
@michalpristas michalpristas self-assigned this Jan 27, 2023
@michalpristas michalpristas requested review from AndersonQ and blakerouse and removed request for a team January 27, 2023 09:24
@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 27, 2023

💚 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: 2023-02-01T14:18:32.115+0000

  • Duration: 16 min 48 sec

Test stats 🧪

Test Results
Failed 0
Passed 4889
Skipped 13
Total 4902

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

Expand to view the GitHub comments

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

  • /test : Re-trigger the build.

  • /package : Generate the packages.

  • run integration tests : Run the Elastic Agent Integration tests.

  • run end-to-end tests : Generate the packages and run the E2E Tests.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@elasticmachine
Copy link
Contributor

elasticmachine commented Jan 27, 2023

🌐 Coverage report

Name Metrics % (covered/total) Diff
Packages 98.333% (59/60) 👍
Files 69.082% (143/207) 👍
Classes 68.514% (272/397) 👍
Methods 53.806% (834/1550) 👎 -0.03
Lines 39.19% (9092/23200) 👎 -0.05
Conditionals 100.0% (0/0) 💚

// ignore errors here
}
}
<-done
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this need to stay here with all the removal that was done?

@michalpristas michalpristas merged commit 4107f0f into elastic:main Feb 1, 2023
mergify bot pushed a commit that referenced this pull request Feb 1, 2023
Do not propagate gateway errors. (#2203)

(cherry picked from commit 4107f0f)
michalpristas added a commit that referenced this pull request Feb 1, 2023
Do not propagate gateway errors. (#2203)

(cherry picked from commit 4107f0f)

Co-authored-by: Michal Pristas <[email protected]>
michalpristas added a commit to michalpristas/elastic-agent that referenced this pull request Feb 7, 2023
michalpristas added a commit to michalpristas/elastic-agent that referenced this pull request Feb 8, 2023
michalpristas added a commit to michalpristas/elastic-agent that referenced this pull request Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-v8.6.0 Automated backport with mergify bug Something isn't working Team:Elastic-Agent Label for the Agent team Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reset gateway error on successful request

3 participants