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

Add 'features' command to beautify and print feature gates #6542

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

Conversation

ADI-ROXX
Copy link
Contributor

@ADI-ROXX ADI-ROXX commented Jan 14, 2025

Which problem is this PR solving?

Description of the changes

How was this change tested?

  • make features

Checklist

Signed-off-by: cs-308-2023 <adityaruhela2003@gmail.com>
Signed-off-by: cs-308-2023 <adityaruhela2003@gmail.com>
@ADI-ROXX ADI-ROXX requested a review from a team as a code owner January 14, 2025 04:30
@ADI-ROXX ADI-ROXX requested a review from pavolloffay January 14, 2025 04:30
@dosubot dosubot bot added the enhancement label Jan 14, 2025
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 50.27%. Comparing base (89c4ee4) to head (0821aa6).
Report is 14 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6542      +/-   ##
==========================================
+ Coverage   50.21%   50.27%   +0.06%     
==========================================
  Files         188      188              
  Lines       11405    11411       +6     
==========================================
+ Hits         5727     5737      +10     
+ Misses       5220     5219       -1     
+ Partials      458      455       -3     
Flag Coverage Δ
badger_v1 10.65% <ø> (-0.03%) ⬇️
badger_v2 2.78% <ø> (-0.01%) ⬇️
cassandra-4.x-v1-manual 16.55% <ø> (-0.03%) ⬇️
cassandra-4.x-v2-auto 2.71% <ø> (-0.01%) ⬇️
cassandra-4.x-v2-manual 2.71% <ø> (-0.01%) ⬇️
cassandra-5.x-v1-manual 16.55% <ø> (-0.03%) ⬇️
cassandra-5.x-v2-auto 2.71% <ø> (-0.01%) ⬇️
cassandra-5.x-v2-manual 2.71% <ø> (-0.01%) ⬇️
elasticsearch-6.x-v1 20.34% <ø> (+0.08%) ⬆️
elasticsearch-7.x-v1 20.40% <ø> (+0.07%) ⬆️
elasticsearch-8.x-v1 20.57% <ø> (+0.08%) ⬆️
elasticsearch-8.x-v2 2.77% <ø> (-0.01%) ⬇️
grpc_v1 12.17% <ø> (-0.03%) ⬇️
grpc_v2 9.04% <ø> (-0.01%) ⬇️
kafka-3.x-v1 10.33% <ø> (-0.03%) ⬇️
kafka-3.x-v2 2.78% <ø> (-0.01%) ⬇️
memory_v2 2.78% <ø> (+<0.01%) ⬆️
opensearch-1.x-v1 20.46% <ø> (+0.08%) ⬆️
opensearch-2.x-v1 20.46% <ø> (+0.08%) ⬆️
opensearch-2.x-v2 2.77% <ø> (-0.02%) ⬇️
tailsampling-processor 0.51% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

Signed-off-by: cs-308-2023 <adityaruhela2003@gmail.com>
Signed-off-by: cs-308-2023 <adityaruhela2003@gmail.com>
@@ -218,6 +218,10 @@ generate-mocks: $(MOCKERY)
certs:
cd pkg/config/tlscfg/testdata && ./gen-certs.sh

.PHONY: features
Copy link
Member

Choose a reason for hiding this comment

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

Don't need this

// Copyright (c) 2023 The Jaeger Authors.
// SPDX-License-Identifier: Apache-2.0

package main
Copy link
Member

Choose a reason for hiding this comment

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

The requirement is to make it a sub command of jaeger binary, not a standalone binary.

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.

Add "features" command to print documentation about all features
2 participants