Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 5, 2025

Bumps github.com/elastic/elastic-agent-libs from 0.21.4 to 0.21.6.

Release notes

Sourced from github.com/elastic/elastic-agent-libs's releases.

v0.21.6

What's Changed

Full Changelog: elastic/elastic-agent-libs@v0.21.5...v0.21.6

v0.21.5

What's Changed

Full Changelog: elastic/elastic-agent-libs@v0.21.4...v0.21.5

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added automation dependency Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Aug 5, 2025
@dependabot dependabot bot requested a review from a team as a code owner August 5, 2025 08:00
@dependabot dependabot bot requested review from blakerouse and ycombinator August 5, 2025 08:00
@dependabot dependabot bot added automation dependency Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Aug 5, 2025
@mergify
Copy link
Contributor

mergify bot commented Aug 5, 2025

This pull request does not have a backport label. Could you fix it @dependabot[bot]? 🙏
To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-./d./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@prodsecmachine
Copy link

prodsecmachine commented Aug 5, 2025

🎉 Snyk checks have passed. No issues have been found so far.

security/snyk check is complete. No issues have been found. (View Details)

license/snyk check is complete. No issues have been found. (View Details)

@ycombinator
Copy link
Contributor

ycombinator commented Aug 5, 2025

CI is failing because the signature of tlscommon.LoadTLSConfig has changed to take an additional argument of *logp.Logger. The change was made in elastic/elastic-agent-libs#334.

Bumps [github.com/elastic/elastic-agent-libs](https://github.com/elastic/elastic-agent-libs) from 0.21.4 to 0.21.6.
- [Release notes](https://github.com/elastic/elastic-agent-libs/releases)
- [Commits](elastic/elastic-agent-libs@v0.21.4...v0.21.6)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-libs
  dependency-version: 0.21.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.21.6 branch from 0e0c271 to d22cffd Compare August 5, 2025 17:18
@ycombinator
Copy link
Contributor

I had to create some new loggers and pass them to tlscommon.* functions to satisfy the new signature of these functions. @michel-laterman I'm not sure if this is the right/best approach for Fleet Server code as I don't see much logp.Logger use in this codebase. So please review when you get a chance. Thanks!

@ycombinator
Copy link
Contributor

CI is failing on the TestAgentModeFlag unit test. Investigating and fixing...

@michel-laterman
Copy link
Contributor

From what I can tell, the loggers are different when the (flags) test does a comparison

expected: logger:(*logp.Logger)(0xc0000103c0)},
actual  : logger:(*logp.Logger)(0xc000010210)},

@elastic-sonarqube
Copy link

Copy link
Contributor

@michel-laterman michel-laterman left a comment

Choose a reason for hiding this comment

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

Thanks!

@ycombinator ycombinator merged commit 13bea07 into main Aug 7, 2025
9 of 10 checks passed
@ycombinator ycombinator deleted the dependabot/go_modules/github.com/elastic/elastic-agent-libs-0.21.6 branch August 7, 2025 20:37
@ycombinator ycombinator added the backport-active-all Automated backport with mergify to all the active branches label Sep 17, 2025
@github-actions
Copy link
Contributor

@Mergifyio backport 8.18 8.19 9.0 9.1

@mergify
Copy link
Contributor

mergify bot commented Sep 17, 2025

backport 8.18 8.19 9.0 9.1

✅ Backports have been created

