From 5693d0890b7accb655f51e1022ced8cf15632f50 Mon Sep 17 00:00:00 2001 From: Laura Coursen Date: Tue, 25 Aug 2026 16:04:44 +0000 Subject: [PATCH 1/3] Update stale ADO phase-URL links to descriptive slugs (#62010) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> From 4f953768a70918092b4edd175da7c2e478c5fbbc Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Tue, 25 Aug 2026 16:43:22 +0000 Subject: [PATCH 2/3] GraphQL schema update (#62915) Co-authored-by: github-merge-queue <118344674+github-merge-queue@users.noreply.github.com> --- src/graphql/data/fpt/category-map.json | 1 + src/graphql/data/fpt/changelog.json | 17 +++++++++++++ src/graphql/data/fpt/schema-issues.json | 3 +-- src/graphql/data/fpt/schema-pulls.json | 29 +++++++++++++++++++++++ src/graphql/data/fpt/schema.docs.graphql | 27 ++++++++++++++++++++- src/graphql/data/ghec/category-map.json | 1 + src/graphql/data/ghec/schema-issues.json | 3 +-- src/graphql/data/ghec/schema-pulls.json | 29 +++++++++++++++++++++++ src/graphql/data/ghec/schema.docs.graphql | 27 ++++++++++++++++++++- 9 files changed, 131 insertions(+), 6 deletions(-) diff --git a/src/graphql/data/fpt/category-map.json b/src/graphql/data/fpt/category-map.json index 372140eb1444..179e7de6f2d6 100644 --- a/src/graphql/data/fpt/category-map.json +++ b/src/graphql/data/fpt/category-map.json @@ -1307,6 +1307,7 @@ "pullrequestreviewdecision": "pulls", "pullrequestreviewevent": "pulls", "pullrequestreviewstate": "pulls", + "pullrequestreviewthreadresolutionreason": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", "pullrequesttimelineitemsitemtype": "pulls", diff --git a/src/graphql/data/fpt/changelog.json b/src/graphql/data/fpt/changelog.json index 0db5ef1f20af..80d69e3e0355 100644 --- a/src/graphql/data/fpt/changelog.json +++ b/src/graphql/data/fpt/changelog.json @@ -1,4 +1,21 @@ [ + { + "schemaChanges": [ + { + "title": "The GraphQL schema includes these changes:", + "changes": [ + "

Type PullRequestReviewThreadResolutionReason was added

", + "

Enum value ADDRESSED was added to enum PullRequestReviewThreadResolutionReason

", + "

Enum value INVALID was added to enum PullRequestReviewThreadResolutionReason

", + "

Enum value 'WONT_FIXwas added to enumPullRequestReviewThreadResolutionReason'

", + "

Input field resolutionReason of type PullRequestReviewThreadResolutionReason was added to input object type ResolveReviewThreadInput

" + ] + } + ], + "previewChanges": [], + "upcomingChanges": [], + "date": "2026-08-25" + }, { "schemaChanges": [ { diff --git a/src/graphql/data/fpt/schema-issues.json b/src/graphql/data/fpt/schema-issues.json index e92ffa775e25..04500b4b6219 100644 --- a/src/graphql/data/fpt/schema-issues.json +++ b/src/graphql/data/fpt/schema-issues.json @@ -11566,8 +11566,7 @@ "description": "

The ID of the organization where the issue field will be created.

", "type": "ID!", "id": "id", - "href": "/graphql/reference/other#scalar-id", - "isDeprecated": false + "href": "/graphql/reference/other#scalar-id" }, { "name": "visibility", diff --git a/src/graphql/data/fpt/schema-pulls.json b/src/graphql/data/fpt/schema-pulls.json index 64fffeec3665..8b3ad4381810 100644 --- a/src/graphql/data/fpt/schema-pulls.json +++ b/src/graphql/data/fpt/schema-pulls.json @@ -8319,6 +8319,28 @@ ], "category": "pulls" }, + { + "name": "PullRequestReviewThreadResolutionReason", + "id": "pullrequestreviewthreadresolutionreason", + "href": "/graphql/reference/pulls#enum-pullrequestreviewthreadresolutionreason", + "description": "

The possible reasons a pull request review thread was resolved.

", + "isDeprecated": false, + "values": [ + { + "name": "ADDRESSED", + "description": "

The review comment was addressed.

" + }, + { + "name": "INVALID", + "description": "

The review comment is invalid.

" + }, + { + "name": "WONT_FIX", + "description": "

The review comment will not be addressed.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestReviewThreadSubjectType", "id": "pullrequestreviewthreadsubjecttype", @@ -10570,6 +10592,13 @@ "id": "string", "href": "/graphql/reference/other#scalar-string" }, + { + "name": "resolutionReason", + "description": "

The reason a Copilot code review thread was resolved.

", + "type": "PullRequestReviewThreadResolutionReason", + "id": "pullrequestreviewthreadresolutionreason", + "href": "/graphql/reference/pulls#enum-pullrequestreviewthreadresolutionreason" + }, { "name": "threadId", "description": "

The ID of the thread to resolve.

", diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index 023dc8bf1a84..9dede9a4ec6d 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -8453,7 +8453,7 @@ input CreateIssueFieldInput { """ The ID of the organization where the issue field will be created. """ - ownerId: ID! @possibleTypes(concreteTypes: ["Organization"]) + ownerId: ID! """ The visibility of the issue field. @@ -46858,6 +46858,26 @@ type PullRequestReviewThreadEdge { node: PullRequestReviewThread } +""" +The possible reasons a pull request review thread was resolved. +""" +enum PullRequestReviewThreadResolutionReason @docsCategory(name: "pulls") { + """ + The review comment was addressed. + """ + ADDRESSED + + """ + The review comment is invalid. + """ + INVALID + + """ + The review comment will not be addressed. + """ + WONT_FIX +} + """ The possible subject types of a pull request review comment. """ @@ -59316,6 +59336,11 @@ input ResolveReviewThreadInput { """ clientMutationId: String + """ + The reason a Copilot code review thread was resolved. + """ + resolutionReason: PullRequestReviewThreadResolutionReason + """ The ID of the thread to resolve """ diff --git a/src/graphql/data/ghec/category-map.json b/src/graphql/data/ghec/category-map.json index 372140eb1444..179e7de6f2d6 100644 --- a/src/graphql/data/ghec/category-map.json +++ b/src/graphql/data/ghec/category-map.json @@ -1307,6 +1307,7 @@ "pullrequestreviewdecision": "pulls", "pullrequestreviewevent": "pulls", "pullrequestreviewstate": "pulls", + "pullrequestreviewthreadresolutionreason": "pulls", "pullrequestreviewthreadsubjecttype": "pulls", "pullrequeststate": "pulls", "pullrequesttimelineitemsitemtype": "pulls", diff --git a/src/graphql/data/ghec/schema-issues.json b/src/graphql/data/ghec/schema-issues.json index e92ffa775e25..04500b4b6219 100644 --- a/src/graphql/data/ghec/schema-issues.json +++ b/src/graphql/data/ghec/schema-issues.json @@ -11566,8 +11566,7 @@ "description": "

The ID of the organization where the issue field will be created.

", "type": "ID!", "id": "id", - "href": "/graphql/reference/other#scalar-id", - "isDeprecated": false + "href": "/graphql/reference/other#scalar-id" }, { "name": "visibility", diff --git a/src/graphql/data/ghec/schema-pulls.json b/src/graphql/data/ghec/schema-pulls.json index 64fffeec3665..8b3ad4381810 100644 --- a/src/graphql/data/ghec/schema-pulls.json +++ b/src/graphql/data/ghec/schema-pulls.json @@ -8319,6 +8319,28 @@ ], "category": "pulls" }, + { + "name": "PullRequestReviewThreadResolutionReason", + "id": "pullrequestreviewthreadresolutionreason", + "href": "/graphql/reference/pulls#enum-pullrequestreviewthreadresolutionreason", + "description": "

The possible reasons a pull request review thread was resolved.

", + "isDeprecated": false, + "values": [ + { + "name": "ADDRESSED", + "description": "

The review comment was addressed.

" + }, + { + "name": "INVALID", + "description": "

The review comment is invalid.

" + }, + { + "name": "WONT_FIX", + "description": "

The review comment will not be addressed.

" + } + ], + "category": "pulls" + }, { "name": "PullRequestReviewThreadSubjectType", "id": "pullrequestreviewthreadsubjecttype", @@ -10570,6 +10592,13 @@ "id": "string", "href": "/graphql/reference/other#scalar-string" }, + { + "name": "resolutionReason", + "description": "

The reason a Copilot code review thread was resolved.

", + "type": "PullRequestReviewThreadResolutionReason", + "id": "pullrequestreviewthreadresolutionreason", + "href": "/graphql/reference/pulls#enum-pullrequestreviewthreadresolutionreason" + }, { "name": "threadId", "description": "

The ID of the thread to resolve.

", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index 023dc8bf1a84..9dede9a4ec6d 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -8453,7 +8453,7 @@ input CreateIssueFieldInput { """ The ID of the organization where the issue field will be created. """ - ownerId: ID! @possibleTypes(concreteTypes: ["Organization"]) + ownerId: ID! """ The visibility of the issue field. @@ -46858,6 +46858,26 @@ type PullRequestReviewThreadEdge { node: PullRequestReviewThread } +""" +The possible reasons a pull request review thread was resolved. +""" +enum PullRequestReviewThreadResolutionReason @docsCategory(name: "pulls") { + """ + The review comment was addressed. + """ + ADDRESSED + + """ + The review comment is invalid. + """ + INVALID + + """ + The review comment will not be addressed. + """ + WONT_FIX +} + """ The possible subject types of a pull request review comment. """ @@ -59316,6 +59336,11 @@ input ResolveReviewThreadInput { """ clientMutationId: String + """ + The reason a Copilot code review thread was resolved. + """ + resolutionReason: PullRequestReviewThreadResolutionReason + """ The ID of the thread to resolve """ From d57cbf72f881e4ab54b93a53be0595c65b550b94 Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Tue, 25 Aug 2026 17:07:40 +0000 Subject: [PATCH 3/3] Fix zh-cn endrowheaders translation corruption (#62917) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- src/languages/lib/correct-translation-content.ts | 6 ++++++ src/languages/tests/correct-translation-content.ts | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/src/languages/lib/correct-translation-content.ts b/src/languages/lib/correct-translation-content.ts index 9a38a94decee..fb20c56a2328 100644 --- a/src/languages/lib/correct-translation-content.ts +++ b/src/languages/lib/correct-translation-content.ts @@ -891,6 +891,12 @@ export function correctTranslatedContentStrings( // `{% 行标题结束 %}` — order swap (rowheaders + end) content = content.replaceAll('{% 行标题结束 %}', '{% endrowheaders %}') content = content.replaceAll('{%- 行标题结束 %}', '{%- endrowheaders %}') + // `{% 结束表头列 %}` — "end table header column" = endrowheaders. Found in + // codeql-query-tables reusables (python/rust/java/go/ruby/javascript), where + // the opener `{% rowheaders %}` was correctly left in English but the closer + // was translated, leaving the tag unclosed and breaking table rendering. + content = content.replaceAll('{% 结束表头列 %}', '{% endrowheaders %}') + content = content.replaceAll('{%- 结束表头列 %}', '{%- endrowheaders %}') // Capitalized `{% Variables.X %}` / `{% Reusables.X %}` — translator title-cased content = content.replaceAll('{% data Variables.', '{% data variables.') content = content.replaceAll('{% data Reusables.', '{% data reusables.') diff --git a/src/languages/tests/correct-translation-content.ts b/src/languages/tests/correct-translation-content.ts index 16f73128ac31..27d8bd63e494 100644 --- a/src/languages/tests/correct-translation-content.ts +++ b/src/languages/tests/correct-translation-content.ts @@ -624,6 +624,12 @@ describe('correctTranslatedContentStrings', () => { expect(fix('{%- 行标题 %}', 'zh')).toBe('{%- rowheaders %}') }) + test('fixes 结束表头列 → endrowheaders', () => { + expect(fix('{% 结束表头列 %}', 'zh')).toBe('{% endrowheaders %}') + expect(fix('{%- 结束表头列 %}', 'zh')).toBe('{%- endrowheaders %}') + expect(fix('{% endrowheaders %}', 'zh')).toBe('{% endrowheaders %}') + }) + test('fixes 数据变量 → data variables', () => { expect(fix('{% 数据变量.product.github %}', 'zh')).toBe('{% data variables.product.github %}') })