Add missing enum values for detailed Merge Request status #20
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Recently our webhook started to throw error 500 again, it's a little bit unfortunate that external enum, which is out of control of this package, can affect production systems because of newly added values... Maybe it should be considered to fallback to
string
value if enum can't be created? All in all, the value sent by Gitlab to the webhook endpoint has to be correct 😅. Maybe enums likedetailed_merge_status_enum.rb
should be parsed in a scheduled job and compared with package's enum, so it would fail early and could be fixed instantly?