Skip to content

Conversation

@rdner
Copy link
Member

@rdner rdner commented Nov 25, 2025

Tests for troubleshooting a bug discovered by @straistaru

@rdner rdner added backport-skip Skip notification from the automated backport with mergify Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team skip-changelog labels Nov 25, 2025
@botelastic botelastic bot added needs_team Indicates that the issue/PR needs a Team:* label and removed needs_team Indicates that the issue/PR needs a Team:* label labels Nov 25, 2025
@github-actions
Copy link
Contributor

🤖 GitHub comments

Just comment with:

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

"log": mapstr.M{
"logger": "agent_component.cli",
},
},
Copy link

@straistaru straistaru Nov 25, 2025

Choose a reason for hiding this comment

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

Shouldn't the input Data have to be something like the case above with 2 "log" keys (which is not possible in a mapstr.M)? Here we have "log" and "log.level" keys.

{
    "log.level": "info",
    "log": {
        "source": "connectors-py-default"
    },
    "log": {
        "logger": "agent_component.cli"
    }
}

So, I am not sure these test the actual test case we want to test.

Copy link
Member Author

Choose a reason for hiding this comment

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

@straistaru when we expand (de-dot) keys we also face a collision. This is to demonstrate the current behavior of what happens in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-skip Skip notification from the automated backport with mergify skip-changelog Team:Elastic-Agent-Data-Plane Label for the Agent Data Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants