Gosia Ksionek activity https://gitlab.com/mksionek 2026-03-18T17:33:28Z tag:gitlab.com,2026-03-18:5218823640 Gosia Ksionek deleted project branch 499189-batch-load-merge-request-diff-queries at GitLab.org / GitLab 2026-03-18T17:33:28Z mksionek Gosia Ksionek [email protected]

Gosia Ksionek (12a4add5) at 18 Mar 17:33

tag:gitlab.com,2026-03-18:5218818496 Gosia Ksionek pushed to project branch master at GitLab.org / GitLab 2026-03-18T17:32:01Z mksionek Gosia Ksionek [email protected]

Gosia Ksionek (4eccb16e) at 18 Mar 17:32

Merge branch '499189-batch-load-merge-request-diff-queries' into 'm...

... and 1 more commit

tag:gitlab.com,2026-03-18:5218815539 Gosia Ksionek accepted merge request !226794: Batch MergeRequestDiffCommit bulk inserts to avoid large transactions at GitLab.org / GitLab 2026-03-18T17:31:06Z mksionek Gosia Ksionek [email protected]

What does this MR do and why?

This batches MergeRequestDiffCommit.create_bulk inserts into slices of 1,000 rows to prevent excessively long SQL INSERT statements. Currently, all commits for a merge request diff are inserted in a single query. For large pushes this produces SQL statements with thousands of bind parameters, which account for ~50% of overly-long SQL statements (https://gitlab.com/gitlab-org/gitlab/-/work_items/499189#note_2316720774) in production.

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #499189

tag:gitlab.com,2026-03-18:5218336431 Gosia Ksionek pushed to project branch mk-refactor-ids_for_base_and_decendants-models-part at GitLab.org / GitLab 2026-03-18T15:50:09Z mksionek Gosia Ksionek [email protected]

Gosia Ksionek (592f4c21) at 18 Mar 15:50

Move epic tests to EE

... and 1001 more commits

tag:gitlab.com,2026-03-18:5217525666 Gosia Ksionek commented on epic #13356 at GitLab.org 2026-03-18T13:11:32Z mksionek Gosia Ksionek [email protected]

issues to tackle in 18.11:

---
display: table
fields: state, title, assignees, milestone, labels("workflow*"), updatedAt
limit: 100
---
group = "gitlab-org" and label = "wi-workstream-5::outstanding" and type = issue and state = opened and epic = &15524 and milestone=%18.11
tag:gitlab.com,2026-03-18:5217427176 Gosia Ksionek pushed to project branch broncato-main-patch-d1fa at GitLab.com / Content Sites / handbook 2026-03-18T12:50:12Z mksionek Gosia Ksionek [email protected]

Gosia Ksionek (a51724a9) at 18 Mar 12:50

Remove Expenses Public Handbook Page

... and 434 more commits

tag:gitlab.com,2026-03-18:5217387430 Gosia Ksionek pushed to project branch broncato-main-patch-d1fa at GitLab.com / Content Sites / handbook 2026-03-18T12:42:53Z mksionek Gosia Ksionek [email protected]

Gosia Ksionek (14fce716) at 18 Mar 12:42

Remove Expenses Public Handbook Page

tag:gitlab.com,2026-03-18:5217262528 Gosia Ksionek pushed to project branch mk-refactor-ids_for_base_and_decendants-models-part at GitLab.org / GitLab 2026-03-18T12:16:27Z mksionek Gosia Ksionek [email protected]

Gosia Ksionek (551c3e7c) at 18 Mar 12:16

Move epic tests to EE

tag:gitlab.com,2026-03-18:5217200558 Gosia Ksionek commented on merge request !226100 at GitLab.org / GitLab 2026-03-18T12:03:39Z mksionek Gosia Ksionek [email protected]

Thank you for working on this! Approving 🚢

tag:gitlab.com,2026-03-18:5217200255 Gosia Ksionek approved merge request !226100: Add more work item EE REST API features at GitLab.org / GitLab 2026-03-18T12:03:35Z mksionek Gosia Ksionek [email protected]

What does this MR do and why?

Allows to expose more entities as part of the WorkItem REST API. This adds:

  • health_status
  • color
  • progress
  • iteration

References

Screenshots or screen recordings

Before After

How to set up and validate locally

  1. Enable the FF: work_item_rest_api, and okrs_mvc (which has the progress widget)
  2. For colors you need to test it on epics
  3. Use the following URL for testing he new features: and change the full_path for the namespace you want to test it on:

Screenshot_2026-03-06_at_12.56.39

Screenshot_2026-03-06_at_12.57.04

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

tag:gitlab.com,2026-03-18:5216972607 Gosia Ksionek commented on merge request !226706 at GitLab.org / GitLab 2026-03-18T11:09:35Z mksionek Gosia Ksionek [email protected]

Suggestion: I would suggest checking policy (if user can interact with this policy) before exposing details about it (that it's not pipeline_execution_schedule policy)

tag:gitlab.com,2026-03-18:5216971866 Gosia Ksionek commented on merge request !226706 at GitLab.org / GitLab 2026-03-18T11:09:25Z mksionek Gosia Ksionek [email protected]

I have couple of small remarks and questions @Andyschoenen :)

tag:gitlab.com,2026-03-18:5216970672 Gosia Ksionek commented on merge request !226706 at GitLab.org / GitLab 2026-03-18T11:09:08Z mksionek Gosia Ksionek [email protected]

question (non-blocking): in what case that would return nil?

tag:gitlab.com,2026-03-18:5216970613 Gosia Ksionek commented on merge request !226706 at GitLab.org / GitLab 2026-03-18T11:09:07Z mksionek Gosia Ksionek [email protected]

suggestion (blocking): Shouldn't we use authorized_find here?

tag:gitlab.com,2026-03-18:5216900498 Gosia Ksionek commented on merge request !226706 at GitLab.org / GitLab 2026-03-18T10:53:30Z mksionek Gosia Ksionek [email protected]

question (blocking): we have the same check in the TestRunService, is it on purpose?

tag:gitlab.com,2026-03-18:5216210881 Gosia Ksionek commented on merge request !226794 at GitLab.org / GitLab 2026-03-18T08:24:55Z mksionek Gosia Ksionek [email protected]

Thank you for working on this! Approving 🚢