Repository navigation
Computer: first session from the web, Slack optional in onboarding - #1064
Open
opencomputer-app[bot] wants to merge 2 commits into
Open
opencomputer-app[bot] wants to merge 2 commits into
opencomputer-app[bot] wants to merge 2 commits into
Conversation
…l in onboarding The first web session of an organization with no computer now creates it (sessions API: no more 409 computer_not_set_up; past the credit check it answers 503 computer_unavailable and wakes, which creates). The web client retries through the boot. /computer onboarding: agent, GitHub (skippable), then give it its first task right here or connect it to Slack. Set up without Slack, the work page keeps a quiet 'Coding is more fun with your team' nudge.
|
View docs preview Docs hosted with Margin |
This branch has not been deployed
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.
Sessions can start from the web now, so installing Slack is no longer needed before a first task.
Backend (
services/managed-agents)POST /sessionswith no computer used to return 409computer_not_set_up. Now, once the credit check passes, it returns 503computer_unavailableand creates the computer, so the first web session is what brings the computer up. An org that can't pay never boots a VM, and a page visit still never creates one.ensureComputerOnInstallreturns null when a computer already exists).Web
createSessionretries throughcomputer_unavailable(up to 5 min) and reports "Starting your computer" on/computer/sessionsand in onboarding./computersetup steps: choose agent, then Connect GitHub (with Skip for now, remembered in localStorage, and a Connect button on the skipped row), then Add OpenComputer to Slack ("Coding is more fun with your team") as the main action. The web composer stays hidden behind "Prefer to start on the web? Give it a first task here"; when used, it starts the session and opens it. With Slack already installed, this step shows the existing mention/DM options.Tests: managed-agents sessions API 52/52; web
src/managed-agents326/327. The one failure,Home.archive.test.tsx, also fails onmain.Requested by @mohamed Habib in Slack