Skip to content

Bug: PR creation produced literal \n in body (template not applied) #1311

@atxtechbro

Description

@atxtechbro

Summary

PR #1310 initially showed literal \n characters in the body, indicating the PR body was passed incorrectly (string with escapes) rather than true newlines, and not reliably following .github/PULL_REQUEST_TEMPLATE.md.

Expected

  • PR body renders with proper markdown newlines
  • PR content follows .github/PULL_REQUEST_TEMPLATE.md sections

Actual

  • Literal \n characters appeared in the PR body
  • Template sections were not consistently applied

Suspected Cause

  • gh pr create invocation passing body as a single quoted string; needs --body-file or API usage that supplies real newlines

Acceptance Criteria

  • Update PR creation path(s) to avoid escaped newlines
  • Ensure .github/PULL_REQUEST_TEMPLATE.md is used or mirrored when auto-creating PRs
  • Add quick smoke test/recipe for local validation

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions