dosubot[bot] commented on issue #8853: URL: https://github.com/apache/incubator-devlake/issues/8853#issuecomment-4322190807
<!-- Answer --> Thanks for the detailed bug report, @yamoyamoto! Your diagnosis is spot on. Looking at the current `main` branch, the `GraphqlQueryIssueDetailWrapper` struct [does **not** contain](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/plugins/github_graphql/tasks/issue_collector.go#L50-L57) the `requestedIssues` field — it only has `RateLimit` and `Repository`. The tracking is done via a closure variable `issueUpdatedAt` (a `map[int]time.Time`) declared [at L162](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/plugins/github_graphql/tasks/issue_collector.go#L162), populated in the [BuildQuery closure](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/plugins/github_graphql/tasks/issue_collector.go#L174-L182), and read in the [ResponseParser closure](https://github.com/apache/incubator-devlake/blob/2c15ad880dce830c6512fa58039527cbf4745b8b/backend/plugins/github_graphql/tasks/issue_collector.go#L190-L199). So it appears the approach you recommended (moving the metadata out of the struct and into the closure) is already how the code looks on `main`. Could you double-check whether the version you're running actually contains the problematic `requestedIssues` field? The `v1.0.3-beta12` tag doesn't seem to exist in the repository — only `v1.0.3-beta1` and `v1.0.3-beta2` are present. It's possible you're running from a branch or build that includes the intermediate state from PR #8820 before it was corrected. If you're still hitting this on a specific build, upgrading to the latest `main` should resolve it. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fincubator-devlake).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fincubator-devlake). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fincubator-devlake#message_id=e1e349da-e9bc-463c-962d-60e22a6d6c7a) [](https://github.dosu.com/apache/incubator-devlake?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fincubator-devlake) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fincubator-devlake) -- 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]
