keon94 commented on code in PR #4626:
URL:
https://github.com/apache/incubator-devlake/pull/4626#discussion_r1133865665
##########
backend/helpers/pluginhelper/api/api_collector_with_state.go:
##########
@@ -122,18 +122,25 @@ func (m *ApiCollectorStateManager) Execute() errors.Error
{
}
// NewStatefulApiCollectorForFinalizableEntity aims to add timeFilter/diffSync
support for
-// APIs that do NOT support filtering data by updated date. However, it comes
with the
+// APIs that do NOT support filtering data by the updated date. However, it
comes with the
// following constraints:
// 1. The entity is a short-lived object or it is likely to be irrelevant
// a. ci/id pipelines are short-lived objects
// b. pull request might took a year to be closed or never, but it is
likely irrelevant
-// 2. The entity must be Finalizable: when it is finalized, no modification
forever
+// 2. The entity must be Finalizable: when it is finalized, no modification
would be allowed ever since
Review Comment:
I'd reword this to: "The entity must be finalizable, meaning no future
modifications will happen to it."
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]