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

made changes for enableing tagliatelle #2745

Merged
merged 10 commits into from
Jan 15, 2024

Conversation

vishwas-sharma2480
Copy link
Contributor

This PR aims to enable the tagliatelle linter rule for our project. The tagliatelle rule is crucial for maintaining code quality and adherence to coding standards. The suggested solution involves evaluating whether we can afford to enable the rule. If affirmative, all linter errors have been addressed to ensure that the tests pass successfully. In case enabling the rule is deemed unfeasible, it has been disabled, and a comment is left to explain the decision (subject to review by the development team).

Changes Made:

Enabled the tagliatelle linter rule.
Addressed all linter errors to ensure successful test runs

@vishwas-sharma2480 vishwas-sharma2480 requested a review from a team as a code owner January 9, 2024 01:43
@vishwas-sharma2480 vishwas-sharma2480 requested review from idoqo and JiriCtvrtka and removed request for a team January 9, 2024 01:43
Copy link

codecov bot commented Jan 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (40b3365) 42.00% compared to head (2e8c0cf) 42.01%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2745   +/-   ##
=======================================
  Coverage   42.00%   42.01%           
=======================================
  Files         395      395           
  Lines       50048    50048           
=======================================
+ Hits        21023    21028    +5     
+ Misses      27025    27023    -2     
+ Partials     2000     1997    -3     
Flag Coverage Δ
admin 11.54% <ø> (ø)
agent 52.40% <ø> (+0.04%) ⬆️

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.

Comment on lines 57 to 58
StartTS primitive.Timestamp `bson:"start_ts"`
EndTS primitive.Timestamp `bson:"end_ts"`
StartTS primitive.Timestamp `bson:"startTs"`
EndTS primitive.Timestamp `bson:"endTs"`
Copy link
Member

Choose a reason for hiding this comment

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

I think we need to revert it and comment to ignore it since it's based on data that we get from MongoDB.

@JiriCtvrtka
Copy link
Contributor

@vishwas-sharma2480 Hi, thanks for you contribution. Could you run "make format" and commit changes to make main check pass?

@vishwas-sharma2480
Copy link
Contributor Author

vishwas-sharma2480 commented Jan 9, 2024

I have done the suggested changes @BupycHuk and @JiriCtvrtka please let me know if need any changes

@@ -54,7 +54,7 @@ type oplogChunk struct {
RS string `bson:"rs"`
FName string `bson:"fname"`
Compression compressionType `bson:"compression"`
StartTS primitive.Timestamp `bson:"start_ts"`
StartTS primitive.Timestamp `bson:"start_Ts"`
Copy link
Member

Choose a reason for hiding this comment

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

please revert this change

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hi @BupycHuk I have done the requested changes

@vishwas-sharma2480
Copy link
Contributor Author

vishwas-sharma2480 commented Jan 11, 2024

@JiriCtvrtka can you please review the changes let me know if any change required

@JiriCtvrtka JiriCtvrtka enabled auto-merge (squash) January 15, 2024 09:42
@JiriCtvrtka JiriCtvrtka merged commit ce0fbe8 into percona:main Jan 15, 2024
30 of 31 checks passed
@BupycHuk
Copy link
Member

@vishwas-sharma2480 thank you for your contribution

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