dosubot[bot] commented on issue #8313:
URL: 
https://github.com/apache/incubator-devlake/issues/8313#issuecomment-2687657959

   <!-- Greeting -->
   Hey @cypher7682! 👋 I'm here to help you with any bugs, questions, or 
contributions you have for the project. I'll assist you while we wait for a 
human maintainer.
   
   <!-- Answer -->
   The issue you're encountering is related to the `lake.refs` table not being 
updated to reflect branch deletions from GitHub. Currently, there is no field 
in the `lake.refs` table specifically designed to mark a branch as deleted 
<sup>[[1]](https://github.com/apache/incubator-devlake-website/blob/main/docs/DataModels/DevLakeDomainLayerSchema.md)</sup>.
 This means that when a branch is deleted in GitHub, it is not automatically 
marked or removed in the `lake.refs` table during a repository scrape.
   
   To address this, you might consider implementing a mechanism to either mark 
branches as deleted or remove them from the table when they are deleted in 
GitHub. This would help in accurately detecting stale branches by excluding 
those that have been deleted.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/848e807a-cd14-4951-9075-9b775f4c7c57?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/848e807a-cd14-4951-9075-9b775f4c7c57?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/848e807a-cd14-4951-9075-9b775f4c7c57?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/848e807a-cd14-4951-9075-9b775f4c7c57?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/848e807a-cd14-4951-9075-9b775f4c7c57?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/848e807a-cd14-4951-9075-9b775f4c7c57?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/848e807a-cd14-4951-9075-9b775f4c7c57?feedback_type=other)</sup>
   


-- 
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: dev-unsubscr...@devlake.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to