Skip to content

Conversation

@SonaliBedge
Copy link
Collaborator

fixes #2304
Fix tracer parsing function to properly handle variables whose names are substrings of other variables

@codecov
Copy link

codecov bot commented Apr 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 77.20%. Comparing base (c113e87) to head (637a55c).
Report is 56 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2330      +/-   ##
==========================================
+ Coverage   77.16%   77.20%   +0.04%     
==========================================
  Files          88       88              
  Lines        3377     3383       +6     
  Branches      366      366              
==========================================
+ Hits         2606     2612       +6     
  Misses        703      703              
  Partials       68       68              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SonaliBedge SonaliBedge requested a review from anth-volk April 3, 2025 01:04
@SonaliBedge SonaliBedge self-assigned this Apr 3, 2025
Copy link
Collaborator

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

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

Hi @SonaliBedge,

Thanks for your contributions on this issue. I have a minor edit, but otherwise, I think this is good to merge! Thank you very much.

- bump: patch
changes:
changed:
- Fixed tracer parsing function. It was not properly handle variable whose names are substrings of other variables.
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: Typo

Suggested change
- Fixed tracer parsing function. It was not properly handle variable whose names are substrings of other variables.
- Fixed tracer parsing function. It was not properly handling variables whose names are substrings of other variables.

@SonaliBedge
Copy link
Collaborator Author

Hi @SonaliBedge,

Thanks for your contributions on this issue. I have a minor edit, but otherwise, I think this is good to merge! Thank you very much.

Thank you! I appreciate the feedback. I made changes. Glad to hear it's ready to merge!

@SonaliBedge SonaliBedge requested a review from anth-volk April 7, 2025 17:31
Copy link
Collaborator

@anth-volk anth-volk left a comment

Choose a reason for hiding this comment

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

Thanks for your work on this @SonaliBedge! This looks great. It'll be great having a fix to this issue.

assert result == expected_output


def test_tracer_output_for_variable_that_is_substring_of_another():
Copy link
Collaborator

Choose a reason for hiding this comment

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

accolade: I really appreciate how quickly you were able to get oriented on our code base. Great to have a test for this issue!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thank you so much @anth-volk !

@anth-volk anth-volk merged commit 3367791 into master Apr 16, 2025
7 checks passed
@anth-volk anth-volk deleted the SonaliBedge/2304-fix-tracer-parsing-function branch April 16, 2025 18:49
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.

Tracer parsing function does not properly handle variables whose names are substrings of other variables

3 participants