Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2025-07-18 03:07:22 +00:00
parent 950e7b01af
commit c998624b83
14 changed files with 105 additions and 41 deletions

View File

@ -310,7 +310,7 @@
{"name":"guard-compat","version":"1.2.1","platform":"ruby","checksum":"3ad21ab0070107f92edfd82610b5cdc2fb8e368851e72362ada9703443d646fe"},
{"name":"guard-rspec","version":"4.7.3","platform":"ruby","checksum":"a47ba03cbd1e3c71e6ae8645cea97e203098a248aede507461a43e906e2f75ca"},
{"name":"haml","version":"5.2.2","platform":"ruby","checksum":"6e759246556145642ef832d670fc06f9bd8539159a0e600847a00291dd7aae0c"},
{"name":"haml_lint","version":"0.62.0","platform":"ruby","checksum":"e5262eee682848b9bd89cd3d20eb0efdaf3126762ad93e6707c9858eb3abef61"},
{"name":"haml_lint","version":"0.64.0","platform":"ruby","checksum":"0b9738a9fff57bf7478c72b34d7f4b45d0721239270625939b7cda88c28273bf"},
{"name":"hamlit","version":"3.0.3","platform":"java","checksum":"a34ec87be4ec7525ffc50e8ae7b3b3140a3906eb10bae2ee26eba97f4d7e9089"},
{"name":"hamlit","version":"3.0.3","platform":"ruby","checksum":"5beafd7834a0f99fd3c041a7dfd3cfa3688159bddc905083c1866f2519f5ceea"},
{"name":"hana","version":"1.3.7","platform":"ruby","checksum":"5425db42d651fea08859811c29d20446f16af196308162894db208cac5ce9b0d"},

View File

@ -990,7 +990,7 @@ GEM
haml (5.2.2)
temple (>= 0.8.0)
tilt
haml_lint (0.62.0)
haml_lint (0.64.0)
haml (>= 5.0)
parallel (~> 1.10)
rainbow

View File

@ -310,7 +310,7 @@
{"name":"guard-compat","version":"1.2.1","platform":"ruby","checksum":"3ad21ab0070107f92edfd82610b5cdc2fb8e368851e72362ada9703443d646fe"},
{"name":"guard-rspec","version":"4.7.3","platform":"ruby","checksum":"a47ba03cbd1e3c71e6ae8645cea97e203098a248aede507461a43e906e2f75ca"},
{"name":"haml","version":"5.2.2","platform":"ruby","checksum":"6e759246556145642ef832d670fc06f9bd8539159a0e600847a00291dd7aae0c"},
{"name":"haml_lint","version":"0.62.0","platform":"ruby","checksum":"e5262eee682848b9bd89cd3d20eb0efdaf3126762ad93e6707c9858eb3abef61"},
{"name":"haml_lint","version":"0.64.0","platform":"ruby","checksum":"0b9738a9fff57bf7478c72b34d7f4b45d0721239270625939b7cda88c28273bf"},
{"name":"hamlit","version":"3.0.3","platform":"java","checksum":"a34ec87be4ec7525ffc50e8ae7b3b3140a3906eb10bae2ee26eba97f4d7e9089"},
{"name":"hamlit","version":"3.0.3","platform":"ruby","checksum":"5beafd7834a0f99fd3c041a7dfd3cfa3688159bddc905083c1866f2519f5ceea"},
{"name":"hana","version":"1.3.7","platform":"ruby","checksum":"5425db42d651fea08859811c29d20446f16af196308162894db208cac5ce9b0d"},

View File

@ -984,7 +984,7 @@ GEM
haml (5.2.2)
temple (>= 0.8.0)
tilt
haml_lint (0.62.0)
haml_lint (0.64.0)
haml (>= 5.0)
parallel (~> 1.10)
rainbow

View File

@ -78,7 +78,7 @@ class DiffNote < Note
end
creation_params = diff_file.diff.to_hash
.except(:too_large, :generated, :encoded_file_path)
.except(:too_large, :generated, :encoded_file_path, :binary)
.merge(diff: diff_file.diff_hunk(diff_line))
create_note_diff_file(creation_params)

View File

