Skip to content

feat: trigger electron/agent-workflows chromium-upgrade on Chromium roll#190

Merged
MarshallOfSound merged 1 commit into
mainfrom
trigger-agent-workflows-chromium
Apr 29, 2026
Merged

feat: trigger electron/agent-workflows chromium-upgrade on Chromium roll#190
MarshallOfSound merged 1 commit into
mainfrom
trigger-agent-workflows-chromium

Conversation

@MarshallOfSound
Copy link
Copy Markdown
Member

What

After a Chromium roll PR is created or updated against electron/electron main, roller dispatches the chromium-upgrade.yml workflow in electron/agent-workflows via octokit.actions.createWorkflowDispatch (ref main, no inputs).

Why

That workflow runs the Claude chromium-upgrade agent against the roller/chromium/main branch — the agent reads the roll state directly from the branch, so no PR number / version needs to be passed through. The workflow's concurrency group (claude-chromium-upgrade, cancel-in-progress: true) means re-dispatching on every roll update is safe: newer runs cancel older ones.

Gating

  • Chromium target only — Node rolls do not dispatch.
  • Main branch only — release-branch chromium rolls do not dispatch.
  • Skipped when the roll was a no-op (existing PR loop ran but no pulls.update actually fired, e.g. all PRs were trop-bot / paused / DEPS-unchanged).
  • Dispatch failures are caught and debug-logged so a 403/404 from the Actions API never breaks the roll itself.

Note for deployment

The roller GitHub App installation needs actions:write on electron/agent-workflows for createWorkflowDispatch to succeed.


Generated by Claude Code

After a successful Chromium roll PR is opened or updated against
electron/electron main, dispatch the chromium-upgrade workflow in
electron/agent-workflows so the agent can pick up the new roll state.
The workflow's concurrency group cancels older runs, so re-dispatching
on every roll update is safe.
@MarshallOfSound MarshallOfSound requested review from a team as code owners April 28, 2026 23:34
Copy link
Copy Markdown
Member

@VerteDinde VerteDinde left a comment

Choose a reason for hiding this comment

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

Very excited to try this! 🎉

@MarshallOfSound MarshallOfSound merged commit 2e76422 into main Apr 29, 2026
4 checks passed
@MarshallOfSound MarshallOfSound deleted the trigger-agent-workflows-chromium branch April 29, 2026 07:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants