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

[cmd/mdatagen]: Add feature gates support to metadata-schema.yaml #11466

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

Conversation

narcis96
Copy link
Contributor

@narcis96 narcis96 commented Oct 16, 2024

Description:
Added feature-gates section to metadata-schema.yaml together with id, description, stage and other required. This information can then be used for code generation, documentation generation and by other consumers of the metadata.yaml file

Link to tracking Issue: #9860

@narcis96 narcis96 requested a review from a team as a code owner October 16, 2024 10:44
@narcis96 narcis96 requested a review from mx-psi October 16, 2024 10:44
Copy link
Member

@mx-psi mx-psi left a comment

Choose a reason for hiding this comment

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

Thanks! Left some comments

cmd/mdatagen/internal/loader.go Outdated Show resolved Hide resolved
cmd/mdatagen/internal/loader.go Outdated Show resolved Hide resolved
cmd/mdatagen/internal/loader.go Outdated Show resolved Hide resolved
cmd/mdatagen/internal/loader.go Outdated Show resolved Hide resolved
@narcis96 narcis96 force-pushed the narcis/feature_gates_in_metadata.yaml_file branch from 7514949 to 05ec7bf Compare October 17, 2024 11:38
cmd/mdatagen/internal/loader.go Outdated Show resolved Hide resolved
cmd/mdatagen/internal/loader.go Outdated Show resolved Hide resolved
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 15 lines in your changes missing coverage. Please review.

Project coverage is 91.49%. Comparing base (8e522ad) to head (9be9746).

Files with missing lines Patch % Lines
cmd/mdatagen/internal/metadata.go 61.29% 11 Missing and 1 partial ⚠️
cmd/mdatagen/internal/command.go 25.00% 2 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main   #11466      +/-   ##
==========================================
- Coverage   91.54%   91.49%   -0.06%     
==========================================
  Files         442      442              
  Lines       23792    23826      +34     
==========================================
+ Hits        21780    21799      +19     
- Misses       1641     1654      +13     
- Partials      371      373       +2     

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

@narcis96 narcis96 force-pushed the narcis/feature_gates_in_metadata.yaml_file branch 4 times, most recently from 95dc2e8 to 68b465a Compare October 21, 2024 14:48
@narcis96 narcis96 force-pushed the narcis/feature_gates_in_metadata.yaml_file branch 2 times, most recently from 7ffa5a0 to 32f20c5 Compare October 21, 2024 15:54
@narcis96 narcis96 force-pushed the narcis/feature_gates_in_metadata.yaml_file branch 3 times, most recently from b9a675b to 50d5cf3 Compare October 22, 2024 13:50
@mx-psi
Copy link
Member

mx-psi commented Oct 24, 2024

Can you fix the merge conflict? The CI won't run otherwise

@narcis96 narcis96 force-pushed the narcis/feature_gates_in_metadata.yaml_file branch from 27d1ad9 to a482d76 Compare October 24, 2024 08:36
@narcis96
Copy link
Contributor Author

Can you fix the merge conflict? The CI won't run otherwise

done

@narcis96 narcis96 force-pushed the narcis/feature_gates_in_metadata.yaml_file branch 3 times, most recently from 7daa444 to b63861b Compare October 24, 2024 08:51
@narcis96 narcis96 requested a review from mx-psi October 24, 2024 10:39
@narcis96 narcis96 force-pushed the narcis/feature_gates_in_metadata.yaml_file branch from b63861b to 01e73a2 Compare October 24, 2024 13:29
@narcis96
Copy link
Contributor Author

@mx-psi PTAL

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