Skip to content

feat: add action support#69

Merged
sirily11 merged 1 commit into
mainfrom
action
May 29, 2026
Merged

feat: add action support#69
sirily11 merged 1 commit into
mainfrom
action

Conversation

@sirily11
Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings May 29, 2026 17:31
@vercel
Copy link
Copy Markdown

vercel Bot commented May 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
rxcode Ready Ready Preview, Comment May 29, 2026 6:22pm

Request Review

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds GitHub Actions CI status monitoring to the desktop app, including polling autopilot for current-branch CI state, surfacing status in the menubar/briefing UI, notifying on failures, and optionally starting an auto-fix thread.

Changes:

  • Added CI status DTOs, autopilot batch POST support, and AppState polling/failure handling.
  • Added CI presentation in briefing cards, menubar label/popover, notifications, and settings.
  • Included small unrelated updates to the run-profile package-manager picker and Xcode project setting ordering.

Reviewed changes

Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
RxCode/App/AppState+CIStatus.swift Adds CI polling, status mapping, failure dedupe, notification, and auto-fix behavior.
RxCode/App/AppState+Lifecycle.swift Starts the CI status poller during app initialization.
RxCode/App/AppState.swift Adds CI-related persisted settings and in-memory state.
RxCode/App/RxCodeApp.swift Adds menubar CI failure indicator and CI status section.
RxCode/Services/AutopilotService.swift Adds batch CI status POST API support.
RxCode/Services/NotificationService.swift Adds CI failure notification and mobile fan-out.
RxCode/Views/CIStatusPresentation.swift Adds shared CI state color/icon/label mapping.
RxCode/Views/SettingsView.swift Adds GitHub Actions auto-fix setting UI.
RxCode/Views/Sidebar/BriefingView.swift Adds CI status chip to briefing cards.
RxCode/Views/RunProfile/RunProfileDetailForm.swift Disables not-installed package-manager picker options.
Packages/Sources/RxCodeCore/Models/AutopilotModels.swift Adds CI status request/response models.
RxCode/Resources/Localizable.xcstrings Adds string catalog entries for CI UI/notifications.
RxCode.xcodeproj/project.pbxproj Reorders provisioning profile build setting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +91 to +104
// Index results by owner/repo/branch (and a looser owner/repo fallback in
// case the server echoes a different/absent branch).
var byKey: [String: ProjectCIStatus] = [:]
var byRepo: [String: ProjectCIStatus] = [:]
for result in response.results {
byKey[Self.ciKey(owner: result.owner, repo: result.repo, branch: result.branch)] = result
byRepo[Self.ciRepoKey(owner: result.owner, repo: result.repo)] = result
}

var next: [UUID: ProjectCIStatus] = [:]
for pair in pairs {
let key = Self.ciKey(owner: pair.query.owner, repo: pair.query.repo, branch: pair.query.branch)
let repoKey = Self.ciRepoKey(owner: pair.query.owner, repo: pair.query.repo)
guard let status = byKey[key] ?? byRepo[repoKey] else { continue }
content.title = String(format: titleFormat, projectSuffix)
content.body = body
content.sound = .default
if let projectId { content.userInfo = ["projectId": projectId.uuidString] }
toggleSection(
title: "GitHub Actions",
label: "Auto-fix CI failures",
detail: "When CI fails on a project's current branch, automatically start a thread so an agent can fix it. CI failures are always notified; this only controls the automatic fix.",
@sirily11 sirily11 enabled auto-merge (squash) May 29, 2026 18:22
@sirily11 sirily11 merged commit 3a869cb into main May 29, 2026
13 checks passed
@sirily11 sirily11 deleted the action branch May 29, 2026 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants