Skip to content

ci: start an advisory agent when cargo-deny fails on master - #2707

Merged
mergify[bot] merged 1 commit into
masterfrom
ci/advisory-agent
Oct 31, 2026
Merged

mergify[bot] merged 1 commit into
masterfrom
ci/advisory-agent

Conversation

@tignear

@tignear tignear commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

When the scheduled cargo-deny run fails its advisories job on master, the
workflow extracts the RustSec diagnostics from the job log and starts a Claude
Managed Agents session. The agent upgrades the affected dependencies, or
proposes an ignore with a reason in a separate pull request when no fix
exists. Advisories already named in an open pull request title are skipped,
so a pending fix does not start a new session every day.

The job authenticates to Anthropic through Workload Identity Federation; its
federation rule accepts only this workflow file on master, run by
workflow_run. The session uses the AGENT_GITHUB_TOKEN secret as its
repository credential.

Change-Id: I21c07f840023efa8a0f34d58306344b2b0ae410e

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 31, 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-31T11:18:43.872713Z a9fe8cb 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.

@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 31, 2026

@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: f0535ffc11

ℹ️ 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".

Comment thread .github/workflows/advisory-agent.yml Resolved
Comment thread .github/workflows/advisory-agent.yml Resolved
@tignear tignear removed the merge-ready Request merging through Mergify after required checks label Oct 31, 2026
When the scheduled cargo-deny run fails its advisories job on master, the
workflow extracts the RustSec diagnostics from the job log and starts a Claude
Managed Agents session. The agent upgrades the affected dependencies, or
proposes an ignore with a reason in a separate pull request when no fix
exists. Advisories already named in an open pull request title are skipped,
so a pending fix does not start a new session every day.

The job authenticates to Anthropic through Workload Identity Federation; its
federation rule accepts only this workflow file on master, run by
workflow_run. The session uses the AGENT_GITHUB_TOKEN secret as its
repository credential.

Change-Id: I21c07f840023efa8a0f34d58306344b2b0ae410e
@tignear tignear added the merge-ready Request merging through Mergify after required checks label Oct 31, 2026
@mergify mergify Bot added the queued Mergify queue entry label Oct 31, 2026
@mergify

mergify Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

✅ Merged into master as 07c11b7 at 11:33 UTC

Merged together with #2471. 13 min in the queue, 8 min of it CI.

So far

10 merge conditions met
  • check-success = Conventional Commit title
  • check-success = Queue validation
  • check-success = Verify workflow lockfile
  • any of:
    • depends-on = celox-sim/celox#2464
    • number != 2471
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Lint & Format
    • check-neutral = @github-actions/Lint & Format
    • check-skipped = @github-actions/Lint & Format
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Rust Test & NAPI Build
    • check-neutral = @github-actions/Rust Test & NAPI Build
    • check-skipped = @github-actions/Rust Test & NAPI Build
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/JS Test (Ubuntu)
    • check-neutral = @github-actions/JS Test (Ubuntu)
    • check-skipped = @github-actions/JS Test (Ubuntu)
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Conventional Commit title
    • check-neutral = @github-actions/Conventional Commit title
    • check-skipped = @github-actions/Conventional Commit title
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Queue validation
    • check-neutral = @github-actions/Queue validation
    • check-skipped = @github-actions/Queue validation
  • any of · required by GitHub repository ruleset rule master:
    • check-success = @github-actions/Verify workflow lockfile
    • check-neutral = @github-actions/Verify workflow lockfile
    • check-skipped = @github-actions/Verify workflow lockfile

Times in UTC · dashboard · how the merge queue works

@mergify
mergify Bot merged commit 07c11b7 into master Oct 31, 2026
26 checks passed
@mergify
mergify Bot deleted the ci/advisory-agent branch October 31, 2026 11:33
@mergify mergify Bot removed the queued Mergify queue entry label Oct 31, 2026
@github-actions github-actions Bot mentioned this pull request Oct 31, 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