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

Update 128 bit logging enabled tests and disable stable config tests #4251

Merged
merged 3 commits into from
Mar 5, 2025

Conversation

mhlidd
Copy link
Contributor

@mhlidd mhlidd commented Mar 5, 2025

Motivation

Update 128bit logging enabled tests to consider the Java edge case. Update and disable stable config Java tests to allow CI to pass on the following dd-trace-java PR that updates the default value of DD_LOGS_INJECTION. Stable Config tests will be enabled in a future PR following the merge of the above dd-trace-java PR.

Changes

Workflow

  1. ⚠️ Create your PR as draft ⚠️
  2. Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
  3. Mark it as ready for review
    • Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
    • Framework is modified, or non obvious usage of it -> get a review from R&P team

🚀 Once your PR is reviewed, you can merge it!

🛟 #apm-shared-testing 🛟

Reviewer checklist

  • If PR title starts with [<language>], double-check that only <language> is impacted by the change
  • No system-tests internal is modified. Otherwise, I have the approval from R&P team
  • CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
  • A docker base image is modified?
    • the relevant build-XXX-image label is present
  • A scenario is added (or removed)?

@mhlidd mhlidd marked this pull request as ready for review March 5, 2025 18:26
@mhlidd mhlidd requested review from a team and mabdinur as code owners March 5, 2025 18:26
@mhlidd mhlidd requested review from smola, robertpi and mtoffl01 and removed request for smola and robertpi March 5, 2025 18:26
@mhlidd mhlidd changed the title [Java] Update 128 bit logging enabled tests and disable stable config tests Update 128 bit logging enabled tests and disable stable config tests Mar 5, 2025
Copy link
Contributor

@mabdinur mabdinur left a comment

Choose a reason for hiding this comment

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

Left some questions and minor suggestions. Feel free to merge the PR when CI is green.

Comment on lines 562 to 564
# dd-trace-java stores injected trace information under the "mdc" key
if context.library.library == "java":
log_msg = log_msg.get("mdc")
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we move this logic to parse_log_injection_message so we can use use it in tests

Comment on lines +1827 to +1828
'*': incomplete_test_app (weblog endpoint not implemented)
'spring-boot-3-native': missing_feature
Copy link
Contributor

Choose a reason for hiding this comment

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

Are we planning to enable the 128bit logging tests in this PR?

Suggested change
'*': incomplete_test_app (weblog endpoint not implemented)
'spring-boot-3-native': missing_feature
'*': incomplete_test_app (weblog endpoint not implemented)
'spring-boot-3-native': v1.48.0.dev

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh we could do it like this, but I was going open a new PR to enable all tests together anyways. This was just to update the manifests to help Java CI pass

@mhlidd mhlidd merged commit 590162e into main Mar 5, 2025
279 checks passed
@mhlidd mhlidd deleted the mhlidd/update_128_bit_log_injection branch March 5, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants