Max Fan activity https://gitlab.com/mfanGitLab 2026-03-18T00:18:17Z tag:gitlab.com,2026-03-18:5215233251 Max Fan pushed to project branch master at GitLab.org / GitLab 2026-03-18T00:18:17Z mfanGitLab Max Fan [email protected]

Max Fan (481dbda2) at 18 Mar 00:18

Merge branch 'build-trace-chunk-worker-dont-load-build' into 'master'

... and 1 more commit

tag:gitlab.com,2026-03-18:5215232844 Max Fan deleted project branch build-trace-chunk-worker-dont-load-build at GitLab.org / GitLab 2026-03-18T00:18:01Z mfanGitLab Max Fan [email protected]

Max Fan (6ca9a7e8) at 18 Mar 00:18

tag:gitlab.com,2026-03-18:5215232137 Max Fan accepted merge request !227700: Remove unneeded build arg to Ci::BuildTraceChunk#with_read_consistency at GitLab.org / GitLab 2026-03-18T00:17:32Z mfanGitLab Max Fan [email protected]

What does this MR do and why?

Remove unneeded build arg to with_read_consistency

Ci::BuildTraceChunk#with_read_consistency took a build argument, but that argument was unused in the method body. Calling this method was the only reason Ci::BuildTraceChunkFlushWorker was loading a Ci::Build, so removing the unused argument makes the worker cheaper.

This should help reduce replica lock contention happening in gitlab-com/gl-infra/production#21562

References

gitlab-com/gl-infra/production#21562

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:5215175617 Max Fan commented on merge request !4911 at GitLab.org / ModelOps / AI Assisted (formerly Applied ML) / Code Suggestions / AI Gateway 2026-03-17T23:52:07Z mfanGitLab Max Fan [email protected]

👍 I didn't have time to review this MR, but testing it looks good. It added a comment to the broken MR with a link to the new MR

tag:gitlab.com,2026-03-17:5215044789 Max Fan commented on merge request !227700 at GitLab.org / GitLab 2026-03-17T22:38:25Z mfanGitLab Max Fan [email protected]

The fix was merged - triggering a new pipeline !227689 (merged)

tag:gitlab.com,2026-03-17:5215026770 Max Fan commented on epic #20904 at GitLab.org 2026-03-17T22:30:44Z mfanGitLab Max Fan [email protected]

Thanks for the distinction @nhervas !

I think @cheryl.li and @rutshah want the data to be in tableau for leadership and also to view it themselves? I guess we can first start with Snowflake as well if tableau is tricky to import :)

tag:gitlab.com,2026-03-17:5214966574 Max Fan commented on epic #20904 at GitLab.org 2026-03-17T22:09:46Z mfanGitLab Max Fan [email protected]

@nhervas not exactly. All the internal events above each have their own data. For example they have action/property/label metadata: gitlab-org/modelops/applied-ml/code-suggestions/ai-assist!4755 (merged)

Can we import the recent 7 days into tableau so we can filter and view metrics of these internal events and metadata?

tag:gitlab.com,2026-03-17:5214793116 Max Fan commented on merge request !224573 at GitLab.org / GitLab 2026-03-17T21:22:33Z mfanGitLab Max Fan [email protected]

sounds good, rubber stamping and merging 🚢

tag:gitlab.com,2026-03-17:5214792100 Max Fan pushed to project branch master at GitLab.org / GitLab 2026-03-17T21:22:10Z mfanGitLab Max Fan [email protected]

Max Fan (ebcc65a4) at 17 Mar 21:22

Merge branch 'jivanvl/updateEmptyStatePipelineEditor' into 'master'

... and 1 more commit

tag:gitlab.com,2026-03-17:5214792014 Max Fan deleted project branch jivanvl/updateEmptyStatePipelineEditor at GitLab.org / GitLab 2026-03-17T21:22:08Z mfanGitLab Max Fan [email protected]

Max Fan (0f2df2f9) at 17 Mar 21:22

tag:gitlab.com,2026-03-17:5214790514 Max Fan accepted merge request !224573: Create new Empty State for the Pipeline Editor at GitLab.org / GitLab 2026-03-17T21:21:35Z mfanGitLab Max Fan [email protected]

What does this MR do and why?

Create new Empty State for the Pipeline Editor

This empty state reflects uses the new Visual Language that will be included as part of the update_visual_language feature flag

References

Screenshots or screen recordings

Before After
gdk.test_3000_root_empty-ci-cd-project_-ci_editor__2 gdk.test_3000_root_empty-ci-cd-project_-ci_editor__4

How to set up and validate locally

Without the AI Card

  1. Enable the update_visual_language feature flag
$ echo "Feature.enable(:update_visual_language)" | gdk rails c
  1. Go to a project that has no CI configuration
  2. Go to Build -> Pipeline Editor

With the AI Card

  1. Enable the update_visual_language feature flag
$ echo "Feature.enable(:update_visual_language)" | gdk rails c
  1. Follow the steps to enable Duo in your local GDK
  2. Go to a group and ensure Duo is enabled for that group, e.g. with in the FlightJS group

Settings -> General -> GitLab Duo Settings:

Screenshot_2026-03-09_at_11.49.01_a.m.

