Allow add-wizard to write workflows without creating a PR - #53643
Conversation
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
PR TriageCategory: feature | Risk: medium | Priority: low (score 30)
Recommended action: defer until ready for review (undraft)
|
|
@pelikhan Can we allow for the behavior to still add the files but not commit/push to PR? This would also be more consistent with some of the other CLI behaviors we already have. |
|
LGTM |
There was a problem hiding this comment.
Pull request overview
Adds a local-write path to gh aw add-wizard when users decline PR creation.
Changes:
- Adds PR-versus-local confirmation.
- Defers PR-only follow-up operations.
- Adds local-write coverage and updates prompt text.
Show a summary per file
| File | Description |
|---|---|
pkg/cli/add_wizard_tuistory_integration_test.go |
Updates expected prompt text. |
pkg/cli/add_wizard_command.go |
Documents local workflow writing. |
pkg/cli/add_interactive_orchestrator.go |
Branches orchestration between local and PR paths. |
pkg/cli/add_interactive_orchestrator_test.go |
Tests local writing in a dirty worktree. |
pkg/cli/add_interactive_git.go |
Makes PR creation optional and relocates cleanliness validation. |
pkg/cli/add_interactive_engine.go |
Updates renamed-function reference. |
Review details
💡 Add a code-review agent skill for context-aware, tailored reviews. Learn more in the docs.
- Files reviewed: 6/6 changed files
- Comments generated: 4
- Review effort level: Balanced
|
@copilot Please address the remaining merge blockers on this PR, then run the pr-finisher skill and report back with validation results and any remaining blockers. |
…dering Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
Co-authored-by: mnkiefer <8320933+mnkiefer@users.noreply.github.com>
|
🎉 This pull request is included in a new release. Release: |
gh aw add-wizardpreviously treated declining PR creation as cancellation, so no workflow files were written locally. Users can now install workflow bundles locally without opening a pull request.Local write path
PR path
Follow-up behavior
Example prompt behavior: