Search before asking
What happened
The git extraction process crashes the server when the repository is empty.
This behavior was observed on GitLab. I am unsure if this issue occurs on other platforms. The container restarts because the process crashed, but I haven't found any errors in the logs.
time="2025-04-15 08:28:03" level=info msg=" [pipeline service] [pipeline #22] [task #9512] subtask Clone Git Repo finished in 38110 ms"
time="2025-04-15 08:28:03" level=info msg=" [pipeline service] [pipeline #22] [task #9512] finished step: 1 / 4"
time="2025-04-15 08:28:03" level=info msg=" [pipeline service] [pipeline #22] [task #9512] executing subtask Collect Commits"
executing subtask Collect Commits is the task that ends with crash.
What do you expect to happen
The git extraction task should fail, but instead it crashes.
How to reproduce
Try to scrap empty repository.
Anything else
No response
Version
v1.0.1
Are you willing to submit PR?
Code of Conduct
Search before asking
What happened
The git extraction process crashes the server when the repository is empty.
This behavior was observed on GitLab. I am unsure if this issue occurs on other platforms. The container restarts because the process crashed, but I haven't found any errors in the logs.
executing subtask Collect Commitsis the task that ends with crash.What do you expect to happen
The git extraction task should fail, but instead it crashes.
How to reproduce
Try to scrap empty repository.
Anything else
No response
Version
v1.0.1
Are you willing to submit PR?
Code of Conduct