# Bug GIT-26 - Gitlab integration is missing some statuses

Project: Stream Repositories
Status: closed
URL: https://community.openproject.org/work_packages/GIT-26

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Integrations / GitLab |
| Target versions | 18.0.0 |
| Observed in versions | 17.8.0, 17.9.1, 17.9.6 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.8.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Jan Sandbrink |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

Use the Gitlab integration and trigger some webhooks

### What is the buggy behavior?

Some statuses are missing in modules/gitlab\_integration/app/models/gitlab\_pipeline.rb:35

`waiting_for_resource`, `waiting_for_callback`, `canceling`, `locked`

### What is the expected behavior?

1.  Non-supported status should throw an error and the error not be logged
    
2.  Webhook response should be 200, not 500 for unsupported events
    

### **Logs**

[https://appsignal.com/openproject-gmbh/sites/674718f1d2a5e4a7cb8b2298/exceptions/incidents/1615](https://appsignal.com/openproject-gmbh/sites/674718f1d2a5e4a7cb8b2298/exceptions/incidents/1615)  
[https://appsignal.com/openproject-gmbh/sites/681379ae55b0b20ed3735994/exceptions/incidents/1168](https://appsignal.com/openproject-gmbh/sites/681379ae55b0b20ed3735994/exceptions/incidents/1168/traces)

https://appsignal.com/openproject-gmbh/sites/681379ae55b0b20ed3735994/exceptions/incidents/1168
