Repository navigation
feat(pr): build and check the title and body of a pull request - #3213
Merged
Merged
Conversation
Add roadmap/pull_form.py with the rules of the title and the body, devops pr describe to build both from the issue and the change folder, and a check in devops pr create that refuses a pull request that breaks the form before it opens. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
The check kept a body that named `Closes #<issue>` in a code span out. Only the comment of the template marks template text now; a name left in the Closes or Change line is refused by the form of those lines. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01PeiMDoPafqUWqpk1WxhaYW
dan-petty
marked this pull request as ready for review
November 2, 2026 15:48
dan-petty
pushed a commit
that referenced
this pull request
Nov 2, 2026
🤖 I have created a release *beep* *boop* --- ## [0.46.0](v0.45.0...v0.46.0) (2026-11-02) ### Features * **pr:** build and check the title and body of a pull request ([#3213](#3213)) ([9bd6448](9bd6448)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: dan-petty-release[bot] <346998822+dan-petty-release[bot]@users.noreply.github.com>
This was referenced Nov 11, 2026
dan-petty
added a commit
that referenced
this pull request
Nov 14, 2026
`devops pr create` refuses a title that breaks the form with `title_problems`, and agent title failures fell from 41 to 2 after that check (#3213). `devops pr edit --title` has no check, so an edit can set a title that the `PR Title` check refuses (#4782). Closes #4782 Change: `openspec/changes/archive/2026-11-14-4782-pr-edit-title/`
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
The title and the body of a pull request were free text, and
devops pr createchecked neither. A summary over 60 characters, attribution lines beforeCloses, and the bodyxall reached GitHub, and a cut text ended with....One module,
roadmap/pull_form.py, holds the rules: a Conventional Commit title with a declared scope and a summary of at most 60 characters, and a body that ends withCloses #<issue>and theChange:line, in at most 1,000 characters. It cuts no text and names every problem.devops pr describebuilds the title and the body from the issue and the change folder.devops pr createruns the same check before any request, exits 1 on a problem, and still opens a draft.Workflow follow-up: the stage and implement jobs still cut text.
Closes #3198
Change:
openspec/changes/archive/2026-11-02-3198-pull-request-form-check/Generated by Claude Code