Skip to content
Source
Sign inSign up
pingdotgg/t3code

fix(server): PR detail falls back when check runs are unreadable #22987

Openjuliusmarmingewants to merge 13 commits intomain fromrefs/pull/22987/headopened View on GitHub

Showing 6 changed files with 115 additions and 0 deletions (loading 5).

x
0 of 6 viewed, 6 left
115 additions and 0 deletionspackages/source-control-github/src/server/GitHubPullRequestApi.test.tsModified
View file
@@ -3584,6 +3584,7 @@
commit: {
statusCheckRollup: {
+ state: "SUCCESS",
contexts: {
nodes: [
checkRun({
@@ -3737,6 +3738,7 @@
commit: {
statusCheckRollup: {
+ state: "SUCCESS",
contexts: {
nodes: [checkRun({ name: "first", conclusion: "SUCCESS" })],
pageInfo: { hasNextPage: true, endCursor: "c1" },
@@ -3797,6 +3799,7 @@
commit: {
statusCheckRollup: {
+ state: "SUCCESS",
contexts: {
nodes: [],
pageInfo: { hasNextPage: true, endCursor: "c1" },
@@ -3824,6 +3827,118 @@