Max Orefice activity https://gitlab.com/morefice 2026-03-13T14:52:52Z tag:gitlab.com,2026-03-13:5201798613 Max Orefice commented on merge request !224561 at GitLab.org / GitLab 2026-03-13T14:52:52Z morefice Max Orefice

@tskorupa-gl

Sorry I will be on PTO next week and I will not be able to complete this review.

1 year, 6 months, 2 weeks, 2 days, 16 hours, 36 minutes, and 12 seconds

The current estimation seems still a bit off, can we check with the groupvulnerability-management to see if this is the best way to achieve this migration.

πŸ‘‹ @minac can you help us here please?

tag:gitlab.com,2026-03-13:5201768816 Max Orefice commented on merge request !226845 at GitLab.org / GitLab 2026-03-13T14:46:05Z morefice Max Orefice

@l.rosa

I changed the direction of this MR and implemented the stale scope to make sure running jobs get picked up and the worker finalized.

I think this will better solve our current problem, let me know what you think 🏌️

Quick thing: Do we want to re-enable the old cron job? I'm afraid we don't have any active process deleting these emails.

Yes I was considering bringing it back as well, opened up BBO - Disable UnconfirmedSecondaryEmailsDeletio... (!225654 - merged).

tag:gitlab.com,2026-03-13:5201768748 Max Orefice commented on merge request !226845 at GitLab.org / GitLab 2026-03-13T14:46:04Z morefice Max Orefice

@l.rosa

Do we want to check this separately? In this condition, I think we'll finalize the worker even if we still have pending jobs:

Yes, I think we need the stale scope to make sure we don't finalize the worker in this situation.

tag:gitlab.com,2026-03-13:5201766362 Max Orefice pushed to project branch morefice/bbo-finalize-operation-max-cursor-reached at GitLab.org / GitLab 2026-03-13T14:45:31Z morefice Max Orefice

Max Orefice (5bee4ff7) at 13 Mar 14:45

BBO - Handle stale running jobs

tag:gitlab.com,2026-03-13:5201698210 Max Orefice commented on merge request !227275 at GitLab.org / GitLab 2026-03-13T14:30:23Z morefice Max Orefice

πŸ‘‹ @l.rosa can you review this MR please?

tag:gitlab.com,2026-03-13:5201661537 Max Orefice opened merge request !227275: Revert BBO - Disable UnconfirmedSecondaryEmailsDeletionCronWorker at GitLab.org / GitLab 2026-03-13T14:21:45Z morefice Max Orefice

What does this MR do and why?

This MR reverts !225654.

It enables back the old worker UnconfirmedSecondaryEmailsDeletionCronWorker to make sure we continue to delete secondary emails.

tag:gitlab.com,2026-03-13:5201651869 Max Orefice pushed new project branch revert-e0def9f8 at GitLab.org / GitLab 2026-03-13T14:19:32Z morefice Max Orefice

Max Orefice (5723497d) at 13 Mar 14:19

Revert "Merge branch 'morefice/disable-unconfirmed-secondary-email-...

tag:gitlab.com,2026-03-13:5200549858 Max Orefice approved merge request !18456: Artifact Registry: ADR database schema at GitLab.com / Content Sites / handbook 2026-03-13T09:59:21Z morefice Max Orefice

Why is this change being made?

This adds the implementation ADR to the Artifact Registry blueprint. See gitlab-org/gitlab#590282.

Related Issue: gitlab-org/gitlab#590365

Action items:

  • ensure that all tables have the namespace_id.
  • have some words on the partitioning strategy for the blob storage central tables.

Author and Reviewer Checklist

Please verify the check list and ensure to tick them off before the MR is merged.

  • Provided a concise title for this Merge Request (MR)
  • Added a description to this MR explaining the reasons for the proposed change, per say why, not just what
    • Copy/paste the Slack conversation to document it for later, or upload screenshots. Verify that no confidential data is added, and the content is SAFE
  • Assign reviewers for this MR to the correct
    • The when to get approval handbook section explains when DRI approval is required
    • The who can approve handbook section explains how to identify the DRI
    • If the MR does not require DRI approval, consider asking someone on your team, such as your manager.
    • The approver may merge the MR. If they approve but don't merge, you can merge.
  • For transparency, share this MR with the audience that will be impacted.
    • Team: For changes that affect your direct team, share in your group Slack channel
    • Department: If the update affects your department, share the MR in your department Slack channel
    • Division: If the update affects your division, share the MR in your division Slack channel
    • Company: If the update affects all (or the majority of) GitLab team members, post an update in #whats-happening-at-gitlab linking to this MR

