Skip to content

fix(olean_diff): report error when PR head oleans are missing#30

Open
bryangingechen wants to merge 1 commit intomasterfrom
fix-olean-diff-head-check
Open

fix(olean_diff): report error when PR head oleans are missing#30
bryangingechen wants to merge 1 commit intomasterfrom
fix-olean-diff-head-check

Conversation

@bryangingechen
Copy link
Copy Markdown
Contributor

Previously the script only validated that the base (merge-base) directory had oleans, but not the head (PR) directory. If the head had no oleans, classify_modules returned an empty head set and every base module appeared as "removed", producing a confusing report.

Add a symmetric has_oleans check for the head directory and emit the same style of error comment the base check already uses.

Prepared with Claude code.

Previously the script only validated that the base (merge-base) directory
had oleans, but not the head (PR) directory. If the head had no oleans,
classify_modules returned an empty head set and every base module appeared
as "removed", producing a confusing report.

Add a symmetric has_oleans check for the head directory and emit the same
style of error comment the base check already uses.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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