Skip to content

Conversation

@tomasz-stefaniak
Copy link
Contributor

@tomasz-stefaniak tomasz-stefaniak commented Oct 10, 2025

Description

Background / Async / Remote mode: Kickoff in /agents when you are in the extension

AI Code Review

  • Team members only: AI review runs automatically when PR is opened or marked ready for review
  • Team members can also trigger a review by commenting @continue-review

Checklist

  • [] I've read the contributing guide
  • [] The relevant docs, if any, have been updated or created
  • [] The relevant tests, if any, have been updated or created

Screen recording or screenshot

[ When applicable, please include a short screen recording or screenshot - this makes it much easier for us as contributors to review and understand your changes. See this PR as a good example. ]

Tests

[ What tests were added or updated to ensure the changes work as expected? ]


Summary by cubic

Adds Background Agents: a new mode to trigger long-running agents for your repo and a UI to list and open them. Addresses Linear CON-4203 by enabling agent creation tied to the current workspace and organization.

  • New Features
    • Added “background” to MessageModes and ModeSelect with a new icon.
    • Create background agents from editor content; auto-detect repo URL and branch; supports optional organizationId.
    • List background agents in the GUI with status badges, 10s polling, and links to agent detail pages.
    • VS Code messenger implements create/list handlers, repo detection, and GitHub integration prompts on errors.
    • ControlPlaneClient exposes createBackgroundAgent and listBackgroundAgents (with org filtering) and new webview protocol messages.

@tomasz-stefaniak tomasz-stefaniak marked this pull request as ready for review October 14, 2025 00:21
@tomasz-stefaniak tomasz-stefaniak requested a review from a team as a code owner October 14, 2025 00:21
@tomasz-stefaniak tomasz-stefaniak requested review from sestinj and removed request for a team October 14, 2025 00:21
@github-actions
Copy link

⚠️ PR Title Format

Your PR title doesn't follow the conventional commit format, but this won't block your PR from being merged. We recommend using this format for better project organization.

Expected Format:

<type>[optional scope]: <description>

Examples:

  • feat: add changelog generation support
  • fix: resolve login redirect issue
  • docs: update README with new instructions
  • chore: update dependencies

Valid Types:

feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert

This helps with:

  • 📝 Automatic changelog generation
  • 🚀 Automated semantic versioning
  • 📊 Better project history tracking

This is a non-blocking warning - your PR can still be merged without fixing this.

@dosubot dosubot bot added the size:XL This PR changes 500-999 lines, ignoring generated files. label Oct 14, 2025
@github-actions
Copy link

github-actions bot commented Oct 14, 2025

✅ Review Complete

Code Review Summary

⚠️ Continue configuration error. Please verify that the assistant exists in Continue Hub.


Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

2 issues found across 11 files

Prompt for AI agents (all 2 issues)

Understand the root cause of the following 2 issues and fix them.


<file name="gui/src/components/BackgroundMode/AgentsList.tsx">

<violation number="1" location="gui/src/components/BackgroundMode/AgentsList.tsx:40">
`setIsLoading(true)` runs before every polling request, so the list flips back to the loading spinner every 10s even when data is already shown. Please avoid resetting the loading state during background polls (e.g., only set it during the initial load or when data is actually empty).</violation>
</file>

<file name="gui/src/components/BackgroundMode/BackgroundModeView.tsx">

<violation number="1" location="gui/src/components/BackgroundMode/BackgroundModeView.tsx:19">
onCreateAgent is destructured here but never referenced, so passing the callback into BackgroundModeView has no effect. Remove the prop or wire it up where tasks are created.</violation>
</file>

React with 👍 or 👎 to teach cubic. Mention @cubic-dev-ai to give feedback, ask questions, or re-run the review.

@tomasz-stefaniak tomasz-stefaniak changed the title Tomasz/con 4203 Background / Async / Remote mode: Kickoff in /agents when you are in the extension Oct 14, 2025
Copy link
Collaborator

@RomneyDa RomneyDa left a comment

Choose a reason for hiding this comment

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

noting that this doesn't specify configYaml or agentFile so will always use the default agent

@tomasz-stefaniak
Copy link
Contributor Author

Thanks @RomneyDa! It's fixed now

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Issues and PRs Oct 16, 2025
@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Oct 16, 2025
Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 7 files

@tomasz-stefaniak tomasz-stefaniak merged commit 7b9cb65 into main Oct 16, 2025
69 of 71 checks passed
@tomasz-stefaniak tomasz-stefaniak deleted the tomasz/con-4203 branch October 16, 2025 23:22
@github-project-automation github-project-automation bot moved this from In Progress to Done in Issues and PRs Oct 16, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2025
@sestinj
Copy link
Contributor

sestinj commented Oct 17, 2025

🎉 This PR is included in version 1.26.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 17, 2025

🎉 This PR is included in version 1.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 21, 2025

🎉 This PR is included in version 1.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@sestinj
Copy link
Contributor

sestinj commented Oct 22, 2025

🎉 This PR is included in version 1.30.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

lgtm This PR has been approved by a maintainer released size:XL This PR changes 500-999 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants