Skip to content

Include target branch in backport PR titles - #24868

Merged
Kyle-Neale merged 2 commits into
masterfrom
kyle.neale/backport-pr-title-branch
Aug 14, 2026
Merged

Include target branch in backport PR titles#24868
Kyle-Neale merged 2 commits into
masterfrom
kyle.neale/backport-pr-title-branch

Conversation

@Kyle-Neale

Copy link
Copy Markdown
Contributor

What does this PR do?

Backport PRs opened by ddev release port-commit now title as [Backport <branch>] <subject> instead of [Backport] <subject>.

Motivation

Follow-up to #24470. With one merged PR fanning out to multiple release branches, [Backport] alone made the PRs indistinguishable in the PR list and notifications; the target branch is now visible without opening each one.

Review checklist (to be filled by reviewers)

  • Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
  • Add qa/required if this PR needs QA validation, or qa/skip-qa if it does not. Exactly one of the two is required.
  • If you need to backport this PR to another branch, you can add the backport/<branch-name> label to the PR and it will automatically open a backport PR once this one is merged

Backport PR titles now read `[Backport <branch>] <subject>` so the target
release branch is visible in the PR list and notifications, not just in the
base-ref column.
@dd-octo-sts dd-octo-sts Bot added the ddev label Aug 14, 2026
@datadog-prod-us1-4

datadog-prod-us1-4 Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Tests  Code Coverage

🎉 All green!

🧪 All tests passed
❄️ No new flaky tests detected

🎯 Code Coverage (details)
Patch Coverage: 100.00%
Overall Coverage: 88.60%

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 3d8c9a8 | Docs | Datadog PR Page | Give us feedback!

@cit-pr-commenter-54b7da

cit-pr-commenter-54b7da Bot commented Aug 14, 2026

Copy link
Copy Markdown

evalya-impact-summary

evalya impact analysis
Impact analysis: RUN-ALL — every test task will run
Trigger:         empty diff (default branch, scheduled run, or shallow-clone fallback)
Test tasks:      0 (all selected)
Publish tasks:   1 (always emitted)
Diff:            empty (no diff information)

Learn more about CI impact filtering

@Kyle-Neale Kyle-Neale added the qa/skip-qa Automatically skip this PR for the next QA label Aug 14, 2026
@Kyle-Neale
Kyle-Neale marked this pull request as ready for review August 14, 2026 16:09
@Kyle-Neale
Kyle-Neale requested a review from a team as a code owner August 14, 2026 16:09
@dd-octo-sts

dd-octo-sts Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Validation Report

All 21 validations passed.

Show details
Validation Description Status
agent-reqs Verify check versions match the Agent requirements file
ci Validate CI configuration and code coverage settings
codeowners Validate every integration has a CODEOWNERS entry
config Validate default configuration files against spec.yaml
dep Verify dependency pins are consistent and Agent-compatible
http Validate integrations use the HTTP wrapper correctly
imports Validate check imports do not use deprecated modules
integration-style Validate check code style conventions
jmx-metrics Validate JMX metrics definition files and config
labeler Validate PR labeler config matches integration directories
legacy-signature Validate no integration uses the legacy Agent check signature
license-headers Validate Python files have proper license headers
licenses Validate third-party license attribution list
metadata Validate metadata.csv metric definitions
models Validate configuration data models match spec.yaml
openmetrics Validate OpenMetrics integrations disable the metric limit
package Validate Python package metadata and naming
qa-label Validate the pull request declares whether it needs QA for the next Agent release
readmes Validate README files have required sections
saved-views Validate saved view JSON file structure and fields
version Validate version consistency between package and changelog

View full run

@Kyle-Neale
Kyle-Neale added this pull request to the merge queue Aug 14, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 3d8c9a898d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

new_branch=new_branch,
worktree_path=_worktree_path_for(app, new_branch),
pr_title=f'[Backport] {clean_subject}',
pr_title=f'[Backport {target_branch}] {clean_subject}',

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Update the CLI help to match the generated title

When users run ddev release port-commit --help, the command still promises a PR titled [Backport] <subject> in port_commit.py:59, while this now generates [Backport <target-branch>] <subject>. Update that docstring so the documented user-visible behavior matches the PR that is actually created.

Useful? React with 👍 / 👎.

Merged via the queue into master with commit 56099fa Aug 14, 2026
394 of 398 checks passed
@Kyle-Neale
Kyle-Neale deleted the kyle.neale/backport-pr-title-branch branch August 14, 2026 16:12
@dd-octo-sts dd-octo-sts Bot added this to the 7.83.0 milestone Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ddev qa/skip-qa Automatically skip this PR for the next QA team/agent-integrations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants