beats icon indicating copy to clipboard operation
beats copied to clipboard

Detect failures in CSP inputs and meticsets

Open zmoog opened this issue 1 year ago • 2 comments

Situation

2 weeks ago, a simple version bump of the core aws-sdk-go-v2 module to 1.26.1 put the AWS SDK module versions mix in an inconsistent state, causing error in multiple AWS inputs and metricsets.

We are addressing this specific error at https://github.com/elastic/beats/pull/39454

Problem Statement

While we could consider this an edge case, the current suite did not catch the dependency problem.

We should probably:

  • [ ] Understand why the test suite did not catch the dependency problem.
  • [ ] Set up mechanisms to avoid similar problems in the future

zmoog avatar May 10 '24 08:05 zmoog

To improve dependency management, we're setting up Dependabot to handle SDK dependency updates for all major CSPs. See https://github.com/elastic/beats/issues/39492 for more.

zmoog avatar May 10 '24 08:05 zmoog

Pinging @elastic/obs-ds-hosted-services (Team:obs-ds-hosted-services)

elasticmachine avatar May 15 '24 21:05 elasticmachine

Understand why the test suite did not catch the dependency problem.

We didn't catch the dependency problem because the PR introducing the new dependency didn't have the aws label.

The CI runs the AWS integration tests suite only if the PR has the aws label.

zmoog avatar Jul 22 '24 15:07 zmoog