-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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: autofill if post is published but no publish time #4775
Conversation
Codecov Report
@@ Coverage Diff @@
## main #4775 +/- ##
============================================
- Coverage 61.50% 61.49% -0.02%
Complexity 2798 2798
============================================
Files 403 403
Lines 14772 14776 +4
Branches 1029 1031 +2
============================================
Hits 9086 9086
- Misses 5193 5195 +2
- Partials 493 495 +2
|
/cherry-pick release-2.10 |
@ruibaby: once the present PR merges, I will cherry-pick it on top of release-2.10 in a new PR and assign it to you. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
我这里有一个担忧:目前我们还是没有找到在什么地方重置了 publishTime,即使我们手动在 reconciler 中设置了 publishTime,后续仍然有可能被再次重置,现象就是 publishTime 会经常变动。 |
确实,但目前不清楚原因产生的原因是什么,不过应该很少会遇到 |
可以提交一个 issue mark 一下。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
当前修复仅为临时方案,后续将持续探索具体原因。
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: JohnNiang 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 |
@ruibaby: new pull request created: #4781 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
What type of PR is this?
/kind improvement
/area core
/milestone 2.10.x
What this PR does / why we need it:
如果文章是发布状态但没有发布时间则自动填充
Does this PR introduce a user-facing change?