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

feat: modularize rule #142

Merged
merged 1 commit into from
Oct 30, 2024
Merged

feat: modularize rule #142

merged 1 commit into from
Oct 30, 2024

Conversation

y1yang0
Copy link
Member

@y1yang0 y1yang0 commented Oct 16, 2024

Complete #35 #44

Fix #133

This patch allows us to load any rules, including user-defined ones, at compile time.

@y1yang0 y1yang0 force-pushed the yyang/new_mod_rule branch 14 times, most recently from 83ff935 to 0ab0a72 Compare October 22, 2024 06:34
@y1yang0 y1yang0 force-pushed the yyang/new_mod_rule branch 5 times, most recently from 329c0ce to ebfbf9e Compare October 23, 2024 06:06
@y1yang0 y1yang0 force-pushed the yyang/new_mod_rule branch 2 times, most recently from 0abe068 to 48a0a79 Compare October 28, 2024 02:54
@alibaba alibaba deleted a comment from codecov-commenter Oct 28, 2024
@codecov-commenter
Copy link

codecov-commenter commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 0.00%. Comparing base (40e3aa3) to head (d48aa44).

Files with missing lines Patch % Lines
main.go 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #142       +/-   ##
==========================================
- Coverage   64.01%   0.00%   -64.02%     
==========================================
  Files          22       1       -21     
  Lines         992      17      -975     
==========================================
- Hits          635       0      -635     
+ Misses        332      17      -315     
+ Partials       25       0       -25     

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

@y1yang0 y1yang0 marked this pull request as draft October 28, 2024 05:55
@y1yang0 y1yang0 marked this pull request as ready for review October 28, 2024 10:24
@123liuziming
Copy link
Collaborator

The test always fails with disk no space... I will try to fix the ci tomorrow

@y1yang0 y1yang0 force-pushed the yyang/new_mod_rule branch 3 times, most recently from 09600ae to 5d73875 Compare October 29, 2024 07:42
@y1yang0
Copy link
Member Author

y1yang0 commented Oct 29, 2024

All tests passed! Could I have a review? @123liuziming @yanglong1010

example/demo/demo
test/zap/test_zap
test/gorm/v1.22.0/test_gorm_crud
Copy link
Collaborator

Choose a reason for hiding this comment

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

I believe there are more binaries to ignore

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, let's add them when we need to

Copy link
Collaborator

Choose a reason for hiding this comment

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

The plugin tests should be runned in Go1.22 and Go1.23 now according to the latest otel sdk

@y1yang0 y1yang0 force-pushed the yyang/new_mod_rule branch from 5d73875 to 9e69d33 Compare October 29, 2024 09:07
Copy link
Collaborator

@123liuziming 123liuziming left a comment

Choose a reason for hiding this comment

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

LGTM, remember to resolve all the conversations

Co-authored-by: 牧思 <liuziming.lzm@alibaba-inc.com>
@y1yang0 y1yang0 force-pushed the yyang/new_mod_rule branch from 9e69d33 to d48aa44 Compare October 30, 2024 01:23
@y1yang0 y1yang0 merged commit bc9a69f into main Oct 30, 2024
7 checks passed
@y1yang0 y1yang0 deleted the yyang/new_mod_rule branch October 30, 2024 01:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants