Madhusudan Vaishnao activity https://gitlab.com/mvaishnao 2026-03-18T18:58:03Z tag:gitlab.com,2026-03-18:5219106539 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-18T18:58:03Z mvaishnao Madhusudan Vaishnao

/chatops run feature set ci_stop_writing_to_pipeline_variables 75 --actors

tag:gitlab.com,2026-03-18:5216856057 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-18T10:44:35Z mvaishnao Madhusudan Vaishnao

Going ahead with 50%:

/chatops run feature set ci_stop_writing_to_pipeline_variables 50 --actors

tag:gitlab.com,2026-03-18:5216612778 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-18T09:55:46Z mvaishnao Madhusudan Vaishnao

/chatops run feature set ci_stop_writing_to_pipeline_variables 30 --actors

tag:gitlab.com,2026-03-18:5216235844 Madhusudan Vaishnao approved merge request !227840: Freeze runner_spec models at GitLab.org / GitLab 2026-03-18T08:31:26Z mvaishnao Madhusudan Vaishnao

What does this MR do and why?

Freezes factory-created objects in spec/models/ci/runner_spec.rb by adding freeze: true to let_it_be declarations throughout the spec file.

This is a test optimization that:

  • Replaces let_it_be (without freeze) and let_it_be_with_reload with let_it_be(:name, freeze: true) where the test does not mutate the object
  • Replaces let_it_be_with_refind with let_it_be(:name, freeze: true) where refind was unnecessary
  • Converts a few cases to let_it_be_with_refind where the object is actually mutated in before blocks
  • Inlines a shared example (group or project runner initializing organization_id) that was only used twice, simplifying the test structure
  • Hoists shared admin and user2 let_it_be declarations to a higher scope to avoid duplication across with_creator_id and created_by_admins describe blocks
  • Reuses the existing other_organization let_it_be instead of creating a duplicate other_org in the assignable_for context
  • Consolidates runner attribute setup (e.g., token_expires_at) into the factory call instead of a separate before block

Frozen objects raise FrozenError if a test accidentally modifies them, catching unintended side effects between examples. This also improves test performance by avoiding unnecessary database reloads.

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-18:5216235787 Madhusudan Vaishnao commented on merge request !227840 at GitLab.org / GitLab 2026-03-18T08:31:25Z mvaishnao Madhusudan Vaishnao

Thanks @pedropombeiro, LGTM 🚀

tag:gitlab.com,2026-03-17:5214606380 Madhusudan Vaishnao commented on merge request !227099 at GitLab.org / GitLab 2026-03-17T20:19:36Z mvaishnao Madhusudan Vaishnao

@arfedoro nice cleanup 💯! LGTM for test ✅

tag:gitlab.com,2026-03-17:5214605846 Madhusudan Vaishnao approved merge request !227099: Remove `security_policies_split_view` feature flag from backend at GitLab.org / GitLab 2026-03-17T20:19:24Z mvaishnao Madhusudan Vaishnao

What does this MR do?

Removes the security_policies_split_view feature flag from backend code and deletes the flag definition file, completing the feature flag cleanup.

After this MR, the split view (advanced editor toggle) is always available — gated only by the user preference (policy_advanced_editor). No feature flag check is needed.

Related to #593378

Note: This MR should be merged after !227098 (frontend cleanup).

Changes

Source files (4 files)

File Change
groups/security/policies_controller.rb Removed push_frontend_feature_flag(:security_policies_split_view, group)
projects/security/policies_controller.rb Removed push_frontend_feature_flag(:security_policies_split_view, project.group)
security_orchestration_helper.rb Removed Feature.enabled? check from policy_editor_enabled?
security_policies_split_view.yml Deleted

Test files (6 files)

  • Removed stub_feature_flags(security_policies_split_view: ...) from helper spec and all 5 feature specs

MR acceptance checklist

  • RSpec helper spec passes (56 examples, 0 failures)
  • Rubocop passes (0 offenses)
  • No remaining references to security_policies_split_view in the codebase
  • Feature flag YAML definition deleted
tag:gitlab.com,2026-03-17:5214573460 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-17T20:09:26Z mvaishnao Madhusudan Vaishnao

Going ahead with 10%:

/chatops run feature set ci_stop_writing_to_pipeline_variables 10 --actors

tag:gitlab.com,2026-03-17:5214515476 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-17T19:49:51Z mvaishnao Madhusudan Vaishnao

Starting incremental roll out on Production:

/chatops run feature set ci_stop_writing_to_pipeline_variables 1 --actors

tag:gitlab.com,2026-03-17:5214258339 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-17T18:25:40Z mvaishnao Madhusudan Vaishnao

Deployed to specific projects on production environment:

/chatops run feature set --project=gitlab-org/gitlab,gitlab-org/gitlab-foss,gitlab-com/www-gitlab-com ci_stop_writing_to_pipeline_variables true

tag:gitlab.com,2026-03-17:5213377145 Madhusudan Vaishnao commented on merge request !227055 at GitLab.org / GitLab 2026-03-17T14:58:41Z mvaishnao Madhusudan Vaishnao

Hi @reprazent could you please help with the final backend review on this? Thanks!

tag:gitlab.com,2026-03-17:5213369148 Madhusudan Vaishnao approved merge request !227055: Resolve "Follow-up from "Gate ultimate-only DAP flows and agents for free-tier namespaces"" at GitLab.org... 2026-03-17T14:57:09Z mvaishnao Madhusudan Vaishnao

What does this MR do and why?

Fixes undercoverage

References

Screenshots or screen recordings

Before After

How to set up and validate locally

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 #592774

tag:gitlab.com,2026-03-17:5213369117 Madhusudan Vaishnao commented on merge request !227055 at GitLab.org / GitLab 2026-03-17T14:57:08Z mvaishnao Madhusudan Vaishnao

Thanks @fdegier and @abime LGTM ✅

tag:gitlab.com,2026-03-16:5209538713 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-16T18:00:25Z mvaishnao Madhusudan Vaishnao

Enabling globally for non-prod environments:

/chatops run feature set stop_writing_to_ci_pipeline_variables true --dev --pre --staging --staging-ref

tag:gitlab.com,2026-03-16:5209461824 Madhusudan Vaishnao commented on issue #586502 at GitLab.org / GitLab 2026-03-16T17:36:54Z mvaishnao Madhusudan Vaishnao

Deployed to non-prod environments:

/chatops run feature set stop_writing_to_ci_pipeline_variables 50 --actors --dev --pre --staging --staging-ref

tag:gitlab.com,2026-03-13:5203172819 Madhusudan Vaishnao commented on issue #580848 at GitLab.org / GitLab 2026-03-13T23:20:24Z mvaishnao Madhusudan Vaishnao

The MR has been merged now, closing the issue!

tag:gitlab.com,2026-03-13:5203172408 Madhusudan Vaishnao closed issue #580848: Stop writing into ci_pipeline_variables at GitLab.org / GitLab 2026-03-13T23:20:10Z mvaishnao Madhusudan Vaishnao tag:gitlab.com,2026-03-13:5203019174 Madhusudan Vaishnao commented on merge request !226628 at GitLab.org / GitLab 2026-03-13T21:41:00Z mvaishnao Madhusudan Vaishnao

@lma-git Thanks for your review and approval. Really appreciate

tag:gitlab.com,2026-03-13:5202998409 Madhusudan Vaishnao commented on issue #580848 at GitLab.org / GitLab 2026-03-13T21:27:56Z mvaishnao Madhusudan Vaishnao

Marking the status to green now (from yellow earlier) as we have received the final approval and auto-merge has been enabled for the MR.