-
Notifications
You must be signed in to change notification settings - Fork 38.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
Impose length limit when concatenating revision history #77610
Conversation
ping @janetkuo for review |
/assign @janetkuo |
/priority important-soon |
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.
This mostly looks good to me. As far as I can tell, this addresses the issue with the length of the annotation growing without bounds. In the issue it was also suggested that we should only add to the revision history if the revision number actually changed (to avoid the 41,41,41...
situation). We might want to address that too in this PR.
@mortent
if the above is not enough to prevent duplicate revisions to appear in revision history, please let me know what else needs to change. Thanks |
@tedyu When I'm looking at it now, I think you are right. It should be covered by your change. /lgtm |
ping @janetkuo |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: janetkuo, tedyu 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 |
What type of PR is this?
/kind bug
What this PR does / why we need it:
As Paul reported, we should impose length limit when concatenating revisions.
Otherwise, we may see the following error:
Which issue(s) this PR fixes:
Fixes #77387