When an open pull request cannot deploy yet, its card usually says why in one block at the top, straight under the title. You see the same block on the site's Patching tab and on the job page. It reads in this order:
- A short line in capitals that says what kind of wait it is, and a headline with the reason in one line, for example "GitHub is blocking the merge. Sentinel must read the branch rules again to say why".
- The reason in plain words. When no button can do it, the reason ends with the step to take, the same step Sentinel gives in emails and the command line.
- The action that fixes it, as a button, and at most one more. A button that opens GitHub or GitLab opens in a new tab. A button is shown only when it has somewhere safe to go, and the same page is never offered twice.
- Who can act: the role in Sentinel, or on your Git host, that can clear it.
- Next check: when Sentinel expects to look again, for example "As soon as GitHub reports a change." It is a guide, not a promise.
When the reason is about branch rules, a last line says when Sentinel last read them in full, for example Rules last read 2 hours ago, or Rules last read: not yet.
At the top right of the block, a greyed Deploy to production (or Merge into develop for your maintenance branch) shows where the button will be, with Appears when this is sorted under it. It is not a button. It is left out on a phone and on Workflows pull requests, which never get a Deploy button.
Some cards keep their own notice instead of the block: a site set to I merge and deploy myself, the Automated tests in CI notice, and this pull request's own deployment while it runs (the pill then reads Deploying, or Merging for a merge into your maintenance branch).
The four kinds of wait. The short line and the colour of the block say which one it is:
- Waiting for a person (amber): a person must approve, resolve a conversation or answer a requested change on GitHub or GitLab, merge a Workflows pull request Autopilot left for them, review changed required checks, or deploy a runtime update by hand.
- Can't deploy yet (red): something must change first, for example a failed check, a rule that blocks the merge, a branch that is behind or conflicts, or branch rules Sentinel could not read.
- Checking (blue): Sentinel or Autopilot is waiting for something, such as running checks, GitHub working out whether the pull request can merge, a branch rules read, another deployment, or the site confirming a Drupal update. Usually nobody needs to act, but read Who can act: an Autopilot run can still wait for a person's approval or for configuration drift to be fixed.
- Deploys paused by Sentinel (violet): production configuration differs from code, Sentinel cannot tell whether it does, or a check fails on the production branch itself. Where Deploy anyway is offered, it is the block's second button (see Deployments held for configuration drift).
Status chips. The block's status also shows as a coloured chip: beside Open in the card header, beside the job page title (the job's first held pull request), and in Past runs on the site's Patching tab, with a short reason under the pull request number. The chip and the short reason are the same for everyone; personal buttons, such as an override, appear only on the card. Examples: Blocked on GitHub, Sentinel not allowed to merge, Needs 1 approval, Check failed, Checks running, Behind main, Conflicts, Another deployment running, Reading branch rules, Branch not found, Deploys paused, Merge on GitHub, Autopilot is working on it, Deploys after the Drupal update.
The summary line. When one or more open updates of a site cannot deploy yet, the Runs section of the site's Patching tab starts with a line such as 2 updates can't deploy yet. #123 is first. Select See why to jump to that pull request's card. The count covers every open update of the site, including one held by the Automated tests in CI notice. It leaves out a pull request that is being deployed, and a site set to I merge and deploy myself. The line is hidden while nothing is held.
What each reason asks of you. The block names the action. The common ones:
- Blocked on GitHub, and Sentinel must read the branch rules again: Sentinel's copy of the rules is missing or incomplete, for example just after the site's production branch changed. Select Read the rules again.
- Sentinel not allowed to merge: a GitHub rule lets only listed people or apps merge into the branch. A repository administrator adds the Sentinel App to the ruleset's bypass list, to the apps allowed to push in a classic branch protection rule, or to both when both apply. The button opens the repository's rules page.
- Blocked on GitHub for a reason Sentinel cannot see: the rules were read and none explains the block. Select See the rule on GitHub.
- Blocked on GitLab: the block names the cause when Sentinel recognises it (the pipeline must pass, an external status check, a project setting). Otherwise open the merge request on GitLab to find it.
- Needs N approvals: select Review on GitHub (or GitLab). The second button is Copy link for a reviewer, Override with an administrator merge where an override is possible (see Overriding a missing approval under Deploying a pull request), or the step that would make an override possible, such as Read the rules again.
- Needs approval of app changes: a GitHub ruleset asks a person to approve changes made by apps. Select Approve on GitHub, or Open the ruleset to turn the rule off.
- Reading branch rules: Sentinel has not read the rules of your maintenance branch yet. It reads them by itself, or select Read the rules now (on GitLab, Assess again under CI tests).
- Can't read branch rules: the Git host did not let Sentinel read them. On GitHub the usual cause is the Sentinel App's permissions: Check the App's permissions opens the App's settings when Sentinel has the link. An owner of your GitHub organisation can change them.
- Branch not found: the maintenance branch is not on your Git host. Select Change the maintenance branch.
- Check failed, Checks running or Check missing: the block lists the checks Sentinel knows of. A failed check can be an optional one. Open the failed check, wait, or fix the branch rules or the workflow.
- Behind (branch) or Conflicts, against the branch the pull request goes into: select Rebase with Sentinel. It moves into the block and is not repeated at the foot of the card. When Sentinel cannot rebase it right now, the button is Update on GitHub (or GitLab).
- Changes requested or N open conversations: answer them on GitHub or GitLab.
- Required checks changed: the required checks, the repository or the production branch changed since the checks were acknowledged for Autopilot. An organisation administrator selects Review the required checks.
- Agreement needed: the website's Patching agreement must be accepted first. The block says so; there is no button for it on the card yet.
Workflows pull requests. A Workflows pull request has no Deploy button. A person merges it on GitHub, or, where Workflows Autopilot is on, Autopilot merges it after the other updates in its run and the site's usual deployment follows:
- Autopilot is working on it (blue): Follow its checks on GitHub opens its checks, and Next check says what Autopilot is waiting for, for example the run's other pull requests or its next deployment window. If a check fails on the production branch itself, the block turns violet and says Autopilot waits until it passes.
- Merge on GitHub (amber): Autopilot left it for a person. The block says why: its changes were read from an older commit, it changes more than fixed versions, it moves to a new major version, failing tests do not block pull requests in your repository, or the Sentinel App may not change workflows. When Autopilot could not prove the change safe to merge, the block gives Sentinel's reason. A person with write access checks it and merges it on GitHub; Sentinel does not deploy it.
Runtime updates that deploy after a Drupal update. The block follows the Drupal update from the same run:
- Deploys after the Drupal update (amber): deploy the Drupal update first. See the Drupal update jumps to its card, or opens it on GitHub or GitLab once it is merged.
- Waiting for the site (blue): the Drupal update is being deployed, or is deployed and not yet confirmed. It clears when a site report confirms it.
- Drupal update closed (red): the Drupal update was closed without merging. Run Patching again.
- Deploy by hand (amber): the Drupal update went into another branch, such as
develop, so Sentinel cannot see it reach production. Deploy this one yourself once the branch is live, or run Patching again. - Drupal update not confirmed (amber): the site did not confirm the Drupal update in time. Check that it reached production, then merge and deploy this runtime update yourself, or run Patching again.
- Drupal update not verified (amber): the Drupal deployment did not complete. Deploy the Drupal update through your hosting yourself and check it reached production, then merge and deploy this runtime update yourself, or run Patching again.
A Stack security pull request whose branch was changed outside Sentinel shows Branch changed with a button that opens it on GitHub or GitLab: merge it there yourself, or close it and run Patching again.
Read the rules again. Organisation administrators and site managers can select Read the rules again (or Read the rules now) when the block offers it. Sentinel tries to read the production branch rules on GitHub straight away, and those of the branch for maintenance updates when it is set. The block then says what happened, for example "Sentinel read the branch rules of main on GitHub. Nothing changed since the last read.", or why the rules could not be read and what to do, and judges the pull request again. Approvals and checks still come from the Git host's next update, so a reason can stay for a little while after a successful read.
On each site the button works once a minute, whoever selects it, and an attempt that fails still uses that minute. Select it sooner and the block says "The rules were read less than a minute ago. You can read them again in" a number of seconds, and the button waits until then. Each attempt is recorded in the Patching activity log with the person and the result.
You usually do not need the button. About a minute after someone saves a new production branch or branch for maintenance updates, Sentinel tries to read the rules by itself. It tries again later for sites whose rules are still missing, and while a GitHub pull request stays blocked. Those reads appear in the activity log as Sentinel's own. GitLab has no rules for Sentinel to read: each merge request is judged on what GitLab reports for it.
Who sees what. Every member who can see the site's Patching tab sees the block, the chips and the summary line. Viewers see the reason, Who can act, Next check and the buttons that open GitHub or GitLab, but not the buttons that make Sentinel act: Read the rules again, Rebase with Sentinel, Override with an administrator merge, Deploy anyway and Review the required checks. Site managers see all of them except Review the required checks, Change the maintenance branch and Map hosting, which need an organisation administrator.
