You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Workflows using on.pull_request_reviewer will fail validation
Full Code Diff Analysis
Detailed Commit Analysis
PR #33770: Remove synthetic pull_request_reviewer event support
Merged: 2026-05-21T14:59:47Z
Breaking Pattern: Schema field removal (Category 5)
What was removed:
pull_request_reviewer from JSON schema (pkg/parser/schemas/main_workflow_schema.json)
All compiler logic: PullRequestReviewer from WorkflowData, validation functions, event processing
Four workflows were migrated to use pull_request: [ready_for_review] + slash_command: review
Documentation and tests were cleaned up
The changeset file .changeset/patch-add-pull-request-reviewer-trigger.md was deleted
Why this is breaking:
According to scratchpad/breaking-cli-rules.md Category 5:
Schema Changes - Breaking:
Removing fields from workflow frontmatter schema
Making optional fields required
Changing the type of a field
Removing allowed values from enums
The pull_request_reviewer field was removed from the schema entirely. Any user workflows that use on.pull_request_reviewer: will now:
Trigger unknown-event warnings during compilation
Fail validation if strict mode is enabled
Need manual migration to the new pull_request: [ready_for_review] + slash_command: review pattern
PR description excerpt:
Removes the experimental on.pull_request_reviewer synthetic trigger entirely — no legacy compatibility. Workflows using it are migrated to pull_request: [ready_for_review] + slash_command: review.
Breaking Change Patterns Detected
Schema field removal - pull_request_reviewer completely removed from main_workflow_schema.json
No backward compatibility - PR explicitly states "no legacy compatibility"
Missing major changeset - The PR deleted the changeset file instead of creating a major version changeset
Experimental feature removal - While marked experimental, it was in the schema and users may have adopted it
All Commits Analyzed
Commits from last 24 hours (2026-05-20 16:00 to 2026-05-21 16:00):
Summary
Critical Breaking Changes
pull_request_reviewereventon.pull_request_reviewerwill fail validationFull Code Diff Analysis
Detailed Commit Analysis
PR #33770: Remove synthetic
pull_request_reviewerevent supportWhat was removed:
pull_request_reviewerfrom JSON schema (pkg/parser/schemas/main_workflow_schema.json)PullRequestReviewerfromWorkflowData, validation functions, event processingpull_request: [ready_for_review]+slash_command: review.changeset/patch-add-pull-request-reviewer-trigger.mdwas deletedWhy this is breaking:
According to
scratchpad/breaking-cli-rules.mdCategory 5:The
pull_request_reviewerfield was removed from the schema entirely. Any user workflows that useon.pull_request_reviewer:will now:pull_request: [ready_for_review]+slash_command: reviewpatternPR description excerpt:
Breaking Change Patterns Detected
pull_request_reviewercompletely removed frommain_workflow_schema.jsonAll Commits Analyzed
Commits from last 24 hours (2026-05-20 16:00 to 2026-05-21 16:00):
Recently merged PRs with CLI/Schema impact:
pull_request_reviewerevent support #33770 - Remove syntheticpull_request_reviewerevent supportparseIntreceivingstring | undefinedin effective_tokens.cjs #33756 - Fix TypeScript error in effective_tokens.cjs - NOT BREAKING (bug fix)required_field_removalstotoolsMetaJSDoc type #33707 - Fix JSDoc type - NOT BREAKING (type definition fix)Action Checklist
Complete the following items to address these breaking changes:
pull_request_reviewerevent support #33770 removal is correctly categorized as breaking.changeset/directory - Createmajor-remove-pull-request-reviewer.mdwith the changeset formatRecommendations
Immediate Actions:
Migration Instructions:
Replace
on.pull_request_reviewer:withon.pull_request: [ready_for_review]plusslash_command: review:Version Bump Guidance:
majorchangeset typeWhy This Matters:
Even though this was marked "experimental", it was:
Removing schema fields without a major version bump violates semantic versioning principles.
Reference
See scratchpad/breaking-cli-rules.md for the complete breaking change policy.
Relevant Workflow Run: §26237492527
Once all checklist items are complete, close this issue.