Skip to content

fix(reviewer): tolerate missing/None guidelines list - #2018

Open
Bartok9 wants to merge 1 commit into
assafelovic:mainfrom
Bartok9:fix/reviewer-guidelines-none
Open

fix(reviewer): tolerate missing/None guidelines list#2018
Bartok9 wants to merge 1 commit into
assafelovic:mainfrom
Bartok9:fix/reviewer-guidelines-none

Conversation

@Bartok9

@Bartok9 Bartok9 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

Summary

ReviewerAgent.review_draft crashed when task["guidelines"] was None/missing (TypeError on join). Coerce to a list and stringify entries.

Test plan

  • pytest tests/test_reviewer_guidelines_guard.py -v (2 passed)

task.get("guidelines") can be None; joining it raised TypeError and aborted
the multi-agent review path. Coerce to an empty sequence first.
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