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: generate summaries only for content changes #7200

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

guqing
Copy link
Member

@guqing guqing commented Jan 14, 2025

What type of PR is this?

/kind improvement
/area core
/milestone 2.20.x

What this PR does / why we need it:

自动生成摘要仅对内容变更时生效

see #7193 (comment) for more details

避免对资源造成浪费如 AI 摘要生成

Which issue(s) this PR fixes:

Fixes #7193

Does this PR introduce a user-facing change?

自动生成摘要仅对内容发生变更时生效

@f2c-ci-robot f2c-ci-robot bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. kind/improvement Categorizes issue or PR as related to a improvement. labels Jan 14, 2025
@f2c-ci-robot f2c-ci-robot bot added this to the 2.20.x milestone Jan 14, 2025
@f2c-ci-robot f2c-ci-robot bot added the area/core Issues or PRs related to the Halo Core label Jan 14, 2025
@f2c-ci-robot f2c-ci-robot bot requested review from JohnNiang and wan92hen January 14, 2025 05:06
Copy link

codecov bot commented Jan 14, 2025

Codecov Report

Attention: Patch coverage is 66.66667% with 4 lines in your changes missing coverage. Please review.

Project coverage is 57.17%. Comparing base (eff73dc) to head (f3913d2).
Report is 87 commits behind head on main.

Files with missing lines Patch % Lines
...a/run/halo/app/core/reconciler/PostReconciler.java 66.66% 1 Missing and 1 partial ⚠️
...halo/app/core/reconciler/SinglePageReconciler.java 66.66% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main    #7200      +/-   ##
============================================
+ Coverage     56.99%   57.17%   +0.17%     
- Complexity     3999     4047      +48     
============================================
  Files           714      719       +5     
  Lines         24110    24378     +268     
  Branches       1585     1602      +17     
============================================
+ Hits          13742    13937     +195     
- Misses         9756     9822      +66     
- Partials        612      619       +7     

☔ 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

@f2c-ci-robot f2c-ci-robot bot added the lgtm Indicates that a PR is ready to be merged. label Jan 20, 2025
Copy link

f2c-ci-robot bot commented Jan 20, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ruibaby

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 Jan 20, 2025
@f2c-ci-robot f2c-ci-robot bot merged commit 1491c5b into halo-dev:main Jan 20, 2025
9 checks passed
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/improvement Categorizes issue or PR as related to a improvement. 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.

自动生成文章摘要会在文章内容没有变更的情况下触发
2 participants