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

refactor(xlineapi): improve is_conflict #932

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

lxl66566
Copy link
Collaborator

@lxl66566 lxl66566 commented Aug 2, 2024

Please briefly answer these questions:

  • what problem are you trying to solve? (or if there's no problem, what's the motivation for this change?)

  • what changes does this pull request make?

    • use macros to easily add conflict rules
    • use a global conflict rules cache to cache conflict result based on request type checking
  • are there any non-obvious implications of these changes? (does it break compatibility with previous versions, etc)

@mergify mergify bot requested a review from a team August 2, 2024 01:27
Copy link

codecov bot commented Aug 2, 2024

Codecov Report

Attention: Patch coverage is 84.05797% with 22 lines in your changes missing coverage. Please review.

Project coverage is 75.17%. Comparing base (e35b35a) to head (a6e0129).
Report is 316 commits behind head on master.

Files with missing lines Patch % Lines
crates/xlineapi/src/classifier.rs 61.11% 21 Missing ⚠️
crates/xlineapi/src/command.rs 98.78% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #932      +/-   ##
==========================================
- Coverage   75.55%   75.17%   -0.39%     
==========================================
  Files         180      191      +11     
  Lines       26938    28530    +1592     
  Branches    26938    28530    +1592     
==========================================
+ Hits        20353    21446    +1093     
- Misses       5366     5791     +425     
- Partials     1219     1293      +74     

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

Copy link

mergify bot commented Aug 15, 2024

@lxl66566 Your PR is in conflict and cannot be merged.

Copy link

This PR is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 14 days

Signed-off-by: lxl66566 <[email protected]>

refactor(xlineapi): complete refactor

Signed-off-by: lxl66566 <[email protected]>
Copy link

mergify bot commented Oct 13, 2024

@lxl66566 Convert your pr to draft since CI failed

@mergify mergify bot marked this pull request as draft October 13, 2024 15:16
@mergify mergify bot added the CI:fail CI has failed label Oct 13, 2024
@mergify mergify bot marked this pull request as ready for review October 13, 2024 15:31
@mergify mergify bot removed the CI:fail CI has failed label Oct 13, 2024
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.

improve the maintainability of is_conflict method
1 participant