GitHub user dosubot[bot] added a comment to the discussion: Pipeline running 
for days

<!-- Greeting -->
Hi @danielemoraschi! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping 
the incubator-devlake team.

<!-- Answer -->
The log messages showing slow, steady increments in "finished records" for the 
"Collect Job Runs" step—without errors—usually mean DevLake is still collecting 
data, but it's progressing very slowly. This often happens with large 
repositories if the backend runs out of memory or resources. There are two 
common causes for this:

1. **Resource constraints:** When DevLake runs with limited memory (e.g., 4GB 
RAM), the backend can freeze or become unresponsive during large data 
collection tasks, especially with GitHub or Jira. Increasing the container 
memory to 6GB has resolved similar issues for others, allowing the pipeline to 
complete successfully on large projects while smaller ones finish quickly 
regardless of memory limits 
[[source](https://github.com/apache/incubator-devlake/issues/8480)].

2. **GitHub GraphQL plugin bugs:** In some versions (notably v1.0.2-beta7), 
there was a bug where the "Collect Job Runs" task would collect data as check 
runs, but the extraction step expected check suite data, causing the process to 
hang or produce incomplete results. Upgrading to v1.0.2-beta8 or later and 
recollecting data fixes this issue 
[[source](https://github.com/apache/incubator-devlake/issues/8415)].

Try increasing your DevLake container's memory allocation and make sure you're 
running the latest version. If you recently upgraded, you may need to recollect 
data for the affected repositories.


<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*

---
<sup>How did I do? 
[Good](https://app.dosu.dev/response-feedback/e928c6ef-8883-4001-a195-9fa08a1130e8?feedback_type=great_response)
 | 
[Irrelevant](https://app.dosu.dev/response-feedback/e928c6ef-8883-4001-a195-9fa08a1130e8?feedback_type=irrelevant_answer)
 | 
[Incorrect](https://app.dosu.dev/response-feedback/e928c6ef-8883-4001-a195-9fa08a1130e8?feedback_type=incorrect_sources)
 | 
[Verbose](https://app.dosu.dev/response-feedback/e928c6ef-8883-4001-a195-9fa08a1130e8?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/e928c6ef-8883-4001-a195-9fa08a1130e8?feedback_type=hallucination)
 | [Report 
🐛](https://app.dosu.dev/response-feedback/e928c6ef-8883-4001-a195-9fa08a1130e8?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/e928c6ef-8883-4001-a195-9fa08a1130e8?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat
 with 
Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/b4e8e847-d479-4541-83a8-d88d83fea5c9/ask?utm_source=github)&
 nbsp;[![Join 
Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share
 on 
X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/incubator-devlake/discussions/8576)

GitHub link: 
https://github.com/apache/incubator-devlake/discussions/8576#discussioncomment-14400995

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to