You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
'MlExperimentTracking|Are you sure you would like to delete this model?',
62
+
'MlModelRegistry|Are you sure you would like to delete this model?',
63
63
),
64
64
deleteConfirmationNote:s__(
65
-
'MlExperimentTracking|Deleting this model also deletes all its versions, including any imported or uploaded artifacts, and their associated settings.',
65
+
'MlModelRegistry|Deleting this model also deletes all its versions, including any imported or uploaded artifacts, and their associated settings.',
Copy file name to clipboardExpand all lines: doc/administration/gitaly/configure_gitaly.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -579,7 +579,8 @@ reconfigure the GitLab application servers to remove the `default` storage becau
579
579
580
580
To work around the limitation:
581
581
582
-
1. Define an additional storage location on the newGitaly service and configure the additional storage to be `default`.
582
+
1. Define an additional storage location on the newGitaly service and configure the additional storage to be `default`. The storage location must have a
583
+
Gitaly service running and available to avoid issues with database migrations that expect working storages.
583
584
1. In the [**Admin** area](../repository_storage_paths.md#configure-where-new-repositories-are-stored), set `default` to a weight of zero
Copy file name to clipboardExpand all lines: doc/development/real_time.md
+31-28
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,32 @@ If you are not sure, ask for help in the [`#f_real-time` internal Slack channel]
26
26
27
27
{{< /alert >}}
28
28
29
+
## Working Safely with WebSockets
30
+
31
+
WebSockets are a relatively new technology at GitLab and you should code defensively when
32
+
using a WebSocket connection.
33
+
34
+
### Backwards Compatibility
35
+
36
+
Treat the connection as ephemeral and ensure the feature you're building is backwards compatible. Ensure critical functionality degrades gracefully when a WebSocket connection isn't available.
37
+
38
+
You can work on the frontend and backend at the same time because updates over WebSockets
39
+
are difficult to simulate without the necessary backend code in place.
40
+
41
+
However, always deploy backend changes first. It is strongly advised to package the backend
42
+
and frontend changes in separate releases or to manage rollout with a Feature Flag, especially
43
+
where a new connection is introduced.
44
+
45
+
This ensures that when the frontend starts subscribing to events, the backend is already prepared
46
+
to service them.
47
+
48
+
### New Connections at Scale
49
+
50
+
Introducing a new WebSocket connection is particularly risky at scale. If you need to establish a
51
+
connection on a new area of the site, perform the steps detailed in the
52
+
[Introduce a new WebSocket Connection](#introduce-a-new-websocket-connection) section before going
53
+
further.
54
+
29
55
## Build real-time view components
30
56
31
57
Prerequisites:
@@ -330,20 +356,7 @@ of the issue's fields changing, we could extend `Issues::UpdateService` to call
330
356
331
357
The real-time view component is now functional. Updates to an issue should now propagate immediately into the GitLab UI.
332
358
333
-
## Deploy real-time view components
334
-
335
-
WebSockets are a relatively newtechnology at GitLab, and supporting them at
336
-
scale introduces some challenges. For that reason, newfeatures should be rolled
337
-
out using the instructions below.
338
-
339
-
### Shipping a real-time component
340
-
341
-
You can work on the frontend and backend at the same time, because updates over WebSockets
342
-
are difficult to simulate without the necessary backend code in place.
343
-
344
-
However, it is safer to send changes in separate merge requests and deploy the backend changes first.
345
-
This ensures that when the frontend starts subscribing to events, the backend is already prepared
346
-
to service them.
359
+
## Shipping a real-time component
347
360
348
361
### Reuse an existing WebSocket connection
349
362
@@ -363,7 +376,7 @@ connections and on downstream services; such as Redis and the primary database.
363
376
The first real-time feature to be fully enabled on GitLab.com was
364
377
[real-time assignees](https://gitlab.com/gitlab-org/gitlab/-/issues/17589). By comparing
365
378
peak throughput to the issue page against peak simultaneous WebSocket connections it is
366
-
possible to crudely estimate that each 1 request per second adds
379
+
possible to crudely estimate that each 1 request per second to a page adds
367
380
approximately 4200WebSocket connections.
368
381
369
382
To understand the impact a newfeature might have, sum the peak throughput (RPS)
@@ -373,13 +386,13 @@ to the pages it originates from (`n`) and apply the formula:
Copy file name to clipboardExpand all lines: doc/development/testing_guide/end_to_end/test_pipelines.md
+4-5
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,8 @@ This Rake task:
31
31
32
32
The `e2e:test-on-cng` child pipeline runs tests against a [Cloud Native GitLab](https://gitlab.com/gitlab-org/build/CNG) installation.
33
33
34
-
Deployment is managed by the [`cng`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/gems/gitlab-cng/README.md)
35
-
orchestrator tool, which you can also use to locally recreate CI/CD deployments.
34
+
Deployment is managed by the [`orchestrator`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/gems/gitlab-orchestrator/README.md)
35
+
CLI tool, which you can also use to locally recreate CI/CD deployments.
36
36
37
37
The `e2e:test-on-cng` child pipeline is executed in merge requests and is part of pre-merge validation lifecycle. If any test fails, you can't merge introduced
38
38
code changes.
@@ -67,10 +67,9 @@ This stage is responsible for [allure test report](_index.md#allure-report) gene
67
67
68
68
To help with debugging:
69
69
70
-
- Each test job prints a list of arguments that you can pass to the [`cng`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/gems/gitlab-cng/README.md)
71
-
orchestrator to exactly recreate the same deployment for local debugging.
70
+
- Each test job prints a list of arguments that you can pass to the [`orchestrator`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/gems/gitlab-orchestrator/README.md) to exactly recreate the same deployment for local debugging.
72
71
- Cluster events log and all pod logs are saved in E2E test job artifacts.
73
-
-`cng`orchestrator automatically outputs all cluster events with errors in the case of failed deployment.
72
+
-`orchestrator` automatically outputs all cluster events with errors in the case of failed deployment.
Copy file name to clipboardExpand all lines: locale/gitlab.pot
+12-12
Original file line number
Diff line number
Diff line change
@@ -36867,15 +36867,9 @@ msgstr ""
36867
36867
msgid "MissingSSHKeyWarningLink|You won't be able to pull or push repositories via SSH until you add an SSH key to your profile"
36868
36868
msgstr ""
36869
36869
36870
-
msgid "MlExperimentTracking|Are you sure you would like to delete this model?"
36871
-
msgstr ""
36872
-
36873
36870
msgid "MlExperimentTracking|Create an experiment using MLflow"
36874
36871
msgstr ""
36875
36872
36876
-
msgid "MlExperimentTracking|Created"
36877
-
msgstr ""
36878
-
36879
36873
msgid "MlExperimentTracking|Created at"
36880
36874
msgstr ""
36881
36875
@@ -36900,9 +36894,6 @@ msgstr ""
36900
36894
msgid "MlExperimentTracking|Deleting this experiment will also delete its runs and their associated metadata."
36901
36895
msgstr ""
36902
36896
36903
-
msgid "MlExperimentTracking|Deleting this model also deletes all its versions, including any imported or uploaded artifacts, and their associated settings."
36904
-
msgstr ""
36905
-
36906
36897
msgid "MlExperimentTracking|Deleting this run will delete the associated parameters, metrics, and metadata."
36907
36898
msgstr ""
36908
36899
@@ -36981,9 +36972,6 @@ msgstr ""
36981
36972
msgid "MlExperimentTracking|Value"
36982
36973
msgstr ""
36983
36974
36984
-
msgid "MlExperimentTracking|Version"
36985
-
msgstr ""
36986
-
36987
36975
msgid "MlExperimentTracking|by %{author}"
36988
36976
msgstr ""
36989
36977
@@ -37011,6 +36999,9 @@ msgstr ""
37011
36999
msgid "MlModelRegistry|Are you sure you want to delete this model version?"
37012
37000
msgstr ""
37013
37001
37002
+
msgid "MlModelRegistry|Are you sure you would like to delete this model?"
msgid "MlModelRegistry|Delete version %{versionName}"
37087
37081
msgstr ""
37088
37082
37083
+
msgid "MlModelRegistry|Deleting this model also deletes all its versions, including any imported or uploaded artifacts, and their associated settings."
37084
+
msgstr ""
37085
+
37089
37086
msgid "MlModelRegistry|Deleting this version also deletes all of its imported or uploaded artifacts and its settings."
37090
37087
msgstr ""
37091
37088
@@ -37224,6 +37221,9 @@ msgstr ""
37224
37221
msgid "MlModelRegistry|Must be unique. May not contain spaces."
0 commit comments