This is an automated email from the ASF dual-hosted git repository.
klesh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new eadd20828 fix: skip transferred issue for Github source (#8637)
eadd20828 is described below
commit eadd2082898e7afe1126b57ac5a06073280be30b
Author: Flow <[email protected]>
AuthorDate: Thu Jan 15 14:32:07 2026 +0100
fix: skip transferred issue for Github source (#8637)
---
backend/helpers/pluginhelper/api/graphql_collector.go | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/backend/helpers/pluginhelper/api/graphql_collector.go
b/backend/helpers/pluginhelper/api/graphql_collector.go
index e83435e9b..78315ad6d 100644
--- a/backend/helpers/pluginhelper/api/graphql_collector.go
+++ b/backend/helpers/pluginhelper/api/graphql_collector.go
@@ -22,6 +22,7 @@ import (
"encoding/json"
"net/http"
"reflect"
+ "strings"
"time"
"github.com/apache/incubator-devlake/core/dal"
@@ -276,7 +277,11 @@ func (collector *GraphqlCollector) fetchAsync(reqData
*GraphqlRequestData, handl
if len(dataErrors) > 0 {
if !collector.args.IgnoreQueryErrors {
for _, dataError := range dataErrors {
-
collector.checkError(errors.Default.Wrap(dataError, `graphql query got error`))
+ if strings.Contains(dataError.Error(), "Could
not resolve to an Issue") {
+ logger.Warn(nil, "Issue may have been
transferred.")
+ } else {
+
collector.checkError(errors.Default.Wrap(dataError, `graphql query got error`))
+ }
}
return
}