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

*: format log fields using kebab-case style #8956

Merged
merged 3 commits into from
Jan 2, 2025
Merged

Conversation

rleungx
Copy link
Member

@rleungx rleungx commented Dec 30, 2024

What problem does this PR solve?

Issue Number: ref #4322.

What is changed and how does it work?

I wrote a simple linter to detect this issue: https://github.com/rleungx/zaplint

Check List

Tests

  • Unit test

Release note

None.

@ti-chi-bot ti-chi-bot bot added release-note-none Denotes a PR that doesn't merit a release note. do-not-merge/needs-linked-issue dco-signoff: yes Indicates the PR's author has signed the dco. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. and removed do-not-merge/needs-linked-issue labels Dec 30, 2024
@rleungx rleungx requested review from lhy1024 and okJiang December 30, 2024 03:42
@ti-chi-bot ti-chi-bot bot added the needs-1-more-lgtm Indicates a PR needs 1 more LGTM. label Dec 30, 2024
Copy link

codecov bot commented Dec 30, 2024

Codecov Report

Attention: Patch coverage is 62.50000% with 9 lines in your changes missing coverage. Please review.

Project coverage is 76.33%. Comparing base (5ad4301) to head (27e6446).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #8956      +/-   ##
==========================================
+ Coverage   76.28%   76.33%   +0.04%     
==========================================
  Files         465      465              
  Lines       70537    70537              
==========================================
+ Hits        53810    53841      +31     
+ Misses      13379    13353      -26     
+ Partials     3348     3343       -5     
Flag Coverage Δ
unittests 76.33% <62.50%> (+0.04%) ⬆️

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

Copy link
Member

@okJiang okJiang left a comment

Choose a reason for hiding this comment

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

BTW, https://github.com/rleungx/zaplint can't be accessed

@ti-chi-bot ti-chi-bot bot added lgtm and removed needs-1-more-lgtm Indicates a PR needs 1 more LGTM. labels Dec 30, 2024
Copy link
Contributor

ti-chi-bot bot commented Dec 30, 2024

[LGTM Timeline notifier]

Timeline:

  • 2024-12-30 03:43:22.251429547 +0000 UTC m=+321937.607434087: ☑️ agreed by lhy1024.
  • 2024-12-30 03:50:44.036471801 +0000 UTC m=+322379.392476343: ☑️ agreed by okJiang.

@rleungx
Copy link
Member Author

rleungx commented Dec 30, 2024

@niubell PTAL

Signed-off-by: Ryan Leung <[email protected]>
Signed-off-by: Ryan Leung <[email protected]>
@ti-chi-bot ti-chi-bot bot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Dec 31, 2024
Copy link
Contributor

ti-chi-bot bot commented Jan 2, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: lhy1024, niubell, okJiang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@ti-chi-bot ti-chi-bot bot added the approved label Jan 2, 2025
@ti-chi-bot ti-chi-bot bot merged commit c2d4854 into tikv:master Jan 2, 2025
23 of 25 checks passed
@rleungx rleungx deleted the fmt branch January 2, 2025 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved dco-signoff: yes Indicates the PR's author has signed the dco. lgtm release-note-none Denotes a PR that doesn't merit a release note. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants