Skip to content

Missing Source Branch Name in pullRequestDescriptionGeneration #8662

@shaypet

Description

@shaypet

Missing Source Branch Name in pullRequestDescriptionGeneration

Description

When using the pullRequestDescriptionGeneration feature, the generated content does not seem to have access to the source (merge) branch name.

Reproduction

Tried multiple prompts to explicitly extract the branch name. For example:
generate pull request description with the following content: write the current branch name (the branch going to be merged to base)

Expected Behavior

The generated description should include the actual source branch name (the branch being merged into the base branch).

Actual Behavior

  • Returns a generic or suggested branch name
  • Or ignores the request entirely

Notes

  • Prompt is intentionally simple and explicit
  • Behavior suggests the source branch name is not available in the generation context

Suggested Improvement

Expose the source (merge) branch name in the pullRequestDescriptionGeneration context so it can be reliably used in prompts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions