Skip to content

Conversation

@litianningdatadog
Copy link
Contributor

https://datadoghq.atlassian.net/browse/SVLS-8095

Overview

Tag parsing previously used split(':') which broke values containing colons like URLs (git.repository_url:https://...). Changed to usesplitn(2, ':') to split only on the first colon, preserving the rest as the value.

Changes:

  • Add parse_key_value_tag() helper to centralize parsing logic
  • Refactor deserialize_key_value_pairs to use helper
  • Refactor deserialize_key_value_pair_array_to_hashmap to use helper
  • Add comprehensive test coverage for URL values and edge cases

Testing

unit test and expect e2e tests to pass

@litianningdatadog litianningdatadog requested a review from a team as a code owner December 4, 2025 17:28
@litianningdatadog
Copy link
Contributor Author

/merge

@dd-devflow-routing-codex
Copy link

dd-devflow-routing-codex bot commented Dec 4, 2025

View all feedbacks in Devflow UI.

2025-12-04 19:03:46 UTC ℹ️ Start processing command /merge


2025-12-04 19:03:51 UTC ℹ️ MergeQueue: pull request added to the queue

The expected merge time in main is approximately 1m (p90).


2025-12-04 19:27:23 UTC ℹ️ MergeQueue: This merge request was merged

@dd-mergequeue dd-mergequeue bot merged commit 56d4a07 into main Dec 4, 2025
45 checks passed
@dd-mergequeue dd-mergequeue bot deleted the tianning.li/SVLS-8095 branch December 4, 2025 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants