Add docs section to PR template for docs bot to consume - #4324
Review submitted — approved
Review summary
Change reviewed
PR buildkite/agent#4324 updates .github/pull_request_template.md for SUP-7756. It adds a Documentation and publication section that asks PR authors:
- whether a change needs public documentation (
Yes,No, orUnsure), - whether those docs may be published when the change merges, including hold and limited-availability choices, and
- for free-form publication notes when timing or availability needs clarification.
The intent is to give the docs writer bot an explicit readiness signal so it does not publish documentation for unreleased changes.
What I examined
- Read the complete one-file diff and the full resulting PR template, not only the added lines.
- Confirmed through GitHub's compare API that the PR is one commit ahead of
main, with only the 23-line template addition. - Read the linked Linear issue and checked that the added questions address its request for a ready-to-publish signal.
- Compared the wording with the equivalent, already-merged change in
buildkite/buildkite#33508. The agent template uses the same question and answer text while keeping the heading level consistent with this repository's template. - Examined the companion PR's review history. Its earlier ambiguity around user-facing changes that require no new docs was corrected by the current independent
Yes/No/Unsurequestion and theNot applicable (docs not needed)publication option; this PR already contains that corrected form. - Verified the local checkout matched the current PR head (
5c84e4b50e0018a80c0bdf822626d4c1700f7a60) immediately before submission. - Ran
git diff --check; it reported no whitespace errors. - Checked the complete PR conversation, reviews, and inline threads. There were no earlier reviews or comments to reconcile and no duplicate findings.
The docs-bot consumer is external to this repository, so this PR only supplies structured information in future PR bodies; it does not itself enforce mutually exclusive answers or implement publication gating. The companion rollout notes indicate the consumer update is coordinated separately, and leaving the questions unused temporarily does not change existing behavior.
Findings and verdict
I found no correctness, clarity, or integration issue that warranted an inline comment. The choices represent both “no docs needed” and “docs needed but not yet publishable,” which are the important cases for avoiding false-positive or premature docs drafts. I submitted an APPROVE review with no inline comments.
Checks
No Go tests or formatting tools were run because the change only edits Markdown in the GitHub PR template and has no executable code path. At review time, GitHub reported:
- Socket Security checks passing,
- the
buildkite/agentbuild still pending at build 14254, and - the category-label check failing because the PR did not yet have a required category label.
The available Buildkite CLI credentials could not retrieve the Buildkite job details, so CI results beyond the GitHub check statuses were not independently verified before approval.
Trigger source: automatic.