-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
area/ciCI/CD workflowsCI/CD workflows
Milestone
Description
Summary
The Claude ADR Enforcer GitHub workflow creates a new comment for every PR synchronize event instead of updating the existing comment in-place. This leads to comment spam on PRs with multiple commits.
Current Behavior
Each time a PR is updated (synchronize event), the workflow posts a new comment with ADR review results.
Expected Behavior
- Summary comments: Should find and update an existing bot comment (identified by a marker like
<!-- adr-enforcer -->) rather than creating a new one - Inline review comments: Need to investigate whether these can be updated or if a new review submission is required by the GitHub API
Investigation Needed
- Check GitHub API for updating PR review comments vs creating new reviews
- Determine if inline comments can be updated or must be resubmitted
- Look at how other bots (codecov, dependabot) handle this pattern
Acceptance Criteria
- Summary comment is updated in-place on subsequent runs
- No duplicate comments from the enforcer on a single PR
- Inline review behavior is documented (update vs new review)
Metadata
Metadata
Assignees
Labels
area/ciCI/CD workflowsCI/CD workflows