Repository navigation
fix(run): add PR creation after successful QA in sequant run - #323
Merged
admarble merged 3 commits intoFeb 21, 2026
Merged
Conversation
Add createPR() function to run.ts that pushes the branch and creates a PR via gh CLI after successful QA + rebase. Handles existing PRs, push failures, and race conditions gracefully (warnings, not failures). - Add prUrl/prNumber to IssueResult and IssueLogSchema - Wire createPR into post-QA flow in runIssueWithLogging - Add --no-pr CLI flag to skip PR creation - Update run summary to display PR numbers - Add Bash(git push:*) to exec skill allowed-tools - Add LogWriter.setPRInfo() for structured log recording - Add 5 unit tests for createPR covering all paths Fixes #322
7 tasks
Commander.js converts --no-X to { X: false }, not { noX: true }.
This meant --no-pr, --no-rebase, --no-mcp, --no-retry, --no-log,
and --no-smart-tests were all silently ignored. Add normalization
step to map Commander's output to the RunOptions field names.
createPR() hardcoded feat() prefix. Now checks issue labels and uses fix() when a bug label is present.
admarble
deleted the
feature/322-bug-run-sequant-run-no-longer-creates-prs-afte
branch
February 21, 2026 17:27
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.
Summary
createPR()function torun.tsthat creates GitHub PRs after successful QA + rebase--no-prflag to skip PR creation for manual workflowsBash(git push:*)to exec skill's allowed-toolsAC Coverage
createPR()functionrunIssueWithLogging()--no-prCLI flagBash(git push:*)in exec skillcreatePR()Test plan
createPR()(existing PR, fresh create, push fail, create fail, race condition)Closes #322