Heinrich Lee Yu activity https://gitlab.com/engwan 2026-03-17T05:18:52Z tag:gitlab.com,2026-03-17:5210989513 Heinrich Lee Yu commented on merge request !227585 at GitLab.org / GitLab 2026-03-17T05:18:52Z engwan Heinrich Lee Yu [email protected]

@rkumar555 can you review this MR please?

This is just a small follow-up to !226213 (merged). I forgot to update the same endpoints at the project-level.

tag:gitlab.com,2026-03-17:5210747979 Heinrich Lee Yu opened merge request !227585: Adjust epic and iteration autocomplete urgency at GitLab.org / GitLab 2026-03-17T02:59:41Z engwan Heinrich Lee Yu [email protected]

What does this MR do and why?

This matches the group-level autocomplete and other autocomplete endpoints

References

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-17:5210747521 Heinrich Lee Yu pushed new project branch hly-project-autocomplete-urgency at GitLab.org / GitLab 2026-03-17T02:59:19Z engwan Heinrich Lee Yu [email protected]

Heinrich Lee Yu (c0464dd6) at 17 Mar 02:59

Adjust epic and iteration autocomplete urgency

tag:gitlab.com,2026-03-17:5210738972 Heinrich Lee Yu commented on merge request !226138 at GitLab.org / GitLab 2026-03-17T02:53:18Z engwan Heinrich Lee Yu [email protected]

@imam_h the changes look good. But I think we have a legitimate CI failure: https://gitlab.com/gitlab-org/gitlab/-/jobs/13517115353

tag:gitlab.com,2026-03-17:5210734854 Heinrich Lee Yu pushed to project branch master at GitLab.org / GitLab 2026-03-17T02:50:39Z engwan Heinrich Lee Yu [email protected]

Heinrich Lee Yu (9e34b112) at 17 Mar 02:50

Merge branch '593122-fix-oauth-registration-endpoint-relative-urls'...

... and 1 more commit

tag:gitlab.com,2026-03-17:5210734653 Heinrich Lee Yu deleted project branch 593122-fix-oauth-registration-endpoint-relative-urls at GitLab Community / GitLab.org / GitLab Community Fork 2026-03-17T02:50:30Z engwan Heinrich Lee Yu [email protected]

Heinrich Lee Yu (508f387f) at 17 Mar 02:50

tag:gitlab.com,2026-03-17:5210733913 Heinrich Lee Yu accepted merge request !227064: Fix missing registration_endpoint with relative_url_root at GitLab.org / GitLab 2026-03-17T02:49:58Z engwan Heinrich Lee Yu [email protected]

What does this MR do and why?

The MR changes the way the JwksController compares the request path with the predefined OAUTH_PATHS, to make sure it works when the request.path contains the relative_url_root.

I also updated the test to include the relative_url_root in the request path

References

This is a fix for the issue reported in #593122

How to set up and validate locally

Just run the changed rspec test:

bin/rspec spec/requests/jwks_controller_spec.rb

Related to #593122

tag:gitlab.com,2026-03-17:5210590182 Heinrich Lee Yu commented on merge request !227064 at GitLab.org / GitLab 2026-03-17T01:15:24Z engwan Heinrich Lee Yu [email protected]

I'll try starting a new pipeline.

tag:gitlab.com,2026-03-15:5205909516 Heinrich Lee Yu pushed to project branch master at GitLab.org / GitLab 2026-03-15T22:53:35Z engwan Heinrich Lee Yu [email protected]

Heinrich Lee Yu (02692696) at 15 Mar 22:53

Merge branch '590426/aslota-work-item-type-permission-checks-for-me...

... and 1 more commit

tag:gitlab.com,2026-03-15:5205909261 Heinrich Lee Yu deleted project branch 590426/aslota-work-item-type-permission-checks-for-menu-items at GitLab.org / GitLab 2026-03-15T22:53:24Z engwan Heinrich Lee Yu [email protected]

Heinrich Lee Yu (3aec8593) at 15 Mar 22:53

tag:gitlab.com,2026-03-15:5205908803 Heinrich Lee Yu accepted merge request !226993: Add permission checks for group and subgroup work item settings menu at GitLab.org / GitLab 2026-03-15T22:52:50Z engwan Heinrich Lee Yu [email protected]

What does this MR do and why?

Previously, the work item settings menu items at the root group and subgroup levels only checked whether the relevant feature flag was enabled, without validating user permissions.

This MR adds proper permission validation so that both feature availability and user permissions are checked before displaying the menu items.

To keep the logic consistent and reusable, the permission checks are implemented using the shared logic from the WorkItems::SettingsPermissions concern.

Notes

  • The combination of permission checks required for root groups and subgroups was originally introduced in !225424.
  • Permission checks at the project level will be introduced in a separate issue: #593299.

References

Screenshots or screen recordings

