Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot 2024-11-20 00:23:50 +00:00
parent 6200f12079
commit f406422125
253 changed files with 550 additions and 286 deletions

View File

@ -222,7 +222,7 @@ Dangerfile
^[Secure] @gitlab-org/secure/dynamic-analysis-be
/ee/app/services/app_sec/dast/
^[Security Policies frontend] @gitlab-org/govern/security-policies-frontend
^[Security Policies frontend] @gitlab-org/security-risk-management/security-policies/frontend
/ee/app/assets/javascripts/approvals/components/license_compliance/**
/ee/app/assets/javascripts/approvals/stores/modules/license_compliance/**
/ee/app/assets/javascripts/license_compliance/**
@ -250,7 +250,7 @@ Dangerfile
/ee/spec/frontend/security_orchestration/**
/ee/spec/views/projects/security/policies/**
^[Security Policies backend] @gitlab-org/govern/security-policies-backend
^[Security Policies backend] @gitlab-org/security-risk-management/security-policies/backend
/app/models/clusters/applications/cilium.rb
/ee/app/controllers/groups/security/policies_controller.rb
/ee/app/controllers/projects/security/policies_controller.rb
@ -302,7 +302,7 @@ Dangerfile
/app/finders/security/license_compliance_jobs_finder.rb
/ee/app/controllers/projects/licenses_controller.rb
/ee/app/finders/software_license_policies_finder.rb
/ee/app/models/sca/license_compliance.rb @gitlab-org/govern/security-policies-backend @gitlab-org/secure/composition-analysis-be
/ee/app/models/sca/license_compliance.rb @gitlab-org/security-risk-management/security-policies/backend @gitlab-org/secure/composition-analysis-be
/ee/app/models/sca/license_policy.rb
/ee/app/models/software_license_policy.rb
/ee/app/models/software_license.rb
@ -323,7 +323,7 @@ Dangerfile
/ee/spec/factories/spdx_license.rb
/ee/spec/finders/software_license_policies_finder_spec.rb
/ee/spec/lib/gitlab/ci/parsers/license_compliance/**
/ee/spec/models/sca/license_compliance_spec.rb @gitlab-org/govern/security-policies-backend @gitlab-org/secure/composition-analysis-be
/ee/spec/models/sca/license_compliance_spec.rb @gitlab-org/security-risk-management/security-policies/backend @gitlab-org/secure/composition-analysis-be
/ee/spec/models/sca/license_policy_spec.rb
/ee/spec/models/software_license_policy_spec.rb
/ee/spec/models/software_license_spec.rb
@ -917,7 +917,7 @@ lib/gitlab/checks/**
/doc/development/ai_features/ @gitlab-org/ai-powered
/doc/development/ai_features/embeddings.md @gitlab-org/search-team/migration-maintainers
/doc/development/application_limits.md @gitlab-org/distribution
/doc/development/audit_event_guide/ @gitlab-org/govern/security-policies-frontend @gitlab-org/govern/threat-insights-frontend-team @gitlab-org/govern/threat-insights-backend-team
/doc/development/audit_event_guide/ @gitlab-org/security-risk-management/security-policies/frontend @gitlab-org/govern/threat-insights-frontend-team @gitlab-org/govern/threat-insights-backend-team
/doc/development/avoiding_required_stops.md @gitlab-org/distribution
/doc/development/build_test_package.md @gitlab-org/distribution
/doc/development/cascading_settings.md @gitlab-org/foundations/engineering
@ -944,7 +944,7 @@ lib/gitlab/checks/**
/doc/development/permissions.md @rlehmann1
/doc/development/permissions/ @rlehmann1
/doc/development/pipelines/ @gl-quality/eng-prod
/doc/development/policies.md @gitlab-org/govern/authentication/approvers
/doc/development/policies.md @gitlab-org/software-supply-chain-security/authentication/approvers
/doc/development/prometheus_metrics.md @gitlab-org/analytics-section/product-analytics/engineers/frontend
/doc/development/search/ @gitlab-org/search-team/migration-maintainers
/doc/development/sec/ @gitlab-org/govern/threat-insights-frontend-team
@ -1173,7 +1173,7 @@ lib/gitlab/checks/**
/doc/user/workspace/ @ashrafkhamis
# End rake-managed-docs-block
[Authorization] @gitlab-org/govern/authorization/approvers
[Authorization] @gitlab-org/software-supply-chain-security/authorization/approvers
/config/initializers/declarative_policy.rb
/config/initializers/declarative_policy_cached_attributes.rb
/app/policies/
@ -1198,7 +1198,7 @@ lib/gitlab/checks/**
/app/assets/javascripts/packages_and_registries/harbor_registry/
/ee/app/services/ee/auth/container_registry_authentication_service.rb
[Authentication] @gitlab-org/govern/authentication/approvers
[Authentication] @gitlab-org/software-supply-chain-security/authentication/approvers
/app/assets/javascripts/access_tokens/
/app/assets/javascripts/alerts_settings/graphql/mutations/reset_http_token.mutation.graphql
/app/assets/javascripts/authentication/
@ -1607,7 +1607,7 @@ lib/api/entities/project_identity.rb
lib/api/entities/project.rb
ee/lib/ee/api/entities/project.rb
[Compliance] @gitlab-org/govern/compliance/engineering
[Compliance] @gitlab-org/software-supply-chain-security/compliance/engineering
/app/services/audit_events/build_service.rb
/ee/app/services/ee/audit_events/build_service.rb
/app/models/audit_event.rb

View File

@ -1,9 +1,10 @@
<!-- eslint-disable vue/multi-word-component-names -->
<script>
import InputCopyToggleVisibility from '~/vue_shared/components/form/input_copy_toggle_visibility.vue';
import SettingsSection from '~/vue_shared/components/settings/settings_section.vue';
export default {
components: { InputCopyToggleVisibility },
components: { InputCopyToggleVisibility, SettingsSection },
props: {
token: {
type: String,
@ -36,9 +37,14 @@ export default {
</script>
<template>
<div>
<h4 class="gl-my-0"><slot name="title"></slot></h4>
<slot name="description"></slot>
<settings-section>
<template #heading>
<slot name="title"></slot>
</template>
<template #description>
<slot name="description"></slot>
</template>
<input-copy-toggle-visibility
:label="inputLabel"
:label-for="inputId"
@ -49,8 +55,10 @@ export default {
:size="size"
>
<template #description>
<slot name="input-description"></slot>
<div class="gl-mt-3">
<slot name="input-description"></slot>
</div>
</template>
</input-copy-toggle-visibility>
</div>
</settings-section>
</template>

View File

@ -1,9 +1,7 @@
<script>
import { GlSprintf, GlLink } from '@gitlab/ui';
import { pickBy } from 'lodash';
import { s__ } from '~/locale';
import { FEED_TOKEN, INCOMING_EMAIL_TOKEN, STATIC_OBJECT_TOKEN } from '../constants';
import Token from './token.vue';
@ -79,7 +77,7 @@ export default {
</script>
<template>
<div class="settings-section js-search-settings-section !gl-pt-0">
<div>
<token
v-for="(tokenData, tokenType) in enabledTokenTypes"
:key="tokenType"
@ -91,17 +89,11 @@ export default {
size="md"
>
<template #title>
<div class="settings-sticky-header">
<div class="settings-sticky-header-inner">
{{ $options.i18n[tokenType].label }}
</div>
</div>
{{ $options.i18n[tokenType].label }}
</template>
<template #description>
<p class="gl-text-secondary">
{{ $options.i18n[tokenType].description }}
{{ $options.i18n.canNotAccessOtherData }}
</p>
{{ $options.i18n[tokenType].description }}
{{ $options.i18n.canNotAccessOtherData }}
</template>
<template #input-description>
<gl-sprintf :message="$options.i18n[tokenType].inputDescription">

View File

@ -3,6 +3,8 @@ import { GlButton } from '@gitlab/ui';
// eslint-disable-next-line no-restricted-imports
import { mapGetters } from 'vuex';
import NoteSignedOutWidget from '~/notes/components/note_signed_out_widget.vue';
import DiscussionLockedWidget from '~/notes/components/discussion_locked_widget.vue';
import { COMMENT_FORM } from '../../notes/i18n';
import { START_THREAD } from '../i18n';
@ -10,9 +12,11 @@ export default {
name: 'DiffDiscussionReply',
i18n: {
START_THREAD,
COMMENT_FORM,
},
components: {
GlButton,
DiscussionLockedWidget,
NoteSignedOutWidget,
},
props: {
@ -30,14 +34,26 @@ export default {
...mapGetters({
currentUser: 'getUserData',
userCanReply: 'userCanReply',
getNoteableData: 'getNoteableData',
}),
isLoggedIn() {
return this.currentUser?.id;
},
canCreateNote() {
return this.userCanReply && this.getNoteableData.current_user.can_create_note;
},
},
};
</script>
<template>
<div class="discussion-reply-holder clearfix gl-flex">
<template v-if="userCanReply">
<discussion-locked-widget
v-if="!canCreateNote && isLoggedIn"
:issuable-type="$options.i18n.COMMENT_FORM.mergeRequest"
class="!gl-mt-0 gl-grow"
/>
<template v-else-if="isLoggedIn">
<slot v-if="hasForm" name="form"></slot>
<template v-else-if="renderReplyPlaceholder">
<gl-button @click="$emit('showNewDiscussionForm')">

View File

@ -165,7 +165,10 @@ export default {
<slot name="avatar-badge"></slot>
</template>
</component>
<discussion-notes-replies-wrapper :is-diff-discussion="discussion.diff_discussion">
<discussion-notes-replies-wrapper
v-if="hasReplies || userCanReply"
:is-diff-discussion="discussion.diff_discussion"
>
<toggle-replies-widget
v-if="hasReplies"
:collapsed="!isExpanded"

View File

@ -35,5 +35,5 @@ export default {
</script>
<template>
<div v-safe-html="signedOutText" class="disabled-comment gl-text-center gl-text-secondary"></div>
<div v-safe-html="signedOutText" class="gl-grow gl-text-center gl-text-subtle"></div>
</template>

View File

@ -245,7 +245,7 @@ export default {
<template #meta>
<span
v-if="hasPronouns"
class="gl-p-1 gl-text-sm gl-font-normal gl-text-gray-500"
class="gl-p-1 gl-text-sm gl-font-normal gl-text-subtle"
data-testid="user-popover-pronouns"
>({{ user.pronouns }})</span
>
@ -266,7 +266,7 @@ export default {
</template>
<template v-else>
<template v-if="!isBlocked">
<div class="gl-text-gray-500">
<div class="gl-text-subtle">
<div v-if="user.email" class="gl-mb-2 gl-flex">
<gl-icon name="mail" class="gl-shrink-0" />
<span ref="email" class="gl-ml-2">{{ user.email }}</span>

View File

@ -3,6 +3,7 @@
@import 'framework/mixins';
@import '@gitlab/ui/src/scss/gitlab_ui';
@import '@gitlab/duo-ui/src/scss/components';
@import 'bootstrap_migration';
@import 'framework/layout';

View File

@ -645,8 +645,7 @@
}
.mr-widget-extension {
border-top: 1px solid var(--gl-border-color-default);
background-color: var(--gray-10, $gray-10);
@apply gl-bg-subtle gl-border-t gl-border-t-section;
container-name: mr-widget-extension;
container-type: inline-size;
// Adds a fix for the view app dropdown not showing up
@ -655,7 +654,7 @@
z-index: 1;
&.clickable:hover {
background-color: var(--gray-50, $gray-50);
@apply gl-bg-strong;
cursor: pointer;
}
}

View File

@ -313,7 +313,12 @@
.diff-files-holder {
.discussion-notes .timeline-entry:first-of-type > .timeline-entry-inner {
@apply gl-border-b gl-border-b-subtle dark:gl-border-b-section;
.timeline-entry:last-child .timeline-entry-inner {
@apply gl-border-b-0;
}
}
}
.diffs {

View File

@ -59,8 +59,7 @@ class WebHookLog < ApplicationRecord
end
def request_headers
super unless web_hook.token?
super if self[:request_headers]['X-Gitlab-Token'] == _('[REDACTED]')
return super unless self[:request_headers]['X-Gitlab-Token']
self[:request_headers].merge('X-Gitlab-Token' => _('[REDACTED]'))
end

View File

@ -4,36 +4,32 @@
- type_plural = _('personal access tokens')
- @force_desktop_expanded_sidebar = true
.settings-section.settings-section-no-bottom.js-search-settings-section
.settings-sticky-header
.settings-sticky-header-inner
%h4.gl-my-0
= page_title
%p.gl-text-subtle
= render ::Layouts::SettingsSectionComponent.new(page_title) do |c|
- c.with_description do
= s_('AccessTokens|You can generate a personal access token for each application you use that needs access to the GitLab API.')
= s_('AccessTokens|You can also use personal access tokens to authenticate against Git over HTTP.')
= s_('AccessTokens|They are the only accepted password when you have Two-Factor Authentication (2FA) enabled.')
- c.with_body do
#js-new-access-token-app{ data: { access_token_type: type } }
#js-new-access-token-app{ data: { access_token_type: type } }
= render ::Layouts::CrudComponent.new(_('Active personal access tokens'),
icon: 'token',
count: @active_access_tokens_size,
count_options: { class: 'js-token-count' },
toggle_text: _('Add new token'),
toggle_options: { data: { testid: 'add-new-token-button' } },
form_options: { class: 'js-add-new-token-form' },
options: { class: 'js-token-card' }) do |c|
- c.with_form do
= render 'shared/access_tokens/form',
ajax: true,
type: type,
path: user_settings_personal_access_tokens_path,
token: @personal_access_token,
scopes: @scopes,
help_path: help_page_path('user/profile/personal_access_tokens.md', anchor: 'personal-access-token-scopes')
= render ::Layouts::CrudComponent.new(_('Active personal access tokens'),
icon: 'token',
count: @active_access_tokens_size,
count_options: { class: 'js-token-count' },
toggle_text: _('Add new token'),
toggle_options: { data: { testid: 'add-new-token-button' } },
form_options: { class: 'js-add-new-token-form' },
options: { class: 'gl-mt-5 js-token-card' }) do |c|
- c.with_form do
= render 'shared/access_tokens/form',
ajax: true,
type: type,
path: user_settings_personal_access_tokens_path,
token: @personal_access_token,
scopes: @scopes,
help_path: help_page_path('user/profile/personal_access_tokens.md', anchor: 'personal-access-token-scopes')
- c.with_body do
#js-access-token-table-app{ data: { access_token_type: type, access_token_type_plural: type_plural, backend_pagination: 'true', initial_active_access_tokens: @active_access_tokens.to_json } }
- c.with_body do
#js-access-token-table-app{ data: { access_token_type: type, access_token_type_plural: type_plural, backend_pagination: 'true', initial_active_access_tokens: @active_access_tokens.to_json } }
#js-tokens-app{ data: { tokens_data: tokens_app_data } }

View File

@ -8,3 +8,4 @@ description: Aggregates per-user scores related to potential product abuse.
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/117301
milestone: '15.11'
gitlab_schema: gitlab_main_clusterwide
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
agent_project_id: projects
table_size: small

View File

@ -13,3 +13,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
group_id: namespaces
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: approval_project_rule
desired_sharding_key_migration_job_name: BackfillApprovalMergeRequestRuleSourcesProjectId
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: approval_merge_request_rule
awaiting_backfill_on_parent: true
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
group_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '11.7'
gitlab_schema: gitlab_main_cell
sharding_key:
project_id: projects
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
group_id: namespaces
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: approval_project_rule
desired_sharding_key_migration_job_name: BackfillApprovalProjectRulesProtectedBranchesProjectId
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: approval_project_rule
desired_sharding_key_migration_job_name: BackfillApprovalProjectRulesUsersProjectId
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
exempt_from_sharding: true
notes: Exempted because Marked for drop - https://gitlab.com/gitlab-org/gitlab/-/issues/444234
table_size: small

View File

@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/37
milestone: '8.9'
gitlab_schema: gitlab_main
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463411
table_size: small

View File

@ -9,3 +9,4 @@ description: The batched_background_migration_jobs table stores information abou
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/54628
milestone: '13.10'
gitlab_schema: gitlab_shared
table_size: small

View File

@ -14,3 +14,4 @@ allow_cross_foreign_keys:
sharding_key:
group_id: namespaces
project_id: projects
table_size: small

View File

@ -26,3 +26,4 @@ desired_sharding_key:
table: bulk_import_exports
sharding_key: group_id
belongs_to: export
table_size: small

View File

@ -13,3 +13,4 @@ allow_cross_foreign_keys:
sharding_key:
project_id: projects
group_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/47009
milestone: '13.6'
gitlab_schema: gitlab_main
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463854
table_size: small

View File

@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/41585
milestone: '13.4'
gitlab_schema: gitlab_ci
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/458479
table_size: small

View File

@ -18,3 +18,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: build
foreign_key_name: fk_89e29fa5ee_p
table_size: small

View File

@ -11,3 +11,4 @@ milestone: '13.0'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '13.5'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '9.4'
gitlab_schema: gitlab_ci
sharding_key:
group_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '13.9'
gitlab_schema: gitlab_ci
sharding_key:
namespace_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '14.0'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '13.3'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '15.5'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -18,3 +18,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: pipeline_schedule
desired_sharding_key_migration_job_name: BackfillCiPipelineScheduleVariablesProjectId
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '9.2'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -11,3 +11,4 @@ milestone: '14.6'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '13.9'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '12.7'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -18,3 +18,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: resource_group
desired_sharding_key_migration_job_name: BackfillCiResourcesProjectId
table_size: small

View File

@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/107801
milestone: '15.8'
gitlab_schema: gitlab_ci
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/460084
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '10.8'
gitlab_schema: gitlab_ci
sharding_key:
namespace_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '8.0'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -11,3 +11,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/046b28312704f31
milestone: '8.0'
gitlab_schema: gitlab_ci
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/442395
table_size: small

View File

@ -19,3 +19,4 @@ desired_sharding_key:
belongs_to: trigger
foreign_key_name: fk_b8ec8b7245
desired_sharding_key_migration_job_name: BackfillCiTriggerRequestsProjectId
table_size: small

View File

@ -18,3 +18,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: unit_test
desired_sharding_key_migration_job_name: BackfillCiUnitTestFailuresProjectId
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '8.0'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '10.2'
gitlab_schema: gitlab_main
exempt_from_sharding: true
notes: Exempted because Table is scheduled for removal
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '11.5'
gitlab_schema: gitlab_main
exempt_from_sharding: true
notes: Exempted because Table is scheduled for removal
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '12.6'
gitlab_schema: gitlab_main_cell
sharding_key:
project_id: projects
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects
table_size: small

View File

@ -13,3 +13,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: container_repository
desired_sharding_key_migration_job_name: BackfillContainerRepositoryStatesProjectId
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
group_id: namespaces
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects
table_size: small

View File

@ -8,3 +8,4 @@ description: https://docs.gitlab.com/ee/user/project/deploy_tokens/
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/db18993f652425b72c4b854e18a002e0ec44b196
milestone: '10.7'
gitlab_schema: gitlab_main_clusterwide
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
exempt_from_sharding: true
notes: Exempted because Table is scheduled for removal
table_size: small

View File

@ -21,3 +21,4 @@ desired_sharding_key:
sharding_key: namespace_id
belongs_to: project
desired_sharding_key_migration_job_name: BackfillDesignManagementDesignsNamespaceId
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: namespace_id
belongs_to: design
awaiting_backfill_on_parent: true
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: namespace_id
belongs_to: project
desired_sharding_key_migration_job_name: BackfillDesignManagementRepositoriesNamespaceId
table_size: small

View File

@ -21,3 +21,4 @@ desired_sharding_key:
sharding_key: namespace_id
belongs_to: issue
desired_sharding_key_migration_job_name: BackfillDesignManagementVersionsNamespaceId
table_size: small

View File

@ -21,3 +21,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: environment
desired_sharding_key_migration_job_name: BackfillDoraDailyMetricsProjectId
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: target_project_id
belongs_to: merge_request
desired_sharding_key_migration_job_name: BackfillDraftNotesProjectId
table_size: small

View File

@ -12,3 +12,4 @@ schema_inconsistencies:
- type: missing_indexes
object_name: index_emails_on_email_trigram
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/152249
table_size: small

View File

@ -13,3 +13,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects
table_size: small

View File

@ -20,3 +20,4 @@ desired_sharding_key:
sharding_key: namespace_id
belongs_to: issue
desired_sharding_key_migration_job_name: BackfillEpicIssuesNamespaceId
table_size: small

View File

@ -13,3 +13,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
group_id: namespaces
table_size: small

View File

@ -18,3 +18,4 @@ desired_sharding_key:
sharding_key: project_id
belongs_to: release
desired_sharding_key_migration_job_name: BackfillEvidencesProjectId
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '12.3'
gitlab_schema: gitlab_ci
sharding_key:
project_id: projects
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '10.1'
gitlab_schema: gitlab_main_cell
sharding_key:
project_id: projects
table_size: small

View File

@ -12,3 +12,4 @@ gitlab_schema: gitlab_main_cell
exempt_from_sharding: true
notes: This table is a log of all events that occur on a primary Geo node/site, which
a secondary might be interested in.
table_size: small

View File

@ -10,3 +10,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/23447
milestone: '12.8'
gitlab_schema: gitlab_main_cell
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/464440
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '12.6'
gitlab_schema: gitlab_main_cell
sharding_key:
namespace_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '11.6'
gitlab_schema: gitlab_main_cell
sharding_key:
namespace_id: namespaces
table_size: small

View File

@ -8,3 +8,4 @@ description: Stores GPG keys
introduced_by_url: https://gitlab.com/gitlab-org/gitlab-foss/-/merge_requests/9546
milestone: '9.5'
gitlab_schema: gitlab_main_clusterwide
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '17.1'
gitlab_schema: gitlab_main_cell
sharding_key:
group_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ milestone: '14.10'
gitlab_schema: gitlab_main_cell
sharding_key:
group_id: namespaces
table_size: small

View File

@ -13,3 +13,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
entity_id: namespaces
table_size: small

View File

@ -8,3 +8,4 @@ description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1a80d13a3990937580c97e2b0ba8fb98f69bc055
milestone: '7.6'
gitlab_schema: gitlab_main_clusterwide
table_size: small

View File

@ -12,3 +12,4 @@ gitlab_schema: gitlab_main_cell
sharding_key:
project_id: projects
group_id: namespaces
table_size: small

View File

@ -10,3 +10,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/20727
milestone: '12.6'
gitlab_schema: gitlab_main
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463854
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects
table_size: small

View File

@ -12,3 +12,4 @@ allow_cross_foreign_keys:
- gitlab_main_clusterwide
sharding_key:
project_id: projects
table_size: small

View File

@ -8,3 +8,4 @@ description: Stores audit events scoped to instance
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/152035/
milestone: '17.1'
gitlab_schema: gitlab_main_clusterwide
table_size: small

View File

@ -68,3 +68,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/64562
milestone: '9.4'
gitlab_schema: gitlab_main_cell
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463856
table_size: small

View File

@ -12,3 +12,4 @@ gitlab_schema: gitlab_main_cell
sharding_key:
project_id: projects
namespace_id: namespaces
table_size: small

View File

@ -19,3 +19,4 @@ desired_sharding_key:
table: issues
sharding_key: namespace_id
belongs_to: issue
table_size: small

View File

@ -19,3 +19,4 @@ desired_sharding_key:
table: issues
sharding_key: namespace_id
belongs_to: issue
table_size: small

View File

@ -19,3 +19,4 @@ desired_sharding_key:
table: issues
sharding_key: namespace_id
belongs_to: issue
table_size: small

View File

@ -21,3 +21,4 @@ desired_sharding_key:
table: issues
sharding_key: namespace_id
belongs_to: issue
table_size: small

View File

@ -21,3 +21,4 @@ desired_sharding_key:
sharding_key: namespace_id
belongs_to: source
desired_sharding_key_migration_job_name: BackfillIssueLinksNamespaceId
table_size: small

View File

@ -19,3 +19,4 @@ desired_sharding_key:
table: issues
sharding_key: namespace_id
belongs_to: issue
table_size: small

View File

@ -19,3 +19,4 @@ desired_sharding_key:
table: issues
sharding_key: namespace_id
belongs_to: issue
table_size: small

View File

@ -9,3 +9,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/1f332ae8da99450
milestone: '12.0'
gitlab_schema: gitlab_main
sharding_key_issue_url: https://gitlab.com/gitlab-org/gitlab/-/issues/463856
table_size: small

View File

@ -11,3 +11,4 @@ description: SSH keys used by users or for deployments.
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/9ba1224867665844b117fa037e1465bb706b3685
milestone: "<6.0"
gitlab_schema: gitlab_main_clusterwide
table_size: small

Some files were not shown because too many files have changed in this diff Show More