Skip to content

ci: start the fixer agent from PR mentions - #2430

Merged
mergify[bot] merged 1 commit into
masterfrom
feature/celox-agent
Oct 28, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
feature/celox-agent

Conversation

@tignear

@tignear tignear commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

A maintainer comment containing @celox-agent on a pull request that targets
develop starts a Claude Managed Agents session for that PR only. The workflow
reacts with eyes, creates the session through the Anthropic API, and replies
with the session ID and Console link, or with the HTTP status and error message
on failure.

The job authenticates to Anthropic through Workload Identity Federation with
the GitHub Actions OIDC token, so no Anthropic API key is stored. The
federation rule accepts only this workflow file on master, run by
issue_comment. The AGENT_GITHUB_TOKEN secret holds the PAT mounted as the
session's repository credential.

Change-Id: I9e01e16c8f0e947da0687fca6b56b63ccbd8bd4a

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-28T11:29:00.461719Z ae54dfb New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: d080c97fa0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

start-session:
if: >-
github.event.issue.pull_request &&
contains(fromJSON('["OWNER","MEMBER","COLLABORATOR"]'), github.event.comment.author_association) &&

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Check repository write permission before starting a session

If an organization member or invited collaborator has only read/triage access to this repository, this condition still lets them launch the fixer with the repository-write credential and consume the Anthropic budget. GitHub's author_association definitions describe organization membership or collaboration, not repository write permission, so this does not enforce the stated maintainer-only boundary. Check the comment author's current repository permission and require write, maintain, or admin access before creating the session.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Fixed in ae54dfb: the step now reads the author's current repository role (collaborators/{login}/permission → role_name) and ignores the mention unless it is admin, maintain, or write. The author_association filter stays as a cheap prefilter.

@tignear
tignear force-pushed the feature/celox-agent branch from d080c97 to 2c3f185 Compare October 28, 2026 11:25
A maintainer comment containing @celox-agent on a pull request that targets
develop starts a Claude Managed Agents session for that PR only. The workflow
reacts with eyes, creates the session through the Anthropic API, and replies
with the session ID and Console link, or with the HTTP status and error message
on failure.

The job authenticates to Anthropic through Workload Identity Federation with
the GitHub Actions OIDC token, so no Anthropic API key is stored. The
federation rule accepts only this workflow file on master, run by
issue_comment. The AGENT_GITHUB_TOKEN secret holds the PAT mounted as the
session's repository credential.

Change-Id: I9e01e16c8f0e947da0687fca6b56b63ccbd8bd4a
@tignear
tignear force-pushed the feature/celox-agent branch from 2c3f185 to ae54dfb Compare October 28, 2026 11:27
@mergify

mergify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Queued — the merge queue status continues in this comment ↓.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 28, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 28, 2026
@mergify

mergify Bot commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as fefb2b2 at 12:03 UTC

25 min in the queue, 24 min of it CI.

So far

Merge conditions: 7 of 7 met

The batch, tested on draft #2433

Condition Required by
✅ check-success = Conventional Commit title —
✅ check-success = Queue validation —
✅ any of: check-success = @github-actions/Lint & Format, check-neutral = @github-actions/Lint & Format, check-skipped = @github-actions/Lint & Format GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Rust Test & NAPI Build, check-neutral = @github-actions/Rust Test & NAPI Build, check-skipped = @github-actions/Rust Test & NAPI Build GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/JS Test (Ubuntu), check-neutral = @github-actions/JS Test (Ubuntu), check-skipped = @github-actions/JS Test (Ubuntu) GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Conventional Commit title, check-neutral = @github-actions/Conventional Commit title, check-skipped = @github-actions/Conventional Commit title GitHub repository ruleset rule master
✅ any of: check-success = @github-actions/Queue validation, check-neutral = @github-actions/Queue validation, check-skipped = @github-actions/Queue validation GitHub repository ruleset rule master

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit fefb2b2 into master Oct 28, 2026
23 checks passed
@mergify
mergify Bot deleted the feature/celox-agent branch October 28, 2026 12:03
@mergify mergify Bot removed the queued Mergify queue entry label Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-ready Request merging through Mergify after required checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant