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
Tolerate a Per-Field workflowRun Error in pr_review.py's Check Query #2338
scripts/pr_review.py's Q_FULL reads checkSuite{ workflowRun{ workflow{ databaseId } } } to key superseded check runs by workflow (#2327). A token without Actions read access, such as a fine-grained token or a restricted GITHUB_TOKEN on a private repository, may get a per-field GraphQL error on workflowRun. gh_graphql exits on any errors entry, and gh api graphql itself exits non-zero when the response carries errors, so the whole digest would fail rather than fall back to the app slug.
This was not reproduced. An OAuth token with the repo scope reads the field without error.
Done When
Either a constructed reproduction shows the field never errors for the tokens the fleet uses, or gh_graphql tolerates an error whose path ends in workflowRun by treating that field as null, so the dedupe falls back to the app slug. Every other error still aborts the digest.
Activity
Tolerate a Per-Field workflowRun Error in the Check Query (#2355)