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

Fix the incorrect list options builder while listing aggregated roles #6530

Conversation

JohnNiang
Copy link
Member

@JohnNiang JohnNiang commented Aug 27, 2024

What type of PR is this?

/kind bug
/area core
/milestone 2.19.0

What this PR does / why we need it:

This PR corrects list options builder for listing aggregated roles, because I wrongly used the label selector in #6471.

Special notes for your reviewer:

  1. Try to install the plugin https://www.halo.run/store/apps/app-YXyaD
  2. Enable the plugin and enable setting 匿名评论需要验证码
  3. Anonymous request any of posts with comment enabled
  4. Check the captcha in comment area

Does this PR introduce a user-facing change?

修复可能无法正常访问插件提供的接口的问题

@f2c-ci-robot f2c-ci-robot bot added kind/bug Categorizes issue or PR as related to a bug. release-note Denotes a PR that will be considered when it comes time to generate release notes. labels Aug 27, 2024
@f2c-ci-robot f2c-ci-robot bot added this to the 2.19.0 milestone Aug 27, 2024
@f2c-ci-robot f2c-ci-robot bot added the area/core Issues or PRs related to the Halo Core label Aug 27, 2024
@f2c-ci-robot f2c-ci-robot bot requested review from LIlGG and ruibaby August 27, 2024 04:28
Copy link

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 57.83%. Comparing base (6cd8dc8) to head (411a70a).
Report is 24 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #6530      +/-   ##
============================================
- Coverage     58.18%   57.83%   -0.36%     
- Complexity     3774     3865      +91     
============================================
  Files           651      668      +17     
  Lines         22125    22840     +715     
  Branches       1538     1584      +46     
============================================
+ Hits          12873    13209     +336     
- Misses         8641     9010     +369     
- Partials        611      621      +10     

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

Copy link
Member

@ruibaby ruibaby left a comment

Choose a reason for hiding this comment

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

/lgtm

image

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Aug 27, 2024
Copy link
Member

@guqing guqing left a comment

Choose a reason for hiding this comment

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

/approve

Copy link

f2c-ci-robot bot commented Aug 27, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: guqing

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

@f2c-ci-robot f2c-ci-robot bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Aug 27, 2024
@f2c-ci-robot f2c-ci-robot bot merged commit b6222f4 into halo-dev:main Aug 27, 2024
8 checks passed
@JohnNiang JohnNiang deleted the bug/aggregated-roles-not-resolved-correctly branch August 27, 2024 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/core Issues or PRs related to the Halo Core kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants