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

[chore][cmd/mdatagen] fix #12298 unit tests failures #12477

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

gudecatch
Copy link

Description

The current implementation is not working in the sample projects. I reviewed the PR that introduced these changes and found no explanation for them. I believe it’s reasonable to revert these changes, so I’ve created this PR.

Please let me know if I’ve missed anything. Thank you!

Link to tracking issue

Fixes #12298

Testing

$ cd cmd/mdatagen 
$ go install .
$ make generate 
$ git status  # run this to check there is no change in the generated files 
$ make test

Documentation

@gudecatch gudecatch requested review from dmitryax and a team as code owners February 25, 2025 06:41
Copy link

linux-foundation-easycla bot commented Feb 25, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

@gudecatch gudecatch force-pushed the new-fix-mdatagen-internal-tests branch from 7270a2c to 9aacbce Compare February 26, 2025 01:51
@gudecatch
Copy link
Author

the cla has been signed, could you please have a look? thanks!

Copy link

codecov bot commented Feb 26, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.00%. Comparing base (0faea29) to head (b633680).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12477   +/-   ##
=======================================
  Coverage   92.00%   92.00%           
=======================================
  Files         469      469           
  Lines       25355    25355           
=======================================
  Hits        23327    23327           
  Misses       1619     1619           
  Partials      409      409           

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

@dmitryax dmitryax added this pull request to the merge queue Feb 26, 2025
@gudecatch
Copy link
Author

looks like easycla still got stuck here

@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 26, 2025
@dmitryax dmitryax added this pull request to the merge queue Feb 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 26, 2025
@bogdandrutu bogdandrutu added this pull request to the merge queue Feb 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 27, 2025
@bogdandrutu bogdandrutu added this pull request to the merge queue Feb 27, 2025
@bogdandrutu bogdandrutu removed this pull request from the merge queue due to a manual request Feb 27, 2025
@bogdandrutu bogdandrutu added this pull request to the merge queue Feb 27, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to no response for status checks Feb 27, 2025
bogdandrutu added a commit that referenced this pull request Feb 28, 2025
Fixes #12298

Inspired by
#12477,
but looks like that PR is hard to pass queue merge.

Signed-off-by: Bogdan Drutu <[email protected]>
@bogdandrutu
Copy link
Member

Please rebase.

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.

mdatagen: metrics.go.tmpl broken filter import
3 participants