tag:gitlab.com,2026-03-13:5200549791 Max Orefice commented on merge request !18456 at GitLab.com / Content Sites / handbook 2026-03-13T09:59:20Z morefice Max Orefice

question (not-blocking): Curious how the orphan check discovery/clean up will be done.

tag:gitlab.com,2026-03-13:5200549758 Max Orefice commented on merge request !18456 at GitLab.com / Content Sites / handbook 2026-03-13T09:59:20Z morefice Max Orefice

I'm fine with both approaches, text with limit is simpler and fine for an ADR, lookup table can come at implementation time.

tag:gitlab.com,2026-03-13:5200549734 Max Orefice commented on merge request !18456 at GitLab.com / Content Sites / handbook 2026-03-13T09:59:20Z morefice Max Orefice

@dmeshcharakou

Thanks great work, the Database is in good shape, approved πŸ‘

tag:gitlab.com,2026-03-13:5200549696 Max Orefice commented on merge request !18456 at GitLab.com / Content Sites / handbook 2026-03-13T09:59:19Z morefice Max Orefice
  VALUES (123, 'abcd1234efgh5678...'::bytea, 1048576, 'key')
tag:gitlab.com,2026-03-13:5200549681 Max Orefice commented on merge request !18456 at GitLab.com / Content Sites / handbook 2026-03-13T09:59:19Z morefice Max Orefice

question: Is the limit big enough here?

Same question for other url fields.

tag:gitlab.com,2026-03-13:5200479218 Max Orefice commented on epic #16152 at GitLab.org 2026-03-13T09:43:42Z morefice Max Orefice

πŸŽ‰ achievements:

blockers:

  • The team is still at low capacity.

/cc @l.rosa @praba.m7n

tag:gitlab.com,2026-03-13:5200430850 Max Orefice commented on merge request !227026 at GitLab.org / GitLab 2026-03-13T09:31:55Z morefice Max Orefice

πŸ“ @stomlinson

tag:gitlab.com,2026-03-13:5200430815 Max Orefice commented on merge request !227026 at GitLab.org / GitLab 2026-03-13T09:31:54Z morefice Max Orefice

@tskorupa-gl

I've actually added back reverse_lock_order: true with :projects as the target.

It think this can still avoid deadlocks with concurrent queries.

tag:gitlab.com,2026-03-13:5200421231 Max Orefice pushed to project branch morefice/retry-remove-fk-web-hook-logs-daily at GitLab.org / GitLab 2026-03-13T09:29:39Z morefice Max Orefice

Max Orefice (a84b21d7) at 13 Mar 09:29

Pass target table to enable reverse_lock_order on FK removal

tag:gitlab.com,2026-03-13:5200367053 Max Orefice commented on merge request !225396 at GitLab.org / GitLab 2026-03-13T09:17:05Z morefice Max Orefice

@contributors.gitlab.com

Sorry I'm at capacity and will not be able to review this MR today.


πŸ‘‹ @kgreif can you review this MR please?

tag:gitlab.com,2026-03-13:5200358343 Max Orefice commented on merge request !227004 at GitLab.org / GitLab 2026-03-13T09:14:49Z morefice Max Orefice

@krasio

Not sure how likely is to have a single records on issue_metrics though.

This is a bigint conversion which uses a different codepath, so they shouldn't be impacted isn't it?

It calls ensure_backfill_conversion_of_integer_to_bigint_is_finished which goes through BigintConverter.

This also means that the original migration 20260302103000 will also be executed later, though it should be a no-op at this time as the affected background migration should be executed at this point.

Yes, the original migration 20260302103000 will run later on upgrade to %18.10 but will be a no-op since the affected BBMs would have already been re-executed by then.

tag:gitlab.com,2026-03-13:5200358311 Max Orefice commented on merge request !227004 at GitLab.org / GitLab 2026-03-13T09:14:49Z morefice Max Orefice

@krasio

Not if the finalized migration was already executed (for example in previous upgrades to 18.9.X).

Oh I thought the scheduler will pick them up regardless of their status (0 or 1).

Updated the status in !227004 (9df3f5d0)

It's the same for the original migration too.

Do we also need to change it to active Retry BBMs affected by single-record bug (!225461 - merged)?