> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bbrands.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Frequently asked questions

> Solutions to the most common problems when working with PRs: drafts moved by the bot, gates that do not pass, failed queues and more.

> [accordion] My PR went back to draft and has do-not-merge
>
> **Initiative declared** failed. Open the check's details: usually the initiative, a task, the PR
> number in `prs` or `docs:check` is missing. Fix it, run `pnpm initiatives:pr-check` and push.
> When the check passes, the bot removes the label and marks the PR ready again.

> [accordion] The Review gate has been waiting for a long time
>
> Wait for the AI reviews of the latest commit to finish (up to about 50 minutes on `develop`).
> If every push restarts the wait, group the fixes into a single push. If the review ran out of
> budget, ask an admin or maintainer for `ai-review-budget-override`.

> [accordion] CI OK is green, but my PR is a draft
>
> This is expected: on drafts CI runs no jobs, and GitHub shows a skipped job as passed. The merge
> queue runs CI again before merging, and Danibot never approves a draft.

> [accordion] The merge queue failed
>
> The queue tests your change against the latest `develop`. Read the error, fix it on your branch
> with a push and queue it again. Do not rebase by hand unless there is a conflict.

> [accordion] Should I update my branch when develop moves forward?
>
> No, unless there is a conflict. The merge queue already validates the result against the latest
> `develop`. Every "Update branch" is a full CI run.

> [accordion] My Level 3 sub-PR has no CI
>
> This is intentional: PRs targeting an integration branch do not trigger CI. Quality is covered
> by the pre-push hook, the local tests and the human review. The final PR to `develop` runs
> everything.

> [accordion] Which initiative do I declare for a fix?
>
> The one for the area you are fixing. Look for it in `docs/initiatives/` or with
> `pnpm initiatives:backlog`. If the task does not exist, add it to `tracker.yml` in the same PR.
> `Initiative: none` is only valid for `build`, `chore`, `ci` or `revert`.

> [accordion] My PR is over 1,500 lines and cannot be split
>
> Add `large-change` and an entry in the initiative's decision log that explains why and names the
> label. Before that, ask yourself whether it is really a Level 3.

> [accordion] How do I skip the E2E tests?
>
> Add `[skip e2e]` at the end of the title if the change does not touch the UI. The merge queue
> never honors it, and a candidate that skips E2E cannot be promoted to `master`.

> [accordion] A job failed for a reason unrelated to my change
>
> Re-run **only the failed jobs** from the workflow page. If it happens again, let the platform
> team know before retrying again.

> [accordion] A required check is missing, or a re-run ends with no jobs
>
> During a GitHub incident a run can fail without creating its jobs: `Review gate` ends with no
> job and "workflow file issue", `CI` ends red with every lane green and no `CI OK`, or
> `Initiative Check` shows `Merge gate` but not `Initiative declared`. The merge queue then answers
> "Required status check is expected". Danibot re-runs that run by itself, up to its third
> attempt. If it is still blocked, re-run the **whole** workflow (`gh run rerun <run-id>`):
> `--failed` refuses a run with no failed job. If the re-run ends with no jobs again, fire a new
> event instead: edit the PR body (Review gate and Initiative Check listen to it) or push a commit
> (CI does not listen to body edits). Check [githubstatus.com](https://www.githubstatus.com) before
> retrying again.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.