Harsh Sagar activity https://gitlab.com/harsh.codes 2026-03-17T14:59:59Z tag:gitlab.com,2026-03-17:5213384108 Harsh Sagar commented on merge request !225922 at GitLab.org / GitLab 2026-03-17T14:59:59Z harsh.codes Harsh Sagar

question (blocking):

why is this expectation changed? I was expecting it to remain same.

tag:gitlab.com,2026-03-17:5213053261 Harsh Sagar pushed to project branch 590786-trial-first-registration at GitLab.org / GitLab 2026-03-17T13:56:51Z harsh.codes Harsh Sagar

Harsh Sagar (cfed4021) at 17 Mar 13:56

Refactor trial registration experiment tracking events

tag:gitlab.com,2026-03-17:5212835763 Harsh Sagar commented on merge request !224919 at GitLab.org / GitLab 2026-03-17T13:14:43Z harsh.codes Harsh Sagar

This feels like a verify specific dependency, I think I'll forget this next time.

tag:gitlab.com,2026-03-17:5212815950 Harsh Sagar commented on merge request !224919 at GitLab.org / GitLab 2026-03-17T13:10:38Z harsh.codes Harsh Sagar

@dstull - calling the last event assignment doesn't make sense, could you recommend a better name for it?

source ee/app/services/registrations/base_namespace_create_service.rb , ee/app/services/gitlab_subscriptions/trials/welcome_create_service.rb

tag:gitlab.com,2026-03-17:5212711149 Harsh Sagar commented on merge request !224919 at GitLab.org / GitLab 2026-03-17T12:49:18Z harsh.codes Harsh Sagar

@dstull - it looks like the matcher looks for unique event names, the second render in the above example is failing(I promise it was passing in our pairing session 😭 ). If you want, we can name them uniquely.

source https://gitlab.com/gitlab-org/gitlab/-/blob/master/spec/support/helpers/features/experiment_tracking_helper.rb#L81

tag:gitlab.com,2026-03-17:5212475746 Harsh Sagar pushed to project branch 590786-trial-first-registration at GitLab.org / GitLab 2026-03-17T11:57:00Z harsh.codes Harsh Sagar

Harsh Sagar (e6229bcf) at 17 Mar 11:57

Updated milestone from 10 to 11

tag:gitlab.com,2026-03-17:5212299403 Harsh Sagar pushed to project branch 590786-trial-first-registration at GitLab.org / GitLab 2026-03-17T11:15:07Z harsh.codes Harsh Sagar

Harsh Sagar (92354605) at 17 Mar 11:15

Fixed a bug related to cookie migration

tag:gitlab.com,2026-03-17:5212090309 Harsh Sagar commented on merge request !225922 at GitLab.org / GitLab 2026-03-17T10:30:39Z harsh.codes Harsh Sagar

question (blocking):

why did we remove this test?

tag:gitlab.com,2026-03-16:5209153577 Harsh Sagar commented on merge request !225922 at GitLab.org / GitLab 2026-03-16T16:15:48Z harsh.codes Harsh Sagar

@cngo is that okay if I do it tomorrow?

tag:gitlab.com,2026-03-16:5208179878 Harsh Sagar commented on merge request !227049 at GitLab.org / GitLab 2026-03-16T12:55:54Z harsh.codes Harsh Sagar

Agree.

tag:gitlab.com,2026-03-13:5201416645 Harsh Sagar commented on merge request !224919 at GitLab.org / GitLab 2026-03-13T13:27:45Z harsh.codes Harsh Sagar

@dstull - can this be done as a follow up?

tag:gitlab.com,2026-03-13:5200896324 Harsh Sagar commented on merge request !227049 at GitLab.org / GitLab 2026-03-13T11:20:26Z harsh.codes Harsh Sagar

@dstull - I added the screenshots now.

tag:gitlab.com,2026-03-13:5200889654 Harsh Sagar commented on merge request !227049 at GitLab.org / GitLab 2026-03-13T11:18:55Z harsh.codes Harsh Sagar

@dstull - I don't think we need a DB review here, but let me know if you think otherwise.

tag:gitlab.com,2026-03-13:5200643986 Harsh Sagar commented on merge request !227049 at GitLab.org / GitLab 2026-03-13T10:21:08Z harsh.codes Harsh Sagar

I've updated the logic.

tag:gitlab.com,2026-03-13:5200612523 Harsh Sagar commented on merge request !227049 at GitLab.org / GitLab 2026-03-13T10:13:52Z harsh.codes Harsh Sagar

@kgreif 🏓

tag:gitlab.com,2026-03-13:5200610921 Harsh Sagar commented on merge request !227049 at GitLab.org / GitLab 2026-03-13T10:13:30Z harsh.codes Harsh Sagar

In this case, the requirement is specifically for free groups. If I introduce a limit here, it could interfere with the logic I’m using to check for the existence of non-free groups.

I could run a separate query to check whether the user has any paid groups, but comparing the counts seems cheaper. That said, I’m open to better suggestions if there’s a cleaner approach.

more context !225536 (comment 3138865722)

tag:gitlab.com,2026-03-13:5200590124 Harsh Sagar pushed to project branch 591409-easier-access-to-upgrade at GitLab.org / GitLab 2026-03-13T10:08:28Z harsh.codes Harsh Sagar

Harsh Sagar (63393734) at 13 Mar 10:08

Implemented suggested changed

... and 1 more commit