| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
A maintainer with PRIVATE org membership is reported as `author_association: CONTRIBUTOR` in the pull_request_review_comment webhook payload (even though REST shows MEMBER). The followup gate only accepted OWNER/MEMBER/COLLABORATOR, so such a maintainer's review comments SILENTLY failed the gate — the job skipped with no error and the bot never engaged. Observed on #868: a review comment (MEMBER per REST) triggered a followup run that skipped, because the payload association was CONTRIBUTOR (membership private). Add CONTRIBUTOR. Low risk: this path already requires a non-fork, OPEN, `engineer-bot`-labeled PR (a maintainer-applied opt-in). Mirrors the engine fix (databricks/databricks-bot-engine#120). Signed-off-by: eric-wang-1990 <e.wang@databricks.com> Co-authored-by: Isaac
There was a problem hiding this comment.
Verdict: 1 Low
Looks good — a minimal, well-justified gate change that adds CONTRIBUTOR to the accepted author_association set to unblock private-org maintainers whose webhook payload reports CONTRIBUTOR. The array stays valid JSON and the explanatory comment is updated symmetrically. One low-severity note about the (documented, label-mitigated) broadening of the trusted commenter set.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Problem
A maintainer with private org membership is reported as author_association: CONTRIBUTOR in the pull_request_review_comment webhook payload — even though the REST API shows MEMBER. The engineer-followup gate only accepted OWNER/MEMBER/COLLABORATOR, so such a maintainer's review comments silently fail the gate: the job skips with no error, and the bot never engages.
Observed live on #868 — a review comment (MEMBER per REST) triggered followup run 29550013874, which skipped. Confirmed the commenter is a private org member (404 on the org public-members check), so the webhook payload carried CONTRIBUTOR. This is why the bot never followed up on the review comment there.
Fix
Add CONTRIBUTOR to the accepted association set. Low risk: this path already requires a non-fork, OPEN, engineer-bot-labeled PR (a maintainer-applied opt-in) — the label is the real trust gate; author_association is defense-in-depth.
Mirrors the engine fix (databricks/databricks-bot-engine#120), which also updates the canonical dogfood workflow + consumer example stub so future onboardings inherit the corrected gate.
This pull request and its description were written by Isaac.