Skip to content

fullsend: review on-demand only - #3184

Merged
mfocko merged 2 commits into
packit:mainfrom
TomasTomecek:fullsend-on-demand-review
Sep 16, 2026
Merged

mfocko merged 2 commits into
packit:mainfrom
TomasTomecek:fullsend-on-demand-review

Conversation

@TomasTomecek

Copy link
Copy Markdown
Member

TODO:

  • Let's see if fullsend likes this change :)

RELEASE NOTES BEGIN

Internal change

RELEASE NOTES END

@TomasTomecek
TomasTomecek requested a review from a team as a code owner September 3, 2026 16:28
@TomasTomecek
TomasTomecek requested review from mfocko and removed request for a team September 3, 2026 16:28
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 3, 2026

Copy link
Copy Markdown

🤖 Finished Review · ❌ Failure (creating sandbox: sandbox creation failed after 3 attempts: sandbox create failed: exit status 2 (output: error: unexpected argument '--detach' found tip: to pass '--detach' as a value, use '-- --deta…) · Started 4:29 PM UTC · Completed 4:30 PM UTC

Commit: 40e3cde · View workflow run →

Effort: high

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@fullsend-ai-review

fullsend-ai-review Bot commented Sep 3, 2026

Copy link
Copy Markdown

🤖 Finished Review · ❌ Failure (creating sandbox: sandbox creation failed after 3 attempts: sandbox create failed: exit status 2 (output: error: unexpected argument '--detach' found tip: to pass '--detach' as a value, use '-- --deta…) · Started 4:36 PM UTC · Completed 4:36 PM UTC

Commit: b6ba43a · View workflow run →

Effort: high

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

Comment thread .github/workflows/fullsend.yaml Outdated
|| github.event.comment.user.type != 'Bot'
(github.event_name != 'issue_comment'
|| (github.event.comment.user.type != 'Bot'
&& github.event.comment.body != '/fs-review'))

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that I think about it, do we want to somehow restrict who can trigger a review from fullsend (similarly how it's done for stop-fix bellow)? I'm thinking how likely it is that someone would use their non-bot account to spam '/fs-review' across PRs in all our repos where fullsend is enabled (could cost us a lot).

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you for reminding me this Bety, it was definitely something I wanted to look into

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good news! fullsend 0.40 already has this built in (thanks to Codex for checking it):

Fullsend v0.40 already restricts slash commands based on GitHub repository permissions, so we do not need an additional GitHub Actions check to prevent outside contributors from invoking agents.

Command Required repository role
/fs-review, /fs-triage triage or higher
/fs-code, /fs-fix, /fs-retro, /fs-prioritize write, maintain, or admin

Bot comments are rejected. The ready-for-review label trigger is safe as well: applying a PR label requires write access, and our workflow additionally ignores bot-applied labels.

One terminology caveat: Fullsend does not use GitHub’s CONTRIBUTOR association. That only indicates someone has contributed before; it is not an authorization role. Fullsend uses repository collaborator permissions instead, which is the appropriate boundary here.

@TomasTomecek
TomasTomecek force-pushed the fullsend-on-demand-review branch from b6ba43a to 65352ba Compare September 9, 2026 07:29
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 9, 2026

Copy link
Copy Markdown

🤖 Finished Review · ❌ Failure (creating sandbox: sandbox creation failed after 3 attempts: sandbox create failed: exit status 2 (output: error: unexpected argument '--detach' found tip: to pass '--detach' as a value, use '-- --deta…) · Started 7:31 AM UTC · Completed 7:31 AM UTC

Commit: 65352ba · View workflow run →

Effort: high

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@betulependule betulependule left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks 🙏

@TomasTomecek
TomasTomecek force-pushed the fullsend-on-demand-review branch from 65352ba to 54eafa7 Compare September 9, 2026 14:57
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 9, 2026

Copy link
Copy Markdown

🤖 Finished Review · ❌ Failure (creating sandbox: sandbox creation failed after 3 attempts: sandbox create failed: exit status 2 (output: error: unexpected argument '--detach' found tip: to pass '--detach' as a value, use '-- --deta…) · Started 2:58 PM UTC · Completed 2:58 PM UTC

Commit: 54eafa7 · View workflow run →

Effort: high

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@TomasTomecek TomasTomecek added the mergeit Merge via Zuul label Sep 9, 2026
@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

Pull request merge failed: Resource not accessible by integration, You may need to manually rebase your PR and retry.

Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
Assisted-by: Codex
Signed-off-by: Tomas Tomecek <ttomecek@redhat.com>
@TomasTomecek
TomasTomecek force-pushed the fullsend-on-demand-review branch from 54eafa7 to 2be6ec3 Compare September 16, 2026 09:14
@fullsend-ai-review

fullsend-ai-review Bot commented Sep 16, 2026

Copy link
Copy Markdown

🤖 Finished Review · ❌ Failure (creating sandbox: sandbox creation failed after 3 attempts: sandbox create failed: exit status 2 (output: error: unexpected argument '--detach' found tip: to pass '--detach' as a value, use '-- --deta…) · Started 9:15 AM UTC · Completed 9:15 AM UTC

Commit: 2be6ec3 · View workflow run →

Effort: high

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

@centosinfra-prod-github-app

Copy link
Copy Markdown
Contributor

Pull request merge failed: Resource not accessible by integration, You may need to manually rebase your PR and retry.

@mfocko mfocko left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks a lot.

You’re updating the workflows, need to merge manually.

@mfocko
mfocko merged commit 4839cdd into packit:main Sep 16, 2026
23 of 26 checks passed
@github-project-automation github-project-automation Bot moved this from New to Done in Packit pull requests Sep 16, 2026
@TomasTomecek
TomasTomecek deleted the fullsend-on-demand-review branch September 16, 2026 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mergeit Merge via Zuul

Projects

Development

Successfully merging this pull request may close these issues.

4 participants