Skip to content

Add Coder Workflow#66

Merged
neekolas merged 2 commits intomainfrom
03-24-add_coder_workflow
Mar 24, 2026
Merged

Add Coder Workflow#66
neekolas merged 2 commits intomainfrom
03-24-add_coder_workflow

Conversation

@neekolas
Copy link
Copy Markdown
Collaborator

@neekolas neekolas commented Mar 24, 2026

Add Coder Agent Workflow

This pull request introduces a GitHub Actions workflow that integrates with the XMTP Coder Agent system. The workflow handles various GitHub events and forwards them to the coder service:

  • Task Creation: Creates coder tasks when issues are assigned to xmtp-coder-agent
  • Task Closure: Closes coder tasks when issues are closed
  • Comment Forwarding: Forwards both PR and issue comments to active coder tasks (excluding comments from the coder agent itself)
  • Failed Check Notifications: Notifies the coder system when Lint or Tests workflows fail

The workflow requires CODER_URL and CODER_TOKEN secrets to be configured and uses the xmtplabs/coder-action@main action for all integrations.

Note

Add Coder Agent GitHub Actions workflow

Adds coder.yml, a new workflow that integrates GitHub events with a Coder agent via xmtplabs/coder-action@main.

  • Creates a Coder task when an issue is assigned to xmtp-coder-agent, and closes it when the issue is closed
  • Forwards new PR comments (when the issue author is xmtp-coder-agent) and issue comments (when the commenter is not xmtp-coder-agent) to the corresponding Coder task
  • Triggers a failed_check action when the Lint or Tests workflows complete with a failure conclusion

Macroscope summarized 6a1772b.

Summary by CodeRabbit

  • Chores
    • Added automated workflow for managing project tasks. Tasks are now automatically created or closed based on issue assignments and completions, updated when pull requests receive comments, and synchronized with CI/CD pipeline results. This automation reduces manual task management overhead and improves project tracking visibility.

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 24, 2026

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 9faa04f9-c35a-40ef-97c4-4c77e6ff027d

📥 Commits

Reviewing files that changed from the base of the PR and between ddc8661 and 6a1772b.

📒 Files selected for processing (1)
  • .github/workflows/coder.yml

Walkthrough

A new GitHub Actions workflow coder.yml has been added that automates task management through a Coder Agent. The workflow listens to issue/PR events and lint/test completions, conditionally triggering five distinct jobs that invoke the xmtplabs/coder-action with appropriate action types and credentials.

Changes

Cohort / File(s) Summary
GitHub Actions Workflow
.github/workflows/coder.yml
New workflow named "Coder Agent" with 5 jobs (create-task, close-task, pr-comment, issue-comment, failed-check). Each job conditionally triggers on specific events (issue assignment/closure, PR/issue comments, workflow completions) and calls xmtplabs/coder-action@main with action-specific inputs and forwarded credentials. Job permissions limited to reading actions/contents and writing issues.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 Five jobs hop in harmony,
When issues dance and workflows run free,
The Coder Agent bounds through the night,
Creating tasks and closing them right! ✨

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch 03-24-add_coder_workflow

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@neekolas neekolas marked this pull request as ready for review March 24, 2026 08:28
@neekolas neekolas requested a review from a team as a code owner March 24, 2026 08:28
@neekolas neekolas merged commit 808663b into main Mar 24, 2026
8 checks passed
@neekolas neekolas deleted the 03-24-add_coder_workflow branch March 24, 2026 08:28
@macroscopeapp
Copy link
Copy Markdown

macroscopeapp bot commented Mar 24, 2026

Approvability

Verdict: Approved

This PR adds a new GitHub Actions workflow for Coder Agent integration, which is a CI/CD configuration change with no impact on application runtime behavior. The author is an admin who owns the workflow file being added.

You can customize Macroscope's approvability policy. Learn more.

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.

1 participant