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
EN:
After GraphQL reports a successful Ready or Draft mutation, the guard re-reads the REST draft field before recording the transition as applied.
HTTP 200 with a matching GraphQL isDraft is not enough if REST still shows the old value.
This is confirmation only; token permissions stay on the consumer workflow.
DE:
Nachdem GraphQL eine erfolgreiche Ready- oder Draft-Mutation gemeldet hat, liest der Guard das REST-Feld draft erneut, bevor er den Wechsel als applied verbucht.
HTTP 200 mit passendem GraphQL-isDraft reicht nicht, wenn REST noch den alten Wert zeigt.
Das ist nur die Bestätigung; Token-Rechte bleiben im Adopter-Workflow.
Details
_transition still performs the GraphQL mutation and its existing checks. reconcile_lifecycle then GET /repos/{owner}/{repo}/pulls/{n}. If draft is missing, non-boolean, or not the intended state, the scan fails closed and does not write the applied lifecycle comment.
Tests cover GraphQL Ready success that does not update REST draft, and a non-boolean REST draft after GraphQL success.
Do not confuse this with the separate contents: write requirement for GITHUB_TOKEN / markPullRequestReadyForReview. That permission lives on the adopting workflow.
EN:
Ready after 1 review pass.
After a GraphQL Ready or Draft mutation reports success, the guard re-reads REST draft before recording the transition as applied.
DE:
Bereit nach 1 Review-Durchlauf.
Nach einer erfolgreichen GraphQL-Ready- oder Draft-Mutation liest der Guard REST-draft erneut, bevor er den Wechsel als applied verbucht.
Details
Head a53e6fcc663719f99a6bc4e8cbc81e0631ef222d. Mergeable. Pytest SUCCESS on this head (GitHub Actions run 34591080806; build-host 1764 passed, 3 skipped).
Comment gate: no review threads, no inline review comments, no human review requests. The only issue comment is this wrap-up.
Codex quality reported two items that are not counted: REST after the Ready head/base restore already fail-closes via GraphQL and never writes applied; extra Draft/missing-draft tests are not required because the REST predicate is shared and covered by the Ready stale and non-boolean cases.
No required status checks on develop (branch protection 404, ruleset list empty). The expected pull_request workflow test / job pytest ran and passed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EN:
After GraphQL reports a successful Ready or Draft mutation, the guard re-reads the REST
draftfield before recording the transition as applied.HTTP 200 with a matching GraphQL
isDraftis not enough if REST still shows the old value.This is confirmation only; token permissions stay on the consumer workflow.
DE:
Nachdem GraphQL eine erfolgreiche Ready- oder Draft-Mutation gemeldet hat, liest der Guard das REST-Feld
drafterneut, bevor er den Wechsel als applied verbucht.HTTP 200 mit passendem GraphQL-
isDraftreicht nicht, wenn REST noch den alten Wert zeigt.Das ist nur die Bestätigung; Token-Rechte bleiben im Adopter-Workflow.
Details
_transitionstill performs the GraphQL mutation and its existing checks.reconcile_lifecyclethen GET/repos/{owner}/{repo}/pulls/{n}. Ifdraftis missing, non-boolean, or not the intended state, the scan fails closed and does not write the applied lifecycle comment.Tests cover GraphQL Ready success that does not update REST
draft, and a non-boolean RESTdraftafter GraphQL success.Do not confuse this with the separate
contents: writerequirement forGITHUB_TOKEN/markPullRequestReadyForReview. That permission lives on the adopting workflow.