Skip to content

[8.18] (backport #10442) fix(inspect): Handle components with slashes in their name#10456

Merged
orestisfl merged 1 commit into8.18from
mergify/bp/8.18/pr-10442
Oct 10, 2025
Merged

[8.18] (backport #10442) fix(inspect): Handle components with slashes in their name#10456
orestisfl merged 1 commit into8.18from
mergify/bp/8.18/pr-10442

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Oct 9, 2025

What does this PR do?

The 'inspect components' command would previously fail to find a component with IDs like system/metrics-default.

Why is it important?

Confusing CLI use

Checklist

  • I have read and understood the pull request guidelines of this project.
  • 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
  • I have added an integration test or an E2E test

How to test this PR locally

sudo elastic-development-agent inspect components beat/metrics-monitoring

Related issues


This is an automatic backport of pull request #10442 done by [Mergify](https://mergify.com).
The 'inspect components' command would previously fail to find a component with IDs like `system/metrics-default`.

(cherry picked from commit c95a258)
@mergify mergify bot requested a review from a team as a code owner October 9, 2025 15:32
@mergify mergify bot added the backport label Oct 9, 2025
@mergify mergify bot requested review from rubenruizdegauna and straistaru and removed request for a team October 9, 2025 15:32
@github-actions github-actions bot added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Oct 9, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane)

@orestisfl orestisfl merged commit 43aa3bd into 8.18 Oct 10, 2025
18 checks passed
@orestisfl orestisfl deleted the mergify/bp/8.18/pr-10442 branch October 10, 2025 08:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

3 participants