Skip to content

feat(merge-requests): add merge_after support to models and mock - #1159

Open
jasonwoods-7 wants to merge 1 commit into
ubisoft:mainfrom
jasonwoods-7:feat/merge-after
Open

jasonwoods-7 wants to merge 1 commit into
ubisoft:mainfrom
jasonwoods-7:feat/merge-after

Conversation

@jasonwoods-7

Copy link
Copy Markdown
Contributor
  • GitLab can hold a merge request until a given time (merge_after), but the client could neither set nor read it
  • expose MergeAfter on MergeRequest, MergeRequestCreate and MergeRequestUpdate
  • support it in NGitLab.Mock for create, update and the returned model
  • skip the mergeability wait in the Docker test helper when merge_after is more than a minute away, as the MR will not become mergeable in that window

* GitLab can hold a merge request until a given time (merge_after), but the client could
  neither set nor read it
* expose MergeAfter on MergeRequest, MergeRequestCreate and MergeRequestUpdate
* support it in NGitLab.Mock for create, update and the returned model
* skip the mergeability wait in the Docker test helper when merge_after is more than a
  minute away, as the MR will not become mergeable in that window
@jasonwoods-7
jasonwoods-7 requested a review from a team as a code owner October 15, 2026 19:06
@jasonwoods-7
jasonwoods-7 requested review from Toa741 and removed request for a team October 15, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant