Skip to content

Release Agent: Missing release branch push before PR creation #585

@ashleyshaw

Description

@ashleyshaw

Issue

Release agent creates release/vX.Y.Z branch locally but never pushes it to origin before attempting PR creation. GitHub can't see an unpushed branch, so gh pr create fails or uses wrong ref.

Impact

  • PR creation fails silently (error caught at line 614, continues anyway)
  • Release tag is created but no PR exists to merge to main
  • Manual PR creation required, breaking orchestration

Root Cause

release.agent.js line 691–695 creates branch but missing:

git add VERSION CHANGELOG.md
git commit -m "chore(release): bump to ${nextVersion}"
git push -u origin ${releaseBranch}

Expected Behavior

  1. Create release branch from develop
  2. Update VERSION and CHANGELOG.md
  3. Commit changes
  4. Push branch to origin
  5. Create PR from pushed branch to main

References

  • Related audit: .github/reports/audits/RELEASE_PROCESS_AUDIT_v0_5_0.md (Issue 1.1)
  • Agent spec: agents/release.agent.md (line 129–133)
  • Implementation: scripts/agents/release.agent.js (line 691–695)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions