Skip to content

Fix empty review handling during PR creation#77

Merged
dbpolito merged 1 commit intomainfrom
fix/pr-sync-create-review-input
Apr 2, 2026
Merged

Fix empty review handling during PR creation#77
dbpolito merged 1 commit intomainfrom
fix/pr-sync-create-review-input

Conversation

@dbpolito
Copy link
Copy Markdown
Contributor

@dbpolito dbpolito commented Apr 2, 2026

Ticket

SKIPPED

Description

Prevent PR creation flows from being treated like review submissions when the caller passes an empty review object, so PR automation stays aligned with the intended create-only contract.

Checklist

PR Creation

  • Ensure PR creation ignores empty review payloads instead of requiring an existing PR
  • Confirm callers can still create PRs with explicit branch metadata and assignees

Command Contract

  • Check that the pr/create workflow now tells callers to omit review-only fields during PR creation
  • Verify the OpenCode schema descriptions match the create-only guidance for review and commitId

Command Config

  • Confirm pr/fix stays non-subtask in both CI and non-CI command config coverage

Validation

  • Verify pr_sync creation coverage includes the empty-review case

- treat empty review input as absent so pr_sync can create PRs
- clarify create-only guidance to skip review-specific fields
- cover the create path and pr/fix subtask behavior in tests
@dbpolito dbpolito self-assigned this Apr 2, 2026
@dbpolito dbpolito merged commit a6203a3 into main Apr 2, 2026
1 check passed
@dbpolito dbpolito deleted the fix/pr-sync-create-review-input branch April 2, 2026 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant