-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add latest changes from gitlab-org/gitlab@master
- Loading branch information
GitLab Bot
committed
Jun 12, 2024
1 parent
18eaf3f
commit c74e66d
Showing
35 changed files
with
1,361 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
676cff8cddb9bf142cf00a712db75dbb69563b7e | ||
61c24a998b4844376e589f5e5a5c328754875101 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
config/events/fail_arkose_challenge_during_registration.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
--- | ||
description: Tracks when user fails arkose labs challenge during registration | ||
internal_events: true | ||
action: fail_arkose_challenge_during_registration | ||
identifiers: | ||
- user | ||
product_group: acquisition | ||
milestone: '17.1' | ||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154803 | ||
distributions: | ||
- ce | ||
- ee | ||
tiers: | ||
- free | ||
- premium | ||
- ultimate |
22 changes: 22 additions & 0 deletions
22
...nts_28d/count_distinct_user_id_from_fail_arkose_challenge_during_registration_monthly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
key_path: redis_hll_counters.count_distinct_user_id_from_fail_arkose_challenge_during_registration_monthly | ||
description: Monthly count of unique users who fail arkose challenge during registration | ||
product_group: acquisition | ||
performance_indicator_type: [] | ||
value_type: number | ||
status: active | ||
milestone: '17.1' | ||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154803 | ||
time_frame: 28d | ||
data_source: internal_events | ||
data_category: optional | ||
distribution: | ||
- ce | ||
- ee | ||
tier: | ||
- free | ||
- premium | ||
- ultimate | ||
events: | ||
- name: fail_arkose_challenge_during_registration | ||
unique: user.id |
22 changes: 22 additions & 0 deletions
22
...ounts_7d/count_distinct_user_id_from_fail_arkose_challenge_during_registration_weekly.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
key_path: redis_hll_counters.count_distinct_user_id_from_fail_arkose_challenge_during_registration_weekly | ||
description: Weekly count of unique users who fail arkose challenge during registration | ||
product_group: acquisition | ||
performance_indicator_type: [] | ||
value_type: number | ||
status: active | ||
milestone: '17.1' | ||
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/154803 | ||
time_frame: 7d | ||
data_source: internal_events | ||
data_category: optional | ||
distribution: | ||
- ce | ||
- ee | ||
tier: | ||
- free | ||
- premium | ||
- ultimate | ||
events: | ||
- name: fail_arkose_challenge_during_registration | ||
unique: user.id |
9 changes: 9 additions & 0 deletions
9
db/migrate/20240522014201_add_partition_id_to_sources_projects.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# frozen_string_literal: true | ||
|
||
class AddPartitionIdToSourcesProjects < Gitlab::Database::Migration[2.2] | ||
milestone '17.1' | ||
|
||
def change | ||
add_column(:ci_sources_projects, :partition_id, :bigint, default: 100, null: false) | ||
end | ||
end |
26 changes: 26 additions & 0 deletions
26
db/post_migrate/20240522014240_backfill_partition_id_ci_sources_projects.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# frozen_string_literal: true | ||
|
||
class BackfillPartitionIdCiSourcesProjects < Gitlab::Database::Migration[2.2] | ||
restrict_gitlab_migration gitlab_schema: :gitlab_ci | ||
milestone '17.1' | ||
|
||
BATCH_SIZE = 100 | ||
|
||
class CiSourcesProject < MigrationRecord | ||
self.table_name = 'ci_sources_projects' | ||
|
||
include EachBatch | ||
end | ||
|
||
def up | ||
CiSourcesProject.each_batch(of: BATCH_SIZE) do |batch| | ||
batch | ||
.where('ci_sources_projects.pipeline_id = ci_pipelines.id') | ||
.update_all('partition_id = ci_pipelines.partition_id FROM ci_pipelines') | ||
end | ||
end | ||
|
||
def down | ||
# no-op | ||
end | ||
end |
19 changes: 19 additions & 0 deletions
19
db/post_migrate/20240605232756_drop_index_boards_epic_user_preferences_on_board_id.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# frozen_string_literal: true | ||
|
||
class DropIndexBoardsEpicUserPreferencesOnBoardId < Gitlab::Database::Migration[2.2] | ||
milestone '17.1' | ||
|
||
disable_ddl_transaction! | ||
|
||
TABLE_NAME = :boards_epic_user_preferences | ||
INDEX_NAME = :index_boards_epic_user_preferences_on_board_id | ||
COLUMN_NAMES = [:board_id] | ||
|
||
def up | ||
remove_concurrent_index_by_name(TABLE_NAME, INDEX_NAME) | ||
end | ||
|
||
def down | ||
add_concurrent_index(TABLE_NAME, COLUMN_NAMES, name: INDEX_NAME) | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
63c31d4a52ee1a2186d05424c33faab76e4286d2bd58bcf6920d124c3ac031a8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
e7ec4ddce32fbbb9ada1d61312bf39b27c1b3190b0a41ed8621ad3351b398290 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
12f08c8529cd29fea12a4f39138c1df9349ab46d0e646a5c8ead9b60a569f9ef |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+304 KB
...ueprints/autonomous_workflows/diagrams/duo-workflow-architecture-gitlab-com.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+315 KB
...s/autonomous_workflows/diagrams/duo-workflow-architecture-self-managed-full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+409 KB
.../autonomous_workflows/diagrams/duo-workflow-architecture-self-managed-mixed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.