From bb164cb4c7f59fc27372ccc48c2fa8b3e20e08b4 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Thu, 17 Apr 2025 00:11:35 +0000 Subject: [PATCH] Add latest changes from gitlab-org/gitlab@master --- .gitlab/ci/qa-common/variables.gitlab-ci.yml | 2 +- .../components/create_work_item.vue | 8 +- ...te_work_item_cancel_confirmation_modal.vue | 4 +- .../components/create_work_item_modal.vue | 4 +- .../work_item_change_type_modal.vue | 19 ++-- .../javascripts/work_items/constants.js | 4 +- app/controllers/glql/base_controller.rb | 5 +- app/models/namespace.rb | 4 +- ...ed_migrations_health_status_autovacuum.yml | 2 +- config/initializers/1_settings.rb | 3 + data/deprecations/17-3-codeclimate.yml | 6 +- ...enable-gitlab-advanced-sast-by-default.yml | 1 + db/docs/namespaces.yml | 2 +- ...20250411131429_remove_namespace_columns.rb | 15 ++++ ...orkflows_workflows_status_updated_at_id.rb | 19 ++++ db/schema_migrations/20250411131429 | 1 + db/schema_migrations/20250415152848 | 1 + db/structure.sql | 4 +- .../code_quality_codeclimate_scanning.md | 2 +- .../database/batched_background_migrations.md | 16 +++- doc/development/integrations/jira_connect.md | 87 ++++++++++++++++++- doc/update/background_migrations.md | 28 ++++++ doc/update/breaking_windows.md | 2 +- doc/update/deprecations.md | 6 +- .../vulnerability_archival/_index.md | 2 +- .../lib/gitlab/housekeeper/change.rb | 12 ++- .../lib/gitlab/housekeeper/gitlab_client.rb | 2 +- .../spec/gitlab/housekeeper/change_spec.rb | 9 ++ .../overdue_finalize_background_migration.rb | 2 +- .../database/load_balancing/session_map.rb | 4 + locale/gitlab.pot | 8 +- qa/Gemfile | 2 +- qa/Gemfile.lock | 4 +- spec/controllers/glql/base_controller_spec.rb | 9 ++ ...rdue_finalize_background_migration_spec.rb | 2 +- .../load_balancing/session_map_spec.rb | 26 ++++-- 36 files changed, 270 insertions(+), 57 deletions(-) create mode 100644 db/post_migrate/20250411131429_remove_namespace_columns.rb create mode 100644 db/post_migrate/20250415152848_index_duo_workflows_workflows_status_updated_at_id.rb create mode 100644 db/schema_migrations/20250411131429 create mode 100644 db/schema_migrations/20250415152848 diff --git a/.gitlab/ci/qa-common/variables.gitlab-ci.yml b/.gitlab/ci/qa-common/variables.gitlab-ci.yml index e28ee1db7a8..0b8095cd749 100644 --- a/.gitlab/ci/qa-common/variables.gitlab-ci.yml +++ b/.gitlab/ci/qa-common/variables.gitlab-ci.yml @@ -18,7 +18,7 @@ variables: # Helm chart ref used by test-on-cng pipeline GITLAB_HELM_CHART_REF: "074bb942c9c65613c2576ce418f59b8577fff37c" # Specific ref for cng-mirror project to trigger builds for - GITLAB_CNG_MIRROR_REF: "01f587c24c52e4bbf8a67135ae4f6adafa19fa2b" + GITLAB_CNG_MIRROR_REF: "56b6a062b05d549e0b69f79b759107e4956151eb" # Makes sure some of the common scripts from pipeline-common use bundler to execute commands RUN_WITH_BUNDLE: "true" # Makes sure reporting script defined in .gitlab-qa-report from pipeline-common is executed from correct folder diff --git a/app/assets/javascripts/work_items/components/create_work_item.vue b/app/assets/javascripts/work_items/components/create_work_item.vue index e409db03ba5..0aa337d2440 100644 --- a/app/assets/javascripts/work_items/components/create_work_item.vue +++ b/app/assets/javascripts/work_items/components/create_work_item.vue @@ -36,6 +36,8 @@ import { I18N_WORK_ITEM_ERROR_CREATING, sprintfWorkItem, i18n, + NAME_TO_LOWERCASE_TEXT_MAP, + NAME_TO_TEXT_MAP, WIDGET_TYPE_ASSIGNEES, WIDGET_TYPE_COLOR, NEW_WORK_ITEM_IID, @@ -52,8 +54,6 @@ import { WIDGET_TYPE_MILESTONE, DEFAULT_EPIC_COLORS, WIDGET_TYPE_HIERARCHY, - WORK_ITEM_TYPE_NAME_LOWERCASE_MAP, - WORK_ITEM_TYPE_NAME_MAP, WORK_ITEM_TYPE_NAME_INCIDENT, WORK_ITEM_TYPE_NAME_EPIC, WIDGET_TYPE_CUSTOM_FIELDS, @@ -322,7 +322,7 @@ export default { return getDisplayReference(this.selectedProjectFullPath, this.relatedItem.reference); }, relatedItemType() { - return WORK_ITEM_TYPE_NAME_LOWERCASE_MAP[this.relatedItem?.type]; + return NAME_TO_LOWERCASE_TEXT_MAP[this.relatedItem?.type]; }, workItemAssignees() { return findWidget(WIDGET_TYPE_ASSIGNEES, this.workItem); @@ -382,7 +382,7 @@ export default { return workItemTypes.map((workItemType) => ({ value: workItemType.id, - text: WORK_ITEM_TYPE_NAME_MAP[workItemType.name], + text: NAME_TO_TEXT_MAP[workItemType.name], })); }, selectedWorkItemType() { diff --git a/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue b/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue index 7ae94f85521..3d2287be42c 100644 --- a/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue +++ b/app/assets/javascripts/work_items/components/create_work_item_cancel_confirmation_modal.vue @@ -1,7 +1,7 @@