Root group Subgroup
Authorized user Screenshot_2026-03-12_at_5.26.39_pm Screenshot_2026-03-12_at_5.26.20_pm Screenshot_2026-03-12_at_5.25.58_pm Screenshot_2026-03-12_at_5.28.13_pm
Unauthorized user Screenshot_2026-03-12_at_5.25.22_pm Screenshot_2026-03-12_at_5.24.58_pm Screenshot_2026-03-12_at_5.25.39_pm Screenshot_2026-03-12_at_5.25.31_pm

How to set up and validate locally

  1. Enable the work_item_configurable_types feature flag.
  2. As an authorized user (for example, maintainer), navigate to the root group and subgroup work item settings pages and verify that you can access them. The menu item should be visible.
  3. As an unauthorized user (for example, developer), navigate to the root group and subgroup settings pages and verify that you cannot access them. The menu item should not be visible.
  4. Disable the feature flag. As an authorized user:
    1. When navigating to the root group settings page, you should still be able to access the page, but the work item types section should not be visible. The menu item should be visible.
    2. When navigating to the subgroup settings page, you should not have access. The menu item should not be visible.

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-13:5201962971 Heinrich Lee Yu commented on merge request !227064 at GitLab.org / GitLab 2026-03-13T15:30:00Z engwan Heinrich Lee Yu [email protected]

They all go through the same #provider code path, so maybe it's fine.

It's also fine to add these in a separate MR if you want.

tag:gitlab.com,2026-03-13:5201953106 Heinrich Lee Yu commented on merge request !227064 at GitLab.org / GitLab 2026-03-13T15:27:27Z engwan Heinrich Lee Yu [email protected]

Thanks @alexander.rusa, this looks good 👍

tag:gitlab.com,2026-03-13:5201948257 Heinrich Lee Yu approved merge request !227064: Fix missing registration_endpoint with relative_url_root at GitLab.org / GitLab 2026-03-13T15:26:15Z engwan Heinrich Lee Yu [email protected]

What does this MR do and why?

The MR changes the way the JwksController compares the request path with the predefined OAUTH_PATHS, to make sure it works when the request.path contains the relative_url_root.

I also updated the test to include the relative_url_root in the request path

References

This is a fix for the issue reported in #593122

How to set up and validate locally

Just run the changed rspec test:

bin/rspec spec/requests/jwks_controller_spec.rb

Related to #593122

tag:gitlab.com,2026-03-13:5201638902 Heinrich Lee Yu pushed to project branch hly-test-relative-positioning-patch at GitLab.org / GitLab 2026-03-13T14:16:36Z engwan Heinrich Lee Yu [email protected]

Heinrich Lee Yu (b63c33c7) at 13 Mar 14:16

Fix edge cases in issue positioning

tag:gitlab.com,2026-03-13:5200562138 Heinrich Lee Yu commented on issue #591436 at GitLab.org / GitLab 2026-03-13T10:01:49Z engwan Heinrich Lee Yu [email protected]

@pmurray7 I created the patch here: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/227230.patch

I've already removed the spec changes there.

Once the patch is applied, we should not see any NoSpaceLeft exceptions unless they are actually at the min / max positions.

tag:gitlab.com,2026-03-13:5200541533 Heinrich Lee Yu opened merge request !227230: Draft: Patch relative positioning fixes at GitLab.org / GitLab 2026-03-13T09:57:36Z engwan Heinrich Lee Yu [email protected]

What does this MR do and why?

Applies !226378, !226618, and !226679 to 18.2 without spec changes

This is not meant to be merged

tag:gitlab.com,2026-03-13:5200537006 Heinrich Lee Yu pushed new project branch hly-test-relative-positioning-patch at GitLab.org / GitLab 2026-03-13T09:56:36Z engwan Heinrich Lee Yu [email protected]

Heinrich Lee Yu (02e1b307) at 13 Mar 09:56

Use namespace_id in Issues::PlacementWorker

... and 332 more commits

tag:gitlab.com,2026-03-13:5200485037 Heinrich Lee Yu commented on issue #591436 at GitLab.org / GitLab 2026-03-13T09:45:11Z engwan Heinrich Lee Yu [email protected]

We are currently looking at edge cases where NoSpaceLeft is raised incorrectly and a rebalance is triggered unnecessarily.

We have 2 fixes that are already merged:

  1. !226378 (merged)
  2. !226618 (merged)

Also, I have an improvement to Issues::PlacementWorker that would reduce the chances of setting items to the same position: !226679 (merged)

Since all 3 are now merged, we can test out a patch that can be applied to 18.2.8

tag:gitlab.com,2026-03-13:5199830319 Heinrich Lee Yu commented on merge request !226993 at GitLab.org / GitLab 2026-03-13T06:27:27Z engwan Heinrich Lee Yu [email protected]

Thanks, looks good to me 👍