Skip to content

Ensure DI PII line probe tests actually run for all tracers#3823

Merged
watson merged 1 commit into
mainfrom
watson/DEBUG-2745/fix-pii-tests
Jan 20, 2025
Merged

Ensure DI PII line probe tests actually run for all tracers#3823
watson merged 1 commit into
mainfrom
watson/DEBUG-2745/fix-pii-tests

Conversation

@watson

@watson watson commented Jan 15, 2025

Copy link
Copy Markdown
Contributor

Motivation

Better test coverage :)

Changes

Only Ruby PII line probe tests were evaluated prior to this PR, as the @missing_feature annotation for Ruby was incorrectly negated. So in reality it as only testing Ruby and nothing else. That implies that Ruby was actually working, since it wasn't complaining. So this PR have completely removed that @missing_feature annotation.

This issue was hiding tests that actually failed for Node.js which this PR also fixes (the majority of changes in this PR).

Depends on:

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)?

watson commented Jan 15, 2025

Copy link
Copy Markdown
Contributor Author

Comment thread tests/debugger/test_debugger_pii.py
@watson
watson force-pushed the watson/DEBUG-2745/fix-pii-tests branch 6 times, most recently from d8bfb51 to 3169298 Compare January 18, 2025 08:55
Comment thread utils/build/docker/nodejs/express/debugger/index.js
Only Ruby PII line probe tests were evaluated prior to this commit, as
the `@missing_feature` annotation for Ruby was incorrectly negated.

This issue was hiding tests that actually failed for Node.js which this
commit also fixes.
@watson
watson force-pushed the watson/DEBUG-2745/fix-pii-tests branch 2 times, most recently from 66e9a74 to 183f7d1 Compare January 19, 2025 06:18
@watson
watson marked this pull request as ready for review January 19, 2025 06:18
@watson
watson requested review from a team as code owners January 19, 2025 06:18
@watson
watson requested review from ValentinZakharov, amarziali, avara1986, manuel-alvarez-alvarez, sabrenner and songy23 and removed request for a team January 19, 2025 06:18
@watson

watson commented Jan 19, 2025

Copy link
Copy Markdown
Contributor Author

Note that currently the Node.js tests will fail, until the depended upon PRs mentioned in the PR description has been merged and the tests re-run. However, I've tested this already so the review can start already now

@shurivich shurivich left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM. Excellent work

@cbeauchesne cbeauchesne left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

CI is failing on node : https://github.com/DataDog/system-tests/actions/runs/12851038726/job/35831460207?pr=3823#step:63:81

Edit : just saw your comment. you can dismiss my review and merge once the PR on node is merged and the test green 😄

@watson
watson requested a review from cbeauchesne January 20, 2025 11:15
@watson
watson merged commit 43a8a42 into main Jan 20, 2025
@watson
watson deleted the watson/DEBUG-2745/fix-pii-tests branch January 20, 2025 11:16
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.

3 participants