Skip to content

fix(pr-review): tolerate prior_questions dispositions for closed questions - #61

Open
Troublor wants to merge 1 commit into
mainfrom
william/fix/pr-review-closed-prior-questions
Open

Troublor wants to merge 1 commit into
mainfrom
william/fix/pr-review-closed-prior-questions

Conversation

@Troublor

Copy link
Copy Markdown
Contributor

Summary

  • Validate prior_questions IDs against manifest membership (manifest["questions"]) rather than status == "open", matching the prior_findings tolerance added in 702019d.
  • Ignore prior_questions and prior_findings dispositions for items whose manifest status is not "open", so an echoed disposition for an already-closed question or finding is a no-op rather than aborting compile with PRIOR_QUESTION_INVALID or reopening a closed item.
  • Clarify in both the primary and retry prompts in action.yml that only items with manifest status: "open" should be dispositioned.

Test plan

  • PYTHONDONTWRITEBYTECODE=1 python3 -m unittest discover -s .github/actions/claude-pr-review -p 'test_*.py' -v
  • python3 .github/scripts/action_docs.py --check

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