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 (2fe4785).
Report is 304 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      190      +10     
  Lines       26938    28442    +1504     
  Branches    26938    28442    +1504     
==========================================
+ Hits        20353    21381    +1028     
- Misses       5366     5768     +402     
- 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

@github-actions github-actions bot added Stale and removed Stale labels Sep 15, 2024
Signed-off-by: lxl66566 <[email protected]>

refactor(xlineapi): complete refactor

Signed-off-by: lxl66566 <[email protected]>
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