@ -19,7 +19,7 @@ GitLab Self-Managed instance. If you are an administrator, to access the **Admin
- In GitLab 17.3 and later: on the left sidebar, at the bottom, select **Admin**.
- In GitLab 16.7 and later: on the left sidebar, at the bottom, select **Admin area**.
- In GitLab 16.1 and later: on the left sidebar, select **Search or go to**, then select **Admin**.
- In GitLab 16.0 and earlier: on the top bar, select **Main menu > Admin**.
- In GitLab 16.0 and earlier: on the top bar, select **Main menu** > **Admin**.
If the GitLab instance uses Admin Mode, you must
[enable Admin Mode for your session](settings/sign_in_restrictions.md#turn-on-admin-mode-for-your-session) before
@ -37,7 +37,7 @@ On GitLab.com, the **Admin** area feature is not available.
To administer all projects in the GitLab instance from the **Admin** area's Projects page:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Projects**.
1. Select **Overview** > **Projects**.
1. Select the **All**, **Private**, **Internal**, or **Public** tab to list only
projects of that criteria.
1. Optional. Combine these filter and sort options to find your desired projects:
@ -70,7 +70,7 @@ To administer all projects in the GitLab instance from the **Admin** area's Proj
To edit a project's name or description from the **Admin** area's Projects page:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Projects**.
1. Select **Overview** > **Projects**.
1. Next to the project you want to edit, select **Edit**.
1. Edit the **Project name** or **Project description**.
1. Select **Save Changes**.
@ -80,7 +80,7 @@ To edit a project's name or description from the **Admin** area's Projects page:
To delete a project:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Projects**.
1. Select **Overview** > **Projects**.
1. Next to the project you want to edit, select **Delete**.
## Administering users
@ -103,7 +103,7 @@ The **Admin** area's Users page shows this information for each user:
To administer all users from the **Admin** area's Users page:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Users**.
1. Select **Overview** > **Users**.
1. Optional. To change the sort order, which defaults to user name:
1. Select the sort dropdown list.
@ -126,7 +126,7 @@ To edit a user, find the user's row and select **Edit**.
To delete the user, or delete the user and their contributions, from the **Admin** area's Users page:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Users**.
1. Select **Overview** > **Users**.
1. Find the user you want to delete. In the row, select **User administration**
({{< icon name="ellipsis_v">}}), then select the desired option.
@ -139,7 +139,7 @@ To impersonate a user:
- Through the UI:
1. On the left sidebar, at the bottom, select **Admin**.
1. On the left sidebar, select **Overview > Users**.
1. On the left sidebar, select **Overview** > **Users**.
1. From the list of users, select a user.
1. On the top right, select **Impersonate**.
1. To stop impersonating, on the left sidebar at the top, select **Stop impersonating** ({{< icon name="incognito">}}).
@ -170,7 +170,7 @@ SCIM-related issues and confirm the identities being used for an account.
To do this:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Users**.
1. Select **Overview** > **Users**.
1. From the list of users, select a user.
1. Select **Identities**.
@ -198,7 +198,7 @@ in groups and projects. It includes this data, and is limited to the first 100,0
To export user permissions for all active users in your GitLab instance:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Users**.
1. Select **Overview** > **Users**.
1. On the top right, select **Export permissions as CSV** ({{< icon name="export" >}}).
### Users statistics
@ -217,7 +217,7 @@ GitLab billing is based on the number of [billable users](../subscriptions/manag
To add email addresses to user accounts manually:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Users**.
1. Select **Overview** > **Users**.
1. Locate the user and select them.
1. Select **Edit**.
1. In **Email**, enter the new email address. This adds the new email address to the
@ -233,7 +233,7 @@ The [Cohorts](user_cohorts.md) tab displays the monthly cohorts of new users and
By default, users can create top-level groups. To prevent a user from creating a top-level group:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Users**.
1. Select **Overview** > **Users**.
1. Locate the user and select them.
1. Select **Edit**.
1. Clear the **Can create top-level group** checkbox.
@ -247,7 +247,7 @@ It is also possible to limit which roles can
To administer all groups in the GitLab instance:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Groups**. The page shows the group's:
1. Select **Overview** > **Groups**. The page shows the group's:
- Name.
- Description.
@ -285,14 +285,14 @@ Categorize and find similar projects with [topics](../user/project/project_topic
To view all topics in the GitLab instance:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Topics**.
1. Select **Overview** > **Topics**.
For each topic, the page displays its name and the number of projects labeled with the topic.
### Search for topics
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Topics**.
1. Select **Overview** > **Topics**.
1. In the search box, enter your search criteria.
The topic search is case-insensitive and applies partial matching.
@ -301,7 +301,7 @@ For each topic, the page displays its name and the number of projects labeled wi
To create a topic:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Topics**.
1. Select **Overview** > **Topics**.
1. Select **New topic**.
1. Enter the **Topic slug (name)** and **Topic title**.
1. Optional. Enter a **Description** and add a **Topic avatar**.
@ -319,7 +319,7 @@ You can edit a topic's name, title, description, and avatar at any time.
To edit a topic:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Topics**.
1. Select **Overview** > **Topics**.
1. Select **Edit** in that topic's row.
1. Edit the topic slug (name), title, description, or avatar.
1. Select **Save changes**.
@ -330,7 +330,7 @@ If you no longer need a topic, you can permanently remove it.
To remove a topic:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Topics**.
1. Select **Overview** > **Topics**.
1. To remove a topic, select **Remove** in that topic's row.
### Merge topics
@ -342,7 +342,7 @@ After a merged topic is deleted, you cannot restore it.
To merge topics:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Topics**.
1. Select **Overview** > **Topics**.
1. Select **Merge topics**.
1. From the **Source topic** dropdown list, select the topic you want to merge and remove.
1. From the **Target topic** dropdown list, select the topic you want to merge the source topic into.
@ -356,7 +356,7 @@ page. For more details, see [Gitaly](gitaly/_index.md).
To access the **Gitaly servers** page:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Gitaly servers**.
1. Select **Overview** > **Gitaly servers**.
The page includes this information about each Gitaly server:
@ -396,7 +396,7 @@ they were last updated. Each project shows:
To administer all organizations in the GitLab instance from this page:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Organizations**.
1. Select **Overview** > **Organizations**.
## CI/CD section
@ -404,14 +404,14 @@ To administer all organizations in the GitLab instance from this page:
{{< history >}}
- [Moved](https://gitlab.com/gitlab-org/gitlab/-/issues/340859) from **Overview > Runners** to **CI/CD > Runners** in GitLab 15.8.
- [Moved](https://gitlab.com/gitlab-org/gitlab/-/issues/340859) from **Overview** > **Runners** to **CI/CD** > **Runners** in GitLab 15.8.
{{< /history >}}
To administer all runners in the GitLab instance:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **CI/CD > Runners**.
1. Select **CI/CD** > **Runners**.
This information is shown for each runner:
@ -456,7 +456,7 @@ To filter runners by status, type, and tag:
To delete multiple runners at the same time:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **Overview > Runners**.
1. Select **Overview** > **Runners**.
1. To the left of the runner you want to delete, select the checkbox.
To select all runners on the page, select the checkbox above
the list.
@ -466,14 +466,14 @@ To delete multiple runners at the same time:
{{< history >}}
- [Moved](https://gitlab.com/gitlab-org/gitlab/-/issues/386311) from **Overview > Jobs** to **CI/CD > Jobs** in GitLab 15.8.
- [Moved](https://gitlab.com/gitlab-org/gitlab/-/issues/386311) from **Overview** > **Jobs** to **CI/CD** > **Jobs** in GitLab 15.8.
{{< /history >}}
To administer all jobs in the GitLab instance:
1. On the left sidebar, at the bottom, select **Admin**.
1. Select **CI/CD > Jobs**. All jobs are listed, in descending order of job ID.
1. Select **CI/CD** > **Jobs**. All jobs are listed, in descending order of job ID.
1. Select the **All** tab to list all jobs. Select the **Pending**, **Running**, or **Finished**
tab to list only jobs of that status.

View File

@ -756,6 +756,7 @@ To update the `default` plan of one of these limits on a GitLab Self-Managed ins
{{< history >}}
- `ci_max_artifact_size_annotations` limit [introduced](https://gitlab.com/gitlab-org/gitlab/-/issues/38337) in GitLab 16.3.
- `ci_max_artifact_size_jacoco` limit [introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/159696) in GitLab 17.3
- `ci_max_artifact_size_lsif` limit [increased](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/175684) in GitLab 17.8.
{{< /history >}}
@ -787,6 +788,7 @@ setting is used:
| `ci_max_artifact_size_dast` | 0 |
| `ci_max_artifact_size_dependency_scanning` | 0 |
| `ci_max_artifact_size_dotenv` | 0 |
| `ci_max_artifact_size_jacoco` | 0 |
| `ci_max_artifact_size_junit` | 0 |
| `ci_max_artifact_size_license_management` | 0 |
| `ci_max_artifact_size_license_scanning` | 0 |

View File

@ -151,6 +151,21 @@ four standard [pagination arguments](#pagination-arguments):
| <a id="queryadminmemberrolesorderby"></a>`orderBy` | [`MemberRolesOrderBy`](#memberrolesorderby) | Ordering column. Default is NAME. |
| <a id="queryadminmemberrolessort"></a>`sort` | [`SortDirectionEnum`](#sortdirectionenum) | Ordering column. Default is ASC. |
### `Query.aiCatalogBuiltInTools`
{{< details >}}
**Introduced** in GitLab 18.3.
**Status**: Experiment.
{{< /details >}}
List of AI Catalog built-in tools.
Returns [`AiCatalogBuiltInToolConnection!`](#aicatalogbuiltintoolconnection).
This field returns a [connection](#connections). It accepts the
four standard [pagination arguments](#pagination-arguments):
`before: String`, `after: String`, `first: Int`, and `last: Int`.
### `Query.aiCatalogItem`
{{< details >}}
@ -14063,6 +14078,29 @@ The edge type for [`AiAgent`](#aiagent).
| <a id="aiagentedgecursor"></a>`cursor` | [`String!`](#string) | A cursor for use in pagination. |
| <a id="aiagentedgenode"></a>`node` | [`AiAgent`](#aiagent) | The item at the end of the edge. |
#### `AiCatalogBuiltInToolConnection`
The connection type for [`AiCatalogBuiltInTool`](#aicatalogbuiltintool).
##### Fields
| Name | Type | Description |
| ---- | ---- | ----------- |
| <a id="aicatalogbuiltintoolconnectionedges"></a>`edges` | [`[AiCatalogBuiltInToolEdge]`](#aicatalogbuiltintooledge) | A list of edges. |
| <a id="aicatalogbuiltintoolconnectionnodes"></a>`nodes` | [`[AiCatalogBuiltInTool]`](#aicatalogbuiltintool) | A list of nodes. |
| <a id="aicatalogbuiltintoolconnectionpageinfo"></a>`pageInfo` | [`PageInfo!`](#pageinfo) | Information to aid in pagination. |
#### `AiCatalogBuiltInToolEdge`
The edge type for [`AiCatalogBuiltInTool`](#aicatalogbuiltintool).
##### Fields
| Name | Type | Description |
| ---- | ---- | ----------- |
| <a id="aicatalogbuiltintooledgecursor"></a>`cursor` | [`String!`](#string) | A cursor for use in pagination. |
| <a id="aicatalogbuiltintooledgenode"></a>`node` | [`AiCatalogBuiltInTool`](#aicatalogbuiltintool) | The item at the end of the edge. |
#### `AiCatalogItemConnection`
The connection type for [`AiCatalogItem`](#aicatalogitem).
@ -22170,6 +22208,19 @@ An AI catalog agent version.
| <a id="aicatalogagentversionuserprompt"></a>`userPrompt` | [`String`](#string) | User prompt for the agent. |
| <a id="aicatalogagentversionversionname"></a>`versionName` | [`String`](#string) | Version name of the item version. |
### `AiCatalogBuiltInTool`
An AI catalog built-in tool.
#### Fields
| Name | Type | Description |
| ---- | ---- | ----------- |
| <a id="aicatalogbuiltintooldescription"></a>`description` | [`String!`](#string) | Description of the built-in tool. |
| <a id="aicatalogbuiltintoolid"></a>`id` | [`AiCatalogBuiltInToolID!`](#aicatalogbuiltintoolid) | Global ID of the built-in tool. |
| <a id="aicatalogbuiltintoolname"></a>`name` | [`String!`](#string) | Name of the built-in tool. |
| <a id="aicatalogbuiltintooltitle"></a>`title` | [`String!`](#string) | Title of the built-in tool. |
### `AiCatalogFlow`
An AI catalog flow.
@ -27776,6 +27827,7 @@ GitLab Duo Agent Platform session.
| <a id="duoworkflowhumanstatus"></a>`humanStatus` | [`String!`](#string) | Human-readable status of the session. |
| <a id="duoworkflowid"></a>`id` | [`ID!`](#id) | ID of the session. |
| <a id="duoworkflowlastexecutorlogsurl"></a>`lastExecutorLogsUrl` | [`String`](#string) | URL to the latest executor logs of the workflow. |
| <a id="duoworkflowlatestcheckpoint"></a>`latestCheckpoint` | [`DuoWorkflowEvent`](#duoworkflowevent) | Latest checkpoint of the session. |
| <a id="duoworkflowmcpenabled"></a>`mcpEnabled` | [`Boolean`](#boolean) | Has MCP been enabled for the namespace. |
| <a id="duoworkflownamespace"></a>`namespace` | [`Namespace`](#namespace) | namespace that the session is in. |
| <a id="duoworkflownamespaceid"></a>`namespaceId` | [`TypesNamespaceID`](#typesnamespaceid) | ID of the namespace. |
@ -48938,6 +48990,12 @@ A `AiAgentVersionID` is a global ID. It is encoded as a string.
An example `AiAgentVersionID` is: `"gid://gitlab/Ai::AgentVersion/1"`.
### `AiCatalogBuiltInToolID`
A `AiCatalogBuiltInToolID` is a global ID. It is encoded as a string.
An example `AiCatalogBuiltInToolID` is: `"gid://gitlab/Ai::Catalog::BuiltInTool/1"`.
### `AiCatalogItemID`
A `AiCatalogItemID` is a global ID. It is encoded as a string.

View File

@ -19,8 +19,7 @@ If you want to install on RHEL/CentOS, you should use the [Linux packages](https
For many other installation options, see the [main installation page](_index.md).
This guide is long because it covers many cases and includes all commands you
need, this is [one of the few installation scripts that actually work out of the box](https://twitter.com/robinvdvleuten/status/424163226532986880).
The following steps have been known to work. **Use caution when you deviate**
need. The following steps have been known to work. **Use caution when you deviate**
from this guide. Make sure you don't violate any assumptions GitLab makes about
its environment. For example, many people run into permission problems because
they changed the location of directories or run services as the wrong user.

View File

@ -3,7 +3,10 @@
module Gitlab
module GitalyClient
class Diff
ATTRS = %i[from_path to_path old_mode new_mode from_id to_id patch overflow_marker collapsed too_large].freeze
# Attributes exposed from Gitaly's CommitDiffResponse
ATTRS = %i[
from_path to_path old_mode new_mode from_id to_id patch overflow_marker collapsed too_large binary
].freeze
include AttributesBag
end

View File

@ -68,7 +68,7 @@
"@gitlab/ui": "115.6.0",
"@gitlab/vue-router-vue3": "npm:vue-router@4.5.1",
"@gitlab/vuex-vue3": "npm:vuex@4.1.0",
"@gitlab/web-ide": "^0.0.1-dev-20250704091020",
"@gitlab/web-ide": "^0.0.1-dev-20250716135712",
"@gleam-lang/highlight.js-gleam": "^1.5.0",
"@mattiasbuelens/web-streams-adapter": "^0.1.0",
"@rails/actioncable": "7.1.501",

View File

@ -6,7 +6,7 @@ module QA
module Project
module WebIDE
class VSCode < Page::Base
COMMIT_SUCCESS_MESSAGE = 'Success! Your changes have been committed and pushed to the remote repository.'
COMMIT_SUCCESS_MESSAGE = 'Your changes have been committed successfully.'
view 'app/views/shared/_broadcast_message.html.haml' do
element 'broadcast-notification-container'
@ -252,7 +252,7 @@ module QA
def create_merge_request
within_vscode_editor do
within_element('.notification-toast-container') do
within_element('.notification-toast-container:last-of-type') do
click_monaco_button('Create MR')
end
end

View File

@ -13,7 +13,8 @@ RSpec.describe Gitlab::GitalyClient::Diff do
to_id: '8e5177d718c561d36efde08bad36b43687ee6bf0',
patch: 'a' * 100,
collapsed: false,
too_large: false
too_large: false,
binary: false
}
end
@ -28,6 +29,7 @@ RSpec.describe Gitlab::GitalyClient::Diff do
it { is_expected.to respond_to(:patch) }
it { is_expected.to respond_to(:collapsed) }
it { is_expected.to respond_to(:too_large) }
it { is_expected.to respond_to(:binary) }
describe '#==' do
it { expect(subject).to eq(described_class.new(diff_fields)) }

View File

@ -1478,10 +1478,10 @@
dependencies:
"@vue/devtools-api" "^6.0.0-beta.11"
"@gitlab/web-ide@^0.0.1-dev-20250704091020":
version "0.0.1-dev-20250704091020"
resolved "https://registry.yarnpkg.com/@gitlab/web-ide/-/web-ide-0.0.1-dev-20250704091020.tgz#d13600c9dbc69185bf43f92fbdce6f296e6442e2"
integrity sha512-C/QlurCT14xLVjQMdUcOu4nxM+e7CxRX3VbScYbeVJIBJHOj4BQYy0HwIJEBvf0yxpv+ga4QH/e+YuIn3ZzHJA==
"@gitlab/web-ide@^0.0.1-dev-20250716135712":
version "0.0.1-dev-20250716135712"
resolved "https://registry.yarnpkg.com/@gitlab/web-ide/-/web-ide-0.0.1-dev-20250716135712.tgz#a72638d0b5b32f7134a75180e64a63238304df06"
integrity sha512-wVOWnFRnDUyUfNTUXAgcK/0DzGllXnRo6M2MBvZFOAZGZooJ7kDchTWvQpdS2Yx4l+CBXC9g9qekZBEd5Y2yWQ==
"@gleam-lang/highlight.js-gleam@^1.5.0":
version "1.5.0"