mergify bot pushed a commit that referenced this pull request Sep 17, 2025
…o 0.21.6 (#5211)

* build(deps): bump github.com/elastic/elastic-agent-libs

Bumps [github.com/elastic/elastic-agent-libs](https://github.com/elastic/elastic-agent-libs) from 0.21.4 to 0.21.6.
- [Release notes](https://github.com/elastic/elastic-agent-libs/releases)
- [Commits](elastic/elastic-agent-libs@v0.21.4...v0.21.6)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-libs
  dependency-version: 0.21.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Pass logger to tlscommon functions

* Refactoring logger package to avoid import cycle

* Post dependabot file modifications

* Remove name stutter

* Remove ECS naming stutter

* Don't share logger

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shaunak Kashyap <[email protected]>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 13bea07)

# Conflicts:
#	NOTICE-fips.txt
#	NOTICE.txt
#	go.mod
#	go.sum
#	internal/pkg/api/metrics.go
#	internal/pkg/api/server.go
#	internal/pkg/config/output.go
#	internal/pkg/dl/policies.go
#	magefile.go
mergify bot pushed a commit that referenced this pull request Sep 17, 2025
…o 0.21.6 (#5211)

* build(deps): bump github.com/elastic/elastic-agent-libs

Bumps [github.com/elastic/elastic-agent-libs](https://github.com/elastic/elastic-agent-libs) from 0.21.4 to 0.21.6.
- [Release notes](https://github.com/elastic/elastic-agent-libs/releases)
- [Commits](elastic/elastic-agent-libs@v0.21.4...v0.21.6)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-libs
  dependency-version: 0.21.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Pass logger to tlscommon functions

* Refactoring logger package to avoid import cycle

* Post dependabot file modifications

* Remove name stutter

* Remove ECS naming stutter

* Don't share logger

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shaunak Kashyap <[email protected]>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 13bea07)

# Conflicts:
#	NOTICE-fips.txt
#	NOTICE.txt
#	go.mod
#	go.sum
#	internal/pkg/api/metrics.go
#	internal/pkg/api/server.go
#	internal/pkg/config/output.go
#	internal/pkg/dl/policies.go
#	magefile.go
mergify bot pushed a commit that referenced this pull request Sep 17, 2025
…o 0.21.6 (#5211)

* build(deps): bump github.com/elastic/elastic-agent-libs

Bumps [github.com/elastic/elastic-agent-libs](https://github.com/elastic/elastic-agent-libs) from 0.21.4 to 0.21.6.
- [Release notes](https://github.com/elastic/elastic-agent-libs/releases)
- [Commits](elastic/elastic-agent-libs@v0.21.4...v0.21.6)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-libs
  dependency-version: 0.21.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Pass logger to tlscommon functions

* Refactoring logger package to avoid import cycle

* Post dependabot file modifications

* Remove name stutter

* Remove ECS naming stutter

* Don't share logger

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shaunak Kashyap <[email protected]>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 13bea07)

# Conflicts:
#	NOTICE-fips.txt
#	NOTICE.txt
#	go.mod
#	go.sum
#	internal/pkg/api/metrics.go
#	internal/pkg/api/server.go
#	internal/pkg/config/output.go
#	internal/pkg/dl/policies.go
#	magefile.go
mergify bot pushed a commit that referenced this pull request Sep 17, 2025
…o 0.21.6 (#5211)

* build(deps): bump github.com/elastic/elastic-agent-libs

Bumps [github.com/elastic/elastic-agent-libs](https://github.com/elastic/elastic-agent-libs) from 0.21.4 to 0.21.6.
- [Release notes](https://github.com/elastic/elastic-agent-libs/releases)
- [Commits](elastic/elastic-agent-libs@v0.21.4...v0.21.6)

---
updated-dependencies:
- dependency-name: github.com/elastic/elastic-agent-libs
  dependency-version: 0.21.6
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Pass logger to tlscommon functions

* Refactoring logger package to avoid import cycle

* Post dependabot file modifications

* Remove name stutter

* Remove ECS naming stutter

* Don't share logger

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shaunak Kashyap <[email protected]>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 13bea07)

# Conflicts:
#	NOTICE-fips.txt
#	NOTICE.txt
#	go.mod
#	go.sum
#	internal/pkg/api/metrics.go
#	internal/pkg/api/server.go
#	internal/pkg/config/output.go
#	internal/pkg/dl/policies.go
#	magefile.go
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation backport-active-all Automated backport with mergify to all the active branches dependency 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.

4 participants