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

[8.18](backport #4514) Add unit test for fips metadata attribute in enroll/checkin #4522

Open
wants to merge 1 commit into
base: 8.18
Choose a base branch
from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Feb 26, 2025

What is the problem this PR solves?

Add unit tests as a sanity check to make sure that fleet-server is able to handle the new fips metadata attribute.

fleet-server uses json.RawMessage when interacting with local metadata (in the enroll and checkin endpoints) as it just needs to compare byte values to see if the agent doc needs to be changed. The new tests verify that local metadata changes are propagated as expected.

Design Checklist

  • I have ensured my design is stateless and will work when multiple fleet-server instances are behind a load balancer.
  • I have or intend to scale test my changes, ensuring it will work reliably with 100K+ agents connected.
  • I have included fail safe mechanisms to limit the load on fleet-server: rate limiting, circuit breakers, caching, load shedding, etc.
    This is an automatic backport of pull request Add unit test for fips metadata attribute in enroll/checkin #4514 done by Mergify.

@mergify mergify bot requested a review from a team as a code owner February 26, 2025 16:34
@mergify mergify bot added the backport label Feb 26, 2025
@mergify mergify bot requested review from blakerouse and pchila February 26, 2025 16:34
@github-actions github-actions bot added Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team tech debt labels Feb 26, 2025
@michel-laterman michel-laterman enabled auto-merge (squash) February 26, 2025 23:32
@michel-laterman
Copy link
Contributor

buildkite test this

Copy link

Copy link
Contributor Author

mergify bot commented Mar 3, 2025

This pull request has not been merged yet. Could you please review and merge it @michel-laterman? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant