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
{{ message }}
Repository navigation
Commit fa0f952
Browse filesBrowse the repository at this point in the historyBrowse files
app/: create_organization, invite_member, create_project_token and delete_project_token on #70's functions (create_org, invite_to, make_project_token, remove_project_token), with today's role checks and messages; the personal-token test's settings goldens gain comment_when_unchanged
Copy file name to clipboardExpand all lines: app/tests/golden/mcp/a_personal_token_manages_organizations_projects_and_tokens/update_project-8.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@
12
12
"result": {
13
13
"content": [
14
14
{
15
-
"text": "failed to deserialize parameters: missing field `snapshots`\n\nupdate_project takes:\n- ci_mode (string): `review` (CI passes, the check waits for review), `strict` (CI fails on unreviewed changes) or `wait`.\n- default_branch (string): The branch whose builds become the baseline automatically.\n- dismiss_notice (boolean): `true` dismisses the project's notice.\n- dpi (integer): Render resolution for documents, 36 to 600.\n- forge_token (string): A project on your organization's own GitLab instance: an access token for it (a project or group access token with the `api` scope and the Developer role, or Maintainer to let VisualCI add its webhook), sent with `repository_url`. Stored encrypted; never shown again.\n- gallery_enabled (boolean): `false` takes the public gallery down (visualci.yml's `gallery` decides what's in it); `true` puts it back.\n- ignore_anti_aliasing (boolean): Ignore anti-aliasing differences in images.\n- ignore_rules (array): Values in text snapshots that change on every run, ignored when comparing. Replaces the project's rules. Each rule names the snapshots it applies to with a glob (`api/invoices/**`; `**` for every snapshot). A build's `visualci.yml` replaces these rules when it has `ignore`.\n- move_link (boolean): With `repository_url`: a repository belongs to one organization, so when another organization has it linked, `true` moves the link here (you must maintain the repository; that organization's admins get an email).\n- name (string): The project's display name.\n- project (string): `org/project`. Optional with a project token.\n- public (boolean): `true` lets anyone, signed in or not, read the project's builds and diffs (for open source projects); settings, tokens and reviewing stay with its members. Only a project linked to a public repository can be public. `false` makes it private again.\n- renderer (string): The PDF renderer: `pdfbox` or `mutool`.\n- repository_url (string): The repository this project tests, by URL (`https://github.com/acme/web`); an empty string unlinks it. Linking needs the forge's VisualCI app installed on the repository and you to be an admin or maintainer of it there. Its pull requests then get VisualCI's check, and people's access to this organization follows their permission on it.\n- slug (string): A new slug, renaming the project (`acme/old` → `acme/new`): lowercase letters, digits and dashes. Its builds, baselines and tokens stay. The old address and `acme/old` stop working.\n- threshold (number): The diff threshold, 0 to 1: 0 compares exactly; above 0 it's pixelmatch's colour threshold (how different a pixel's colour must be to count), and anti-aliased pixels are ignored.\n- tokens_can_approve (boolean): `false`: project tokens can't approve changes (people do); `true` lets CI's agents approve again.\nExample: {}",
15
+
"text": "failed to deserialize parameters: missing field `snapshots`\n\nupdate_project takes:\n- ci_mode (string): `review` (CI passes, the check waits for review), `strict` (CI fails on unreviewed changes) or `wait`.\n- comment_when_unchanged (boolean): `true`: comment on pull requests even when nothing changed. `false` (the default): a pull request whose builds are all unchanged gets no comment, only the passing check; a comment already there keeps being updated.\n- default_branch (string): The branch whose builds become the baseline automatically.\n- dismiss_notice (boolean): `true` dismisses the project's notice.\n- dpi (integer): Render resolution for documents, 36 to 600.\n- forge_token (string): A project on your organization's own GitLab instance: an access token for it (a project or group access token with the `api` scope and the Developer role, or Maintainer to let VisualCI add its webhook), sent with `repository_url`. Stored encrypted; never shown again.\n- gallery_enabled (boolean): `false` takes the public gallery down (visualci.yml's `gallery` decides what's in it); `true` puts it back.\n- ignore_anti_aliasing (boolean): Ignore anti-aliasing differences in images.\n- ignore_rules (array): Values in text snapshots that change on every run, ignored when comparing. Replaces the project's rules. Each rule names the snapshots it applies to with a glob (`api/invoices/**`; `**` for every snapshot). A build's `visualci.yml` replaces these rules when it has `ignore`.\n- move_link (boolean): With `repository_url`: a repository belongs to one organization, so when another organization has it linked, `true` moves the link here (you must maintain the repository; that organization's admins get an email).\n- name (string): The project's display name.\n- project (string): `org/project`. Optional with a project token.\n- public (boolean): `true` lets anyone, signed in or not, read the project's builds and diffs (for open source projects); settings, tokens and reviewing stay with its members. Only a project linked to a public repository can be public. `false` makes it private again.\n- renderer (string): The PDF renderer: `pdfbox` or `mutool`.\n- repository_url (string): The repository this project tests, by URL (`https://github.com/acme/web`); an empty string unlinks it. Linking needs the forge's VisualCI app installed on the repository and you to be an admin or maintainer of it there. Its pull requests then get VisualCI's check, and people's access to this organization follows their permission on it.\n- slug (string): A new slug, renaming the project (`acme/old` → `acme/new`): lowercase letters, digits and dashes. Its builds, baselines and tokens stay. The old address and `acme/old` stop working.\n- threshold (number): The diff threshold, 0 to 1: 0 compares exactly; above 0 it's pixelmatch's colour threshold (how different a pixel's colour must be to count), and anti-aliased pixels are ignored.\n- tokens_can_approve (boolean): `false`: project tokens can't approve changes (people do); `true` lets CI's agents approve again.\nExample: {}",
0 commit comments