Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
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.", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.