If you open Duo and you get a message that there are no credits remaining add or updated the following configuration options in your gdk.yml file:

env:
  DEVELOPMENT_AI_GATEWAY_URL: http://gdk.test:5052
  FETCH_MODEL_SELECTION_DATA_FROM_LOCAL: '1'
  AIGW_AUTH__BYPASS_EXTERNAL: true
gdk:
  license_provisioning:
    duo:
      tier: enterprise
    enabled: true

This should allow you to bypass the auth checks locally

Also ensure to access the GDK via gdk.test:8080 instead of gdk.test:3000 otherwise the AI gateway will error out

  1. Create a project inside the Group you enabled Duo for and go to the Pipeline Editor. You should see the new Empty State with the AI card

Note*: If you click the Analyze repository, the chat will default to Duo classic, the Foundational Agent where that this button will make a call for is not yet available

Note**: The AI card won't show up at all if you're running GDK with FOSS_ONLY=1, and this is by design, AI features are EE only

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:5214788544 Max Fan approved merge request !224573: Create new Empty State for the Pipeline Editor at GitLab.org / GitLab 2026-03-17T21:20:53Z mfanGitLab Max Fan [email protected]

What does this MR do and why?

Create new Empty State for the Pipeline Editor

This empty state reflects uses the new Visual Language that will be included as part of the update_visual_language feature flag

References

Screenshots or screen recordings

Before After
gdk.test_3000_root_empty-ci-cd-project_-ci_editor__2 gdk.test_3000_root_empty-ci-cd-project_-ci_editor__4

How to set up and validate locally

Without the AI Card

  1. Enable the update_visual_language feature flag
$ echo "Feature.enable(:update_visual_language)" | gdk rails c
  1. Go to a project that has no CI configuration
  2. Go to Build -> Pipeline Editor

With the AI Card

  1. Enable the update_visual_language feature flag
$ echo "Feature.enable(:update_visual_language)" | gdk rails c
  1. Follow the steps to enable Duo in your local GDK
  2. Go to a group and ensure Duo is enabled for that group, e.g. with in the FlightJS group

Settings -> General -> GitLab Duo Settings:

Screenshot_2026-03-09_at_11.49.01_a.m.

If you open Duo and you get a message that there are no credits remaining add or updated the following configuration options in your gdk.yml file:

env:
  DEVELOPMENT_AI_GATEWAY_URL: http://gdk.test:5052
  FETCH_MODEL_SELECTION_DATA_FROM_LOCAL: '1'
  AIGW_AUTH__BYPASS_EXTERNAL: true
gdk:
  license_provisioning:
    duo:
      tier: enterprise
    enabled: true

This should allow you to bypass the auth checks locally

Also ensure to access the GDK via gdk.test:8080 instead of gdk.test:3000 otherwise the AI gateway will error out

  1. Create a project inside the Group you enabled Duo for and go to the Pipeline Editor. You should see the new Empty State with the AI card

Note*: If you click the Analyze repository, the chat will default to Duo classic, the Foundational Agent where that this button will make a call for is not yet available

Note**: The AI card won't show up at all if you're running GDK with FOSS_ONLY=1, and this is by design, AI features are EE only

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:5214592901 Max Fan pushed to project branch 593701-partition-pruning-ci-method at GitLab.org / GitLab 2026-03-17T20:15:06Z mfanGitLab Max Fan [email protected]

Max Fan (b3eeb9de) at 17 Mar 20:15

Fixing master broken ugency worker spec

tag:gitlab.com,2026-03-17:5214372982 Max Fan pushed to project branch 593701-partition-pruning-ci-method at GitLab.org / GitLab 2026-03-17T19:01:35Z mfanGitLab Max Fan [email protected]

Max Fan (67ced635) at 17 Mar 19:01

Fixing more specs

... and 325 more commits

tag:gitlab.com,2026-03-17:5214196142 Max Fan commented on merge request !227700 at GitLab.org / GitLab 2026-03-17T18:08:16Z mfanGitLab Max Fan [email protected]

Thanks for this @stomlinson , this was a very good find!

It looks like build was originally passed because there was a FF check: cda4b66e

But when the FF was removed, we never removed the method parameter: 2d3a3323

tag:gitlab.com,2026-03-17:5214195108 Max Fan approved merge request !227700: Remove unneeded build arg to Ci::BuildTraceChunk#with_read_consistency at GitLab.org / GitLab 2026-03-17T18:07:58Z mfanGitLab Max Fan [email protected]

What does this MR do and why?

Remove unneeded build arg to with_read_consistency

Ci::BuildTraceChunk#with_read_consistency took a build argument, but that argument was unused in the method body. Calling this method was the only reason Ci::BuildTraceChunkFlushWorker was loading a Ci::Build, so removing the unused argument makes the worker cheaper.

This should help reduce replica lock contention happening in gitlab-com/gl-infra/production#21562

References

gitlab-com/gl-infra/production#21562

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:5214069903 Max Fan commented on merge request !227689 at GitLab.org / GitLab 2026-03-17T17:31:55Z mfanGitLab Max Fan [email protected]

Looks like the tests are failing because of the extra query count 😆

We should probably just call one or the